/* ===== 自托管字体子集：思源宋体900 / 思源黑体400·500·700（仅含本站字形） ===== */
@font-face{font-family:'JRSerif';src:url("/assets/fonts/JRSerif-900.woff2") format('woff2');font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:'JRSans';src:url("/assets/fonts/JRSans-400.woff2") format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'JRSans';src:url("/assets/fonts/JRSans-500.woff2") format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'JRSans';src:url("/assets/fonts/JRSans-700.woff2") format('woff2');font-weight:700;font-style:normal;font-display:swap}
/* ==========================================================
   JR杰瑞 品牌官网 · 设计系统
   深色科技风 / 品牌感 / 响应式
   ========================================================== */

:root {
  /* 色彩 —— 暖纸本（纸底 + 墨 + 三矿物色） */
  --bg: #F7F3EA;
  --bg-soft: #F1ECE1;
  --panel: #FFFDF8;
  --panel-2: #F7F3EA;
  --line: rgba(28, 26, 23, 0.13);
  --line-soft: rgba(28, 26, 23, 0.07);

  --text: #1C1A17;
  --text-dim: #2B2723;
  --muted: #7A736A;

  --accent: #B4532A;
  --accent-2: #2F5D50;
  --accent-3: #D99A2B;
  --accent-warm: #D99A2B;
  --accent-t: #9E6A15;

  /* 字体 */
  --font: "JRSans", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "JRSerif", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --mono: "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;

  /* 栅格 */
  --container: 1200px;
  --gap: 24px;
  --radius: 14px;
  --radius-sm: 8px;

  /* 阴影 */
  --shadow: 0 18px 48px rgba(28, 26, 23, 0.10);
  --shadow-soft: 0 8px 24px rgba(28, 26, 23, 0.07);

  --nav-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

.section-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px;  font-family: var(--serif); font-weight: 900; letter-spacing: .015em; }
.section-desc { color: var(--muted); font-size: 16.5px; max-width: 720px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }

.grid { display: grid; gap: var(--gap); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(8, 11, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
.logo__mark { display: block; width: 30px; height: 30px; }
.logo__mark svg, .logo__mark > svg { display: block; width: 100%; height: 100%; }
.logo__sub { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.16em; }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__link {
  padding: 8px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
  color: var(--text-dim); transition: 0.18s;
}
.nav__link:hover { color: var(--text); background: rgba(28, 26, 23, 0.05); }
.nav__link.is-active { color: var(--accent); }

.nav__cta {
  padding: 9px 18px; border-radius: 9px; font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: #FFFDF8; transition: 0.18s;
  box-shadow: 0 6px 18px rgba(180, 83, 42, 0.24);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(180, 83, 42, 0.34); }

.nav__toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  color: var(--text); border-radius: 8px; padding: 8px; font-size: 0; line-height: 0; cursor: pointer;
  display: none; align-items: center; justify-content: center; }
.nav__toggle svg { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.hero__glow--1 { width: 560px; height: 560px; top: -180px; left: -80px; background: rgba(180, 83, 42, 0.12); }
.hero__glow--2 { width: 480px; height: 480px; top: -60px; right: -120px; background: rgba(217, 154, 43, 0.10); }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(28,26,23,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,26,23,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}
.hero__inner::before { content:""; position:absolute; inset:-30px -120px -30px -40px; z-index:-1; pointer-events:none;
  background: radial-gradient(ellipse 70% 100% at 20% 50%, rgba(247,243,234,.95) 0%, rgba(247,243,234,.84) 38%, rgba(247,243,234,.48) 64%, rgba(247,243,234,.14) 82%, rgba(247,243,234,0) 94%); }
.hero__inner { position: relative; z-index: 2;  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.hero__title { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 60px); font-weight: 900; letter-spacing: .01em; line-height: 1.32; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__title i { font-style: normal; display: block; }
.hero__desc { color: var(--text-dim); font-size: 18px; margin-top: 20px; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: 13px 26px; border-radius: 10px; font-size: 15px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: 0.18s; white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm)); color: #FFFDF8;
  box-shadow: 0 10px 28px rgba(180, 83, 42, 0.26);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(180, 83, 42, 0.36); }
.btn--ghost { background: rgba(28,26,23,.035); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: rgba(28,26,23,.08); border-color: rgba(28,26,23,.20); }

.hero__stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.stat__num { font-size: 30px; font-weight: 800; font-family: var(--mono); color: var(--accent); }
.stat__label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* 产品速览卡（Hero 右侧） */
.hero__panel {
  background: linear-gradient(160deg, rgba(28,26,23,.045), rgba(28,26,23,.015));
  border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow);
}
.mini-card {
  display: flex; align-items: center; gap: 14px;
  padding: 15px; border-radius: 12px; background: var(--panel);
  border: 1px solid var(--line-soft); margin-bottom: 12px;
  transition: 0.2s; cursor: pointer;
}
.mini-card:last-child { margin-bottom: 0; }
.mini-card:hover { border-color: rgba(180, 83, 42,.35); transform: translateX(3px); }
.mini-card__icon {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  font-size: 19px; flex-shrink: 0;
}
.mini-card__title { font-weight: 700; font-size: 15px; }
.mini-card__desc { font-size: 12.5px; color: var(--muted); }

/* ---------- 产品矩阵 ---------- */
.product-card {
  --card-pad: 30px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--card-pad); display: flex; flex-direction: column;
  transition: 0.24s; position: relative; overflow: hidden;
}
.product-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: 0.24s;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(180, 83, 42, 0.04), transparent 40%);
}
.product-card:hover { border-color: rgba(180, 83, 42,.32); transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card:hover::after { opacity: 1; }
.product-card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 18px;
}
.product-card__title { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.product-card__desc { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; flex: 1; }
.product-card__list { list-style: none; padding: 0; margin: 0 0 22px; }
.product-card__list li {
  font-size: 13.5px; color: var(--text-dim); padding-left: 20px; position: relative; margin-bottom: 7px;
}
.product-card__list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent-3); font-weight: 800;
}
.product-card__link { color: var(--accent); font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.product-card__link:hover { gap: 11px; }

/* ---------- 能力宫格 ---------- */
.cap {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px; transition: 0.22s;
}
.cap:hover { border-color: rgba(180, 83, 42,.28); background: var(--panel-2); }
.cap__num { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: 0.1em; }
.cap__title { font-size: 16.5px; font-weight: 700; margin: 8px 0 8px; }
.cap__desc { font-size: 14px; color: var(--muted); }

/* ---------- 工作流 / 案例 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.flow__step { position: relative; padding: 26px 20px; text-align: left; }
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 42px; width: 1px; height: calc(100% - 60px);
  background: linear-gradient(180deg, var(--accent), transparent);
}
.flow__idx {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(180, 83, 42,.12); border: 1px solid rgba(180, 83, 42,.28);
  color: var(--accent); font-weight: 800; font-family: var(--mono); font-size: 14px; margin-bottom: 14px;
}
.flow__title { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.flow__desc { font-size: 13.5px; color: var(--muted); }

.showcase {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin-top: 20px;
}
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.metric { text-align: center; padding: 18px 10px; background: var(--bg-soft); border-radius: 10px; border: 1px solid var(--line-soft); }
.metric__v { font-size: 26px; font-weight: 800; font-family: var(--mono); }
.metric__l { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---------- 价格 ---------- */
.price-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; transition: 0.24s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card--feature {
  border-color: rgba(180, 83, 42,.42);
  background: linear-gradient(170deg, rgba(180, 83, 42,.07), var(--panel) 46%);
  box-shadow: 0 14px 40px rgba(180, 83, 42,.1);
}
.price-card__badge {
  position: absolute; top: -11px; left: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm)); color: #FFFDF8;
  font-size: 11.5px; font-weight: 800; padding: 3px 11px; border-radius: 20px; letter-spacing: .04em;
}
.price-card { position: relative; }
.price-card__name { font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.price-card__price { font-size: 38px; font-weight: 900; font-family: var(--mono); margin: 12px 0 4px; }
.price-card__unit { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-card__note { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.price-card__list { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price-card__list li { font-size: 14px; color: var(--text-dim); padding-left: 22px; position: relative; margin-bottom: 10px; }
.price-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-3); font-weight: 800; }

/* ---------- 关于 ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__visual {
  border-radius: 18px; padding: 40px; min-height: 320px;
  background:
    radial-gradient(circle at 30% 25%, rgba(180, 83, 42, 0.09), transparent 52%),
    radial-gradient(circle at 75% 70%, rgba(217, 154, 43, 0.08), transparent 52%),
    var(--panel);
  border: 1px solid var(--line);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.about__emblem { font-size: 68px; font-weight: 900; letter-spacing: .04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__tagline { color: var(--muted); font-size: 14px; margin-top: 10px; letter-spacing: .1em; }
/* 关于我们：品牌 Logo（收紧 viewBox 后的实心版，不参与描边动画） */
.jr-mark { display: block; width: clamp(130px, 18vw, 176px); height: auto; margin: 0 auto;
  filter: drop-shadow(0 6px 22px rgba(180, 83, 42, .22)); }
.value-list { list-style: none; padding: 0; margin: 24px 0 0; }
.value-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.value-list__k { color: var(--accent); font-weight: 800; font-family: var(--mono); font-size: 13px; min-width: 42px; padding-top: 3px; }
.value-list__t { font-weight: 700; font-size: 15px; margin-bottom: 3px; }
.value-list__d { font-size: 14px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, rgba(180, 83, 42, 0.05), rgba(217, 154, 43, 0.05));
  border: 1px solid rgba(180, 83, 42,.22);
  border-radius: 20px; padding: 56px 40px; text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: var(--text-dim); margin-bottom: 28px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__title { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 16px; letter-spacing: .06em; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { font-size: 14px; color: var(--muted); transition: 0.16s; }
.footer__list a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}

/* ---------- 子页面 ---------- */
.sub-hero { padding: 76px 0 48px; position: relative; overflow: hidden; }
.sub-hero__bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 100% at 20% 0%, rgba(180, 83, 42, 0.06), transparent 60%); }
.sub-hero__inner { position: relative; max-width: 760px; }
.sub-hero__title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 14px; }
.sub-hero__desc { color: var(--text-dim); font-size: 17px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent); }

.embed-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.embed-box h3 { font-size: 17px; margin-bottom: 8px; }
.embed-box p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.code-block {
  background: #F1ECE1; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  overflow-x: auto; color: #2B2723; white-space: pre;
}
.embed-preview { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #F1ECE1; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .g-3, .g-4, .flow, .metric-row { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .flow__step:not(:last-child)::after { display: none; }
  /* 折行后 gap:0 会让步骤贴在一起，补间距与卡片底 */
  .flow { gap: 18px; }
  .flow__step {
    background: var(--panel); border: 1px solid var(--line-soft);
    border-radius: var(--radius); padding: 24px 20px;
  }
  /* 自定义画廊栅格补断点，否则平板仍是三列，与同页 .g-3 的两列节奏不一致 */
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav__links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: var(--bg-soft); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; gap: 2px; }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .g-3, .g-4, .g-2, .flow, .metric-row { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 56px; }
  .hero__stats { gap: 26px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 40px 22px; }
}

/* 滚动出现动画 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   视觉增强 · 图片版式 (2026-09-07)
   配图统一存放于 /assets/brand/
   ========================================================== */

/* --- Hero 全幅背景图 --- */
.hero__media {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("/assets/brand/hero-jr-h4.webp");
  background-size: cover; background-position: center 30%;
  opacity: 1;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(247,243,234,.62) 0%, rgba(247,243,234,.40) 30%, rgba(247,243,234,.14) 58%, rgba(247,243,234,.02) 100%),
    linear-gradient(180deg, rgba(247,243,234,0) 26%, var(--bg) 100%);
}

/* --- 产品卡：顶部图文 --- */
.product-card__media {
  position: relative; height: 170px;
  margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 22px;
  overflow: hidden; background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(247,243,234,.05) 0%, rgba(247,243,234,.35) 55%, rgba(241,236,225,.92) 100%);
}
.product-card__badge {
  position: absolute; left: 20px; bottom: 14px; z-index: 2;
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  /* 底色提到 .88：原 .6 会让封面图透出来，对比度随底图明暗浮动，小字可读性不稳 */
  color: #F7F3EA;
  background: rgba(28,26,23,.88); border: 1px solid rgba(180,83,42,.45);
  padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(6px);
  /* 加投影让标签从封面图上浮起，而不是糊在渐变里 */
  box-shadow: 0 2px 10px rgba(28,26,23,.35);
}

/* --- 案例画廊 --- */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--gap); margin-top: 36px;
}
.shot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  box-shadow: var(--shadow-soft);
}
.shot img {
  width: 100%; height: 240px; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.shot:hover img { transform: scale(1.06); }
.shot__cap {
  /* 缩窄蒙版：仅覆盖底部 ~30%，让图内文字可读 */
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 18px 14px;
  background:
    linear-gradient(180deg,
      rgba(8,11,18,0)    0%,
      rgba(8,11,18,0)   45%,
      rgba(8,11,18,.42) 78%,
      rgba(28,26,23,.68) 100%);
  pointer-events: none;
}
.shot__cap b { display: block; font-size: 14.5px; color: #F2EEE8; letter-spacing: 0.02em; }
.shot__cap span { font-size: 12px; color: rgba(242,238,232,.78); }

/* --- 关于我们：brandmark 居中（已用真 logo，去掉旧配图）--- */
.about__visual { background: transparent; }
.about__visual::before { display: none; }

/* --- 产品子页头图 --- */
.sub-hero__media { position: absolute; inset: 0; pointer-events: none; opacity: .34; }
.sub-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(247,243,234,.95) 0%, rgba(247,243,234,.72) 45%, rgba(247,243,234,.5) 100%),
    linear-gradient(180deg, rgba(247,243,234,.85) 0%, rgba(247,243,234,.35) 45%, var(--bg) 100%);
}
.sub-hero__bg { z-index: 1; }
.sub-hero__inner { z-index: 2; }

/* --- 响应式 --- */
@media (max-width: 768px) {
  .gallery { grid-template-columns: 1fr; }
  .shot img { height: 200px; }
  /* 卡片内边距统一走变量，媒体层负 margin 自动跟随，避免出现 6px 白边 */
  .product-card { --card-pad: 22px; }
  .product-card__media { height: 148px; margin-bottom: 18px; }
  .hero__media { opacity: .38; }
  /* 移动端横幅减淡，避免抢文字 */
  .banner { opacity: .18; }
}

/* ==========================================================
   区块横幅系统 (2026-09-07)
   结构：大图 → 主题色晕染 → 暗化蒙版 → 噪点纹理
   每层职责单一，保证「有质感」与「文字可读」同时成立
   ========================================================== */

/* 1. 容器：建立层叠上下文，横幅铺满整块，内容浮在上层 */
.section { isolation: isolate; }
.section > .container { position: relative; z-index: 1; }

.banner {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center;
  opacity: .30;
}

/* 2. 蒙版：上下融进页面底色（区块间无硬边），中部压暗保对比度
      最后一层 --tint 是各区块的主题色晕染，用来做视觉区分 */
.banner::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      var(--bg) 0%,
      rgba(247, 243, 234, .60) 16%,
      rgba(247, 243, 234, .70) 84%,
      var(--bg) 100%),
    radial-gradient(95% 75% at 50% 45%, transparent 0%, rgba(247, 243, 234, .58) 100%),
    var(--tint, radial-gradient(70% 60% at 25% 40%, rgba(180, 83, 42, 0.07), transparent 70%));
}

/* 3. 噪点：内联 SVG feTurbulence，160px 平铺，零额外请求 */
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='3'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='saturate'%20values='0'/%3E%3C/filter%3E%3Crect%20width='160'%20height='160'%20filter='url(%23n)'%20opacity='0.5'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: .34; mix-blend-mode: overlay;
}

/* 4. 各区块：独立底图 + 独立主题色晕染（避免风格雷同） */
.banner--products {
  background-image: url("/assets/brand/banner-products-v4.webp");
  --tint: radial-gradient(75% 65% at 20% 35%, rgba(180, 83, 42, 0.09), transparent 70%),
          radial-gradient(65% 60% at 82% 70%, rgba(217, 154, 43, 0.08), transparent 72%);
}
.banner--capability {
  background-image: url("/assets/brand/banner-capability-v4.webp");
  --tint: radial-gradient(70% 60% at 78% 30%, rgba(180, 83, 42, 0.10), transparent 70%);
}
.banner--workflow {
  background-image: url("/assets/brand/banner-workflow-v4.webp");
  --tint: linear-gradient(100deg, rgba(180, 83, 42, 0.08) 0%, transparent 45%, rgba(217, 154, 43, 0.08) 100%);
}
.banner--showcase {
  background-image: url("/assets/brand/banner-showcase-v4.webp");
  --tint: radial-gradient(70% 60% at 50% 30%, rgba(217, 154, 43, 0.09), transparent 72%);
}
.banner--pricing {
  background-image: url("/assets/brand/banner-pricing-v4.webp");
  --tint: radial-gradient(70% 60% at 30% 65%, rgba(47, 93, 80, .14), transparent 70%);
}
.banner--cta {
  background-image: url("/assets/brand/banner-cta-v4.webp");
  opacity: .34;
  --tint: radial-gradient(65% 70% at 50% 50%, rgba(180, 83, 42, 0.10), transparent 70%);
}
/* 杰瑞绘画：手绘艺术纹理 */
.banner--painting {
  background-image: url("/assets/brand/banner-painting-v4.webp");
  opacity: .36;
  --tint: radial-gradient(70% 65% at 25% 40%, rgba(180, 83, 42, 0.08), transparent 70%),
          radial-gradient(60% 55% at 78% 68%, rgba(217, 154, 43, 0.05), transparent 72%);
}
/* 短剧工坊：电影胶片 */
.banner--drama {
  background-image: url("/assets/brand/banner-drama-v4.webp");
  opacity: .32;
  --tint: radial-gradient(70% 60% at 72% 32%, rgba(217, 154, 43, 0.10), transparent 70%);
}
/* 橱窗衣橱：织物纹理 */
.banner--wardrobe {
  background-image: url("/assets/brand/banner-wardrobe-v4.webp");
  opacity: .32;
  --tint: radial-gradient(70% 60% at 28% 60%, rgba(47, 93, 80, .16), transparent 70%);
}

/* 子页内同一张横幅被多处复用时，第二处做水平镜像 + 位移，
   与首处拉开差异，缓解「同页重复感」（无需新增素材） */
.banner--mirror {
  transform: scaleX(-1);
  background-position: 30% 60%;
}

/* 5. 区块间细分隔线，替代原本的生硬色块切换 */
.section + .section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(28, 26, 23, .09) 50%, transparent);
}

/* 6. 有横幅的区块加大留白，让图像有呼吸空间 */
.section.has-banner { padding: 112px 0; }
/* 横幅蒙版上下融的是 --bg，soft 区块底色必须同步，否则顶底出现色阶断层 */
.section--soft.has-banner { background: var(--bg); }
/* CTA 区块保持紧凑，但比原来稍放宽以容纳横幅 */
.section--tight.has-banner { padding: 84px 0; }
@media (max-width: 768px) {
  .section.has-banner { padding: 68px 0; }
  .section--tight.has-banner { padding: 56px 0; }
}

/* --- hero 灰字小注 --- */
.hero__note { display: block; margin-top: 8px; color: #4A4540; font-size: 14px; letter-spacing: .03em; }


/* ==========================================================
   首页 hero 对齐 H3 样板（2026-09-08）
   陈总定案：H3 横向三段世界 = 官网首页 hero（h-pano / hero-jr-h3）
   去掉样板没有的四项：光晕 x2 / 网格 / 三个统计数字 / 右侧三张小卡
   ========================================================== */
.hero__glow, .hero__grid, .hero__stats, .hero__panel { display: none !important; }
.hero > .container.hero__inner { grid-template-columns: minmax(0, 760px); }
.hero { padding-top: clamp(90px, 10vw, 150px); padding-bottom: clamp(70px, 8vw, 110px); }
.hero .eyebrow { font-size: 11px; letter-spacing: .30em; }
.hero__desc { font-size: 13.5px; line-height: 2.0; margin-top: 20px; max-width: 35em; letter-spacing: .02em; }
.hero__note { font-size: 12.5px; letter-spacing: .03em; margin-top: 7px; }
@media (max-width: 900px) {
  .hero > .container.hero__inner { grid-template-columns: 1fr; }
}

/* ==========================================================
   顶部导航 改为暖纸底（2026-09-08 17:00 陈总反馈）
   原态：半透深色 + backdrop-filter（科技感、字糊）
   新态：暖纸底不透明、墨色文字、与首页 hero 衔接
   ========================================================== */
.nav {
  background: #F7F3EA;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(247,243,234,.0);
}
.nav__link { color: var(--text-dim); }
.nav__link:hover { color: var(--text); background: rgba(28,26,23,.04); }
.nav__cta { background: #B4532A; color: #FFFDF8; }
.nav__cta:hover { background: #9E6A15; }

/* ===== 滚动后的 nav 必须保持暖纸底（2026-09-08 18:10 修复） =====
   原因：motion.css 的 .nav.is-scrolled 特异性 (0,2,0) 高于 brand.css 的 .nav (0,1,0)，
   且 brand.css 在 motion.css 之前加载 → 必须同特异性 + !important 才能覆盖  */
.nav.is-scrolled,
.nav.is-scrolled.nav {
  background: #F7F3EA !important;
  box-shadow: 0 6px 22px rgba(28,26,23,.08) !important;
  border-bottom-color: rgba(28,26,23,.10) !important;
}
.nav.is-scrolled .nav__link { color: var(--text-dim) !important; }
.nav.is-scrolled .nav__link:hover { color: var(--text) !important; background: rgba(28,26,23,.04) !important; }
.nav.is-scrolled .nav__cta { background: #B4532A !important; color: #FFFDF8 !important; }
.nav.is-scrolled .logo__sub { color: var(--muted) !important; }

/* 产品卡图标：生图 + 品牌 logo 角标（2026-09-08 18:25） */
.product-card__icon img { display: block; width: 26px; height: 26px; }
/* ==========================================================
   画室页「主要模块」图文混排版块（2026-09-08 陈总要求补充）
   每个模块 = 说明文案 + 核心能力 + 案例配图
   ========================================================== */
.mod {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 36px;
  margin-bottom: 28px;
  background: #FFFDF8;
  border: 1px solid var(--line);
  border-radius: 18px 21px 17px 20px;
  transition: border-color .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s cubic-bezier(.2,.7,.3,1);
}
.mod:hover { border-color: rgba(180,83,42,.28); box-shadow: 0 14px 40px rgba(28,26,23,.06); }
.mod:last-child { margin-bottom: 0; }

/* 奇数行：图在右；偶数行：图在左（交替节奏） */
.mod:nth-child(even) .mod__body  { order: 2; }
.mod:nth-child(even) .mod__media { order: 1; }

.mod__tag {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  letter-spacing: .22em; color: #B4532A;
  padding: 3px 10px; margin-bottom: 12px;
  background: rgba(180,83,42,.08); border-radius: 4px;
}
.mod__title { font-size: 22px; font-weight: 900; margin: 0 0 10px; letter-spacing: .01em; }
.mod__lead {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin: 0 0 10px; line-height: 1.8;
}
.mod__desc {
  font-size: 14px; line-height: 2.0; color: var(--text-dim);
  margin: 0 0 16px; letter-spacing: .02em;
}

/* 核心能力：带赭石小点的列表 */
.mod__list { list-style: none; margin: 0 0 18px; padding: 0; }
.mod__list li {
  position: relative; padding-left: 18px; margin-bottom: 8px;
  font-size: 13.5px; line-height: 1.9; color: var(--text-dim);
}
.mod__list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: #B4532A; opacity: .75;
}
.mod__list li b { color: var(--text); font-weight: 700; }

/* 模型对比表 */
.mod__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mod__table th {
  text-align: left; font-size: 11px; letter-spacing: .14em; font-weight: 700;
  color: var(--muted); padding: 0 10px 8px 0; border-bottom: 1px solid var(--line);
}
.mod__table td {
  padding: 10px 10px 10px 0; border-bottom: 1px solid rgba(43,39,35,.07);
  color: var(--text-dim); line-height: 1.7; vertical-align: top;
}
.mod__table tr:last-child td { border-bottom: 0; }
.mod__table td:first-child { color: var(--text); font-weight: 700; white-space: nowrap; padding-right: 14px; }

/* 案例配图区 */
.mod__media { display: flex; flex-direction: column; gap: 14px; }
.mod__cap {
  font-size: 11.5px; letter-spacing: .12em; color: var(--muted);
  text-transform: uppercase; margin: 0;
}
.mod__shot {
  width: 100%; display: block; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel-2);
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.mod__shot:hover { transform: scale(1.015); }

.mod__grid { display: grid; gap: 12px; }
.mod__grid--2 { grid-template-columns: repeat(2, 1fr); }
.mod__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mod__grid--4 { grid-template-columns: repeat(4, 1fr); }
.mod__grid--6 { grid-template-columns: repeat(6, 1fr); }

.mod__cell { margin: 0; }
.mod__cell img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--line);
  display: block; transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.mod__cell img:hover { transform: translateY(-3px); }
.mod__cell figcaption {
  margin-top: 7px; font-size: 11px; color: var(--muted);
  text-align: center; letter-spacing: .04em; line-height: 1.5;
}

/* 六境主题：全宽画廊（不参与左右分栏） */
.mod--full { display: block; }
.mod--full .mod__body { max-width: 760px; margin-bottom: 22px; }

@media (max-width: 900px) {
  .mod { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .mod:nth-child(even) .mod__body  { order: 0; }
  .mod:nth-child(even) .mod__media { order: 0; }
  .mod__grid--4, .mod__grid--6 { grid-template-columns: repeat(3, 1fr); }
  .mod__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .mod__table { font-size: 12px; }
}
@media (max-width: 560px) {
  .mod__grid--4, .mod__grid--6 { grid-template-columns: repeat(2, 1fr); }
  .mod__grid--3 { grid-template-columns: repeat(2, 1fr); }
}
/* ========== 画室介绍页 · 重构新增
   L1 动线层 / 分组标题 / 辅助层小卡 / 代码折叠
   品牌 L1：纸底 #F7F3EA ｜ 墨 #1C1A17 ｜ 文字 #2B2723 ｜ 次级 #7A736A
   品牌 L2：赭石 #B4532A
   ==================================================== */

/* ---- L1 动线层 ---- */
.flow { margin: 4px 0 46px; }
.flow__note { margin: 0 0 16px; font-size: 11.5px; letter-spacing: .22em; color: #7A736A; }
.flow__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.flow__step {
  padding: 20px 18px 22px;
  border: 1px solid rgba(43, 39, 35, .12);
  border-radius: 18px 21px 17px 20px;
  background: #FFFDF8;
  transition: border-color .2s cubic-bezier(.2, .7, .3, 1), transform .2s cubic-bezier(.2, .7, .3, 1);
}
.flow__step:hover { border-color: rgba(180, 83, 42, .30); transform: translateY(-2px); }
.flow__num { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #B4532A; }
.flow__step b {
  display: block; margin-bottom: 7px;
  font-family: var(--serif); font-size: 19px; font-weight: 900;
  color: #1C1A17; letter-spacing: .02em;
}
.flow__step span { display: block; font-size: 13px; line-height: 1.75; color: #7A736A; }

/* ---- 分组标题 ---- */
.mod-group {
  display: flex; align-items: baseline; gap: 14px;
  margin: 54px 0 20px; padding-bottom: 11px;
  border-bottom: 1px solid rgba(43, 39, 35, .10);
}
.mod-group:first-of-type { margin-top: 10px; }
.mod-group__k {
  font-family: var(--serif); font-size: 21px; font-weight: 900;
  color: #1C1A17; letter-spacing: .02em;
}
.mod-group__v { font-size: 12.5px; letter-spacing: .04em; color: #7A736A; }

/* ---- 辅助层小卡（降级展示，不与核心能力抢权重） ---- */
.aux-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aux {
  padding: 26px 24px 24px;
  border: 1px solid rgba(43, 39, 35, .12);
  border-radius: 18px 21px 17px 20px;
  background: #FFFDF8;
  transition: border-color .2s cubic-bezier(.2, .7, .3, 1), box-shadow .2s cubic-bezier(.2, .7, .3, 1);
}
.aux:hover { border-color: rgba(180, 83, 42, .28); box-shadow: 0 8px 26px rgba(43, 39, 35, .07); }
.aux__tag { display: inline-block; margin-bottom: 11px; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; color: #B4532A; }
.aux__title {
  margin: 0 0 9px;
  font-family: var(--serif); font-size: 20px; font-weight: 900;
  color: #1C1A17; letter-spacing: .02em;
}
.aux__desc { margin: 0 0 18px; font-size: 13.5px; line-height: 1.9; color: #2B2723; }
.aux__media { display: grid; gap: 8px; }
.aux__media img { display: block; width: 100%; height: auto; border: 1px solid rgba(43, 39, 35, .08); border-radius: 12px; }
.aux__media--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.aux__media--6 img { border-radius: 8px; }

/* ---- 代码折叠（接入层：代码是给开发看的，默认收起） ---- */
.code-fold { margin-top: 14px; }
.code-fold summary { cursor: pointer; padding: 7px 0; font-size: 12.5px; color: #7A736A; list-style: none; }
.code-fold summary::-webkit-details-marker { display: none; }
.code-fold summary::before { content: "+ "; color: #B4532A; font-weight: 700; }
.code-fold[open] summary::before { content: "- "; }
.code-fold[open] .code-block { margin-top: 4px; }

/* ---- 响应式 ---- */
@media (max-width: 980px) {
  .flow__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aux-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .flow__steps { grid-template-columns: 1fr; }
  .aux__media--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mod-group { margin: 40px 0 16px; }
  .mod-group__k { font-size: 19px; }
}
