/* =====================================================
   Jingdezhen Mold — Design System v2
   暗色工坊风：暖炭黑 + 驼色 + 工坊摄影
   禁：圆角大卡片、渐变按钮、中国风符号、Google Fonts
   ===================================================== */

:root {
  --bg:        #221F1B;
  --bg-2:      #2A2722;
  --bg-3:      #322E28;
  --line:      rgba(227,199,155,.16);
  --line-soft: rgba(227,199,155,.09);
  --text:      #F1EDE6;
  --muted:     #A89F92;
  --faint:     #6E675D;
  --accent:    #E3C79B;
  --accent-deep: #C9A876;
  --accent-ink:#221F1B;
  --serif:     Georgia, "Times New Roman", serif;
  --sans:      "Helvetica Neue", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --maxw:      1060px;
  --pad:       clamp(20px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- 通用骨架 ---------- */
.shell { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(36px, 4.5vw, 58px) 0; border-top: 1px solid var(--line-soft); }
.section--tight { padding: clamp(28px, 3.5vw, 42px) 0; }

.eyebrow {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::after { content: ""; flex: 0 0 32px; height: 1px; background: var(--line); }
.eyebrow .num { color: var(--faint); letter-spacing: .1em; }

h1, h2, h3 { font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
h2.section-title { font-size: clamp(23px, 2.6vw, 32px); max-width: 26em; margin-bottom: 10px; }
.lede { color: var(--muted); font-size: 15px; max-width: 52em; }
.lede b { color: var(--text); font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  border: 1px solid var(--accent);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost { color: var(--accent); background: transparent; }
.btn--ghost:hover { background: rgba(227,199,155,.08); }
.btn--plain { border-color: rgba(255,255,255,.28); color: var(--text); }
.btn--plain:hover { border-color: var(--accent); color: var(--accent); }
.btn .arr { font-family: var(--serif); font-size: 15px; transform: translateY(-1px); }

/* ---------- 头部 ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(34,31,27,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header .shell { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 13.5px; letter-spacing: .18em; }
.brand span { font-size: 9px; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 30px); }
.nav a { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--text); border-color: var(--accent); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header .btn { padding: 9px 16px; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 11.5px; letter-spacing: .14em; cursor: pointer; padding: 8px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(72vh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(8deg, rgba(34,31,27,.94) 22%, rgba(34,31,27,.55) 55%, rgba(34,31,27,.25) 100%);
}
.hero__body { position: relative; z-index: 2; padding: 110px 0 62px; max-width: 620px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 6px 12px; margin-bottom: 18px;
}
.hero__badge i { width: 5px; height: 5px; background: var(--accent); flex: 0 0 auto; }
.hero h1 { font-size: clamp(29px, 3.6vw, 44px); letter-spacing: -0.015em; margin-bottom: 14px; }
.hero__sub { color: rgba(241,237,230,.82); font-size: 15.5px; max-width: 38em; margin-bottom: 24px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note { margin-top: 22px; font-size: 12px; color: var(--faint); letter-spacing: .04em; }
.hero__note b { color: var(--muted); font-weight: 500; }

/* ---------- 能力（编号行） ---------- */
.cap-list { border-top: 1px solid var(--line); margin-top: 24px; }
.cap-row {
  display: grid; grid-template-columns: 56px 1fr 1.2fr;
  gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.cap-row .no { font-family: var(--serif); font-size: 14px; color: var(--faint); letter-spacing: .08em; }
.cap-row h3 { font-size: 17px; letter-spacing: .01em; }
.cap-row p { color: var(--muted); font-size: 14px; }
.cap-grid2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.frame { position: relative; border: 1px solid var(--line); padding: 8px; background: var(--bg-2); }
.frame img { width: 100%; }
.frame figcaption { display: flex; justify-content: space-between; padding: 10px 4px 2px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.quote { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: var(--text); }
.quote em { color: var(--accent); font-style: italic; }

/* ---------- 案例 ---------- */
.work-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-auto-rows: auto; gap: 20px; margin-top: 26px; }
.work-card { position: relative; display: block; }
.work-card--wide { grid-row: span 2; }
.work-card .ph { overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.work-card img { width: 100%; transition: transform .5s ease; }
.work-card:hover img { transform: scale(1.03); }
.work-card--wide .ph { aspect-ratio: 4 / 4.6; }
.work-card:not(.work-card--wide) .ph { aspect-ratio: 4 / 3; }
.work-card--wide .ph img { height: 100%; object-fit: cover; }
.work-meta { padding: 12px 2px 0; }
.work-meta .tag { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.work-meta h3 { font-size: 15.5px; margin: 6px 0 3px; letter-spacing: .01em; }
.work-meta p { font-size: 13px; color: var(--muted); }
.work-foot { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.work-foot .hint { font-size: 12.5px; color: var(--faint); }

/* ---------- 服务 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 26px; }
.svc { background: var(--bg); padding: 22px 24px; transition: background .25s; }
.svc:hover { background: var(--bg-2); }
.svc .no { font-family: var(--serif); font-size: 12.5px; color: var(--accent); letter-spacing: .1em; }
.svc h3 { font-size: 15.5px; margin: 10px 0 7px; }
.svc p { font-size: 13.5px; color: var(--muted); }
.svc .kw { display: block; margin-top: 12px; font-size: 10.5px; letter-spacing: .06em; color: var(--faint); font-style: italic; font-family: var(--serif); }

/* ---------- 流程 ---------- */
.proc-grid { margin-top: 28px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 0; }
.step { border-top: 2px solid var(--line); padding-top: 14px; }
.step .no { font-size: 10.5px; letter-spacing: .18em; color: var(--accent); }
.step h3 { font-size: 14.5px; margin: 8px 0 6px; }
.step p { font-size: 12.5px; color: var(--muted); }
.promise {
  margin-top: 26px; padding: 18px 22px;
  border: 1px solid var(--line); background: var(--bg-2);
  display: flex; gap: 16px; align-items: baseline;
}
.promise .mark { font-family: var(--serif); font-size: 22px; color: var(--accent); line-height: 1; }
.promise p { font-size: 14px; color: var(--text); }
.promise p b { color: var(--accent); font-weight: 600; }
/* 流程区下方一行四张过程小图 */
.proc-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.proc-strip .ph { aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.proc-strip img { width: 100%; height: 100%; object-fit: cover; }
.proc-strip figcaption { padding: 8px 2px 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* ---------- 客群 ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.aud { border: 1px solid var(--line); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.aud .for { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.aud h3 { font-size: 17px; }
.aud p { font-size: 13.5px; color: var(--muted); flex: 1; }
.aud a { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--accent); padding-bottom: 4px; align-self: start; }
.aud a:hover { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 4px;
  font-size: 15px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { font-family: var(--serif); color: var(--accent); font-size: 20px; line-height: 1; transition: transform .25s; flex: 0 0 auto; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 4px 20px; color: var(--muted); max-width: 62em; font-size: 14px; }

/* ---------- CTA 带 ---------- */
.cta-band { background: var(--accent); color: var(--accent-ink); padding: clamp(34px, 4vw, 48px) 0; }
.cta-band h2 { font-size: clamp(23px, 2.8vw, 32px); max-width: 22em; margin-bottom: 10px; }
.cta-band p { font-size: 14.5px; max-width: 48em; color: rgba(34,31,27,.78); margin-bottom: 24px; }
.cta-band .btn { border-color: var(--accent-ink); }
.cta-band .btn--primary { background: var(--accent-ink); color: var(--accent); }
.cta-band .btn--primary:hover { background: #3a352d; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 44px 0 34px; }
.footer .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer .brand strong { font-size: 14px; }
.footer p, .footer a { font-size: 13px; color: var(--muted); }
.footer .fnav { display: flex; flex-direction: column; gap: 8px; }
.footer .fnav a:hover { color: var(--text); }
.footer .base { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11.5px; color: var(--faint); }

/* ---------- 工坊实拍带 ---------- */
.studio-strip { margin-top: 30px; }
.studio-strip .ph { overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.studio-strip img { display: block; width: 100%; height: auto; }
.studio-strip figcaption { display: flex; justify-content: space-between; padding: 10px 4px 2px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* ---------- 吸底 CTA（移动端） ---------- */
.sticky-cta {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 40;
  display: none; justify-content: center;
}
.sticky-cta .btn { width: 100%; justify-content: center; box-shadow: 0 8px 30px rgba(0,0,0,.45); }

/* ---------- 表单（联系页） ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field label b { color: var(--accent); }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text); padding: 12px 14px; font-size: 14px;
  font-family: var(--sans); border-radius: 0; outline: none;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 11.5px; color: var(--faint); }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-foot .note { font-size: 12px; color: var(--faint); max-width: 34em; }
.form-msg { grid-column: 1 / -1; font-size: 13.5px; padding: 14px 16px; border: 1px solid var(--line); display: none; }
.form-msg.ok { display: block; color: var(--accent); border-color: var(--accent); }
.form-msg.err { display: block; color: #E08A6D; border-color: #E08A6D; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cap-grid2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .aud-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header__cta .btn { display: none; }
  .menu-btn { display: block; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 58px; left: 0; right: 0;
    background: rgba(34,31,27,.97); border-bottom: 1px solid var(--line);
    padding: 16px var(--pad) 22px; gap: 4px;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .sticky-cta { display: flex; }
}
@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card--wide { grid-row: auto; }
  .work-card--wide .ph { aspect-ratio: 4 / 3; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .proc-strip { gap: 10px; }
  .proc-strip figcaption { font-size: 8.5px; letter-spacing: .08em; }
  .cap-row { grid-template-columns: 44px 1fr; }
  .cap-row p { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__body { padding: 96px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
