/*
Theme Name: 蒙居 · 室内设计工作室
Theme URI: https://example.com/mengju
Author: 蒙居设计
Author URI: https://example.com
Description: 面向内蒙古室内设计公司、设计工作室的官方网站主题。暖砂底色、衬线标题、克制的陶土色点缀；内置「设计团队」「设计案例」「客户评价」内容类型，团队成员可在后台无限增删；联系方式、首屏文案、数据指标、服务流程均可在「外观 → 自定义」中修改，不依赖任何插件。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mengju
Tags: business, portfolio, one-column, custom-colors, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, translation-ready
*/

/* =========================================================
   0. 变量
   ========================================================= */
:root {
  --mj-ink: #17140f;
  --mj-ink-soft: #3b342b;
  --mj-muted: #7d7367;
  --mj-sand: #f8f3ea;
  --mj-sand-2: #efe5d6;
  --mj-sand-3: #e6dac7;
  --mj-white: #fffdf9;
  --mj-line: rgba(23, 20, 15, .13);
  --mj-line-soft: rgba(23, 20, 15, .07);
  --mj-clay: #a85b39;
  --mj-clay-d: #8c4527;
  --mj-sage: #6c7a62;
  --mj-serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", Georgia, "Times New Roman", serif;
  --mj-sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mj-wrap: 1240px;
  --mj-pad: 0 28px;
  --mj-r: 3px;
  --mj-shadow: 0 30px 70px -40px rgba(23, 20, 15, .45);
  --mj-ease: cubic-bezier(.22, .61, .36, 1);
  --mj-sec: 108px;
}

/* =========================================================
   1. 基础重置
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--mj-sand);
  color: var(--mj-ink-soft);
  font-family: var(--mj-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.mj-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--mj-ink);
  font-family: var(--mj-serif);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .01em;
}

h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 19px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--mj-clay-d); text-decoration: none; transition: color .3s var(--mj-ease); }
a:hover { color: var(--mj-clay); }

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: .4em; }

blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--mj-clay);
  color: var(--mj-ink);
  font-family: var(--mj-serif);
  font-size: 19px;
  line-height: 1.9;
}

code, kbd, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
}
code { background: var(--mj-sand-2); padding: 2px 6px; border-radius: var(--mj-r); }
pre { background: var(--mj-ink); color: #f3ece0; padding: 22px; overflow: auto; border-radius: var(--mj-r); }
pre code { background: none; color: inherit; padding: 0; }

hr { border: 0; border-top: 1px solid var(--mj-line); margin: 2.4em 0; }

table { width: 100%; border-collapse: collapse; margin: 1.6em 0; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--mj-line); text-align: left; }
th { font-family: var(--mj-serif); color: var(--mj-ink); }

input, textarea, select, button { font: inherit; color: inherit; }
input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--mj-clay);
  outline-offset: 3px;
}

::selection { background: var(--mj-clay); color: #fff; }

/* =========================================================
   2. 通用工具
   ========================================================= */
.mj-wrap { width: 100%; max-width: var(--mj-wrap); margin: 0 auto; padding: var(--mj-pad); }
.mj-wrap--narrow { max-width: 800px; }
.mj-section { padding: var(--mj-sec) 0; position: relative; }
.mj-section--tight { padding: 76px 0; }
.mj-section--sand2 { background: var(--mj-sand-2); }
.mj-section--paper { background: var(--mj-white); }
.mj-section--ink { background: var(--mj-ink); color: rgba(255, 253, 249, .74); }
.mj-section--ink h1, .mj-section--ink h2, .mj-section--ink h3, .mj-section--ink h4 { color: var(--mj-white); }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--mj-white); border-radius: var(--mj-r); clip: auto; clip-path: none;
  color: var(--mj-clay-d); display: block; font-size: 14px; height: auto;
  left: 8px; line-height: normal; padding: 14px 22px; text-decoration: none;
  top: 8px; width: auto; z-index: 100000;
}
.mj-skip-link:focus { position: fixed; }

/* 版块标题 */
.mj-sec-head { max-width: 720px; margin-bottom: 56px; }
.mj-sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.mj-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px; color: var(--mj-clay);
  font-family: var(--mj-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
}
.mj-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--mj-clay); }
.mj-sec-head--center .mj-eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--mj-clay); }
.mj-sec-title { margin: 0 0 16px; font-size: clamp(27px, 3.4vw, 40px); }
.mj-sec-desc { margin: 0; color: var(--mj-muted); font-size: 15.5px; line-height: 1.95; }
.mj-section--ink .mj-sec-desc { color: rgba(255, 253, 249, .6); }

/* 按钮 */
.mj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border: 1px solid var(--mj-ink); border-radius: var(--mj-r);
  background: var(--mj-ink); color: var(--mj-white);
  font-size: 14.5px; letter-spacing: .08em; line-height: 1.2; cursor: pointer;
  transition: all .35s var(--mj-ease);
}
.mj-btn:hover { background: var(--mj-clay); border-color: var(--mj-clay); color: #fff; transform: translateY(-2px); }
.mj-btn svg { width: 15px; height: 15px; flex: none; }
.mj-btn--ghost { background: transparent; color: var(--mj-ink); }
.mj-btn--ghost:hover { background: var(--mj-ink); border-color: var(--mj-ink); color: #fff; }
.mj-btn--light { background: transparent; border-color: rgba(255, 253, 249, .45); color: var(--mj-white); }
.mj-btn--light:hover { background: var(--mj-white); border-color: var(--mj-white); color: var(--mj-ink); }
.mj-btn--clay { background: var(--mj-clay); border-color: var(--mj-clay); color: #fff; }
.mj-btn--clay:hover { background: var(--mj-clay-d); border-color: var(--mj-clay-d); }
.mj-btn--sm { padding: 11px 22px; font-size: 13.5px; }

.mj-more { display: inline-flex; align-items: center; gap: 10px; color: var(--mj-ink); font-size: 14px; letter-spacing: .1em; }
.mj-more::after { content: "→"; transition: transform .35s var(--mj-ease); }
.mj-more:hover { color: var(--mj-clay); }
.mj-more:hover::after { transform: translateX(6px); }

/* =========================================================
   3. 页头
   ========================================================= */
.mj-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(248, 243, 234, .82);
  backdrop-filter: saturate(1.1) blur(14px);
  -webkit-backdrop-filter: saturate(1.1) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--mj-ease), border-color .35s var(--mj-ease), box-shadow .35s var(--mj-ease);
}
.mj-header.is-stuck { background: rgba(248, 243, 234, .96); border-bottom-color: var(--mj-line-soft); box-shadow: 0 10px 30px -26px rgba(23, 20, 15, .5); }
.mj-header__inner { display: flex; align-items: center; gap: 34px; min-height: 84px; }

.mj-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--mj-ink); flex: none; }
.mj-logo:hover { color: var(--mj-ink); }
.mj-logo img { max-height: 48px; width: auto; }
.mj-logo__mark {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--mj-ink); border-radius: 50%;
  font-family: var(--mj-serif); font-size: 17px; line-height: 1;
}
.mj-logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.mj-logo__name { font-family: var(--mj-serif); font-size: 20px; font-weight: 600; letter-spacing: .12em; }
.mj-logo__slogan { font-size: 10.5px; letter-spacing: .28em; color: var(--mj-muted); text-transform: uppercase; }

.mj-nav { margin-left: auto; }
.mj-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mj-nav li { position: relative; margin: 0; }
.mj-nav a {
  display: block; padding: 10px 15px; color: var(--mj-ink-soft);
  font-size: 14.5px; letter-spacing: .06em; white-space: nowrap;
}
.mj-nav a:hover, .mj-nav .current-menu-item > a, .mj-nav .current_page_item > a, .mj-nav .current-menu-ancestor > a { color: var(--mj-clay); }
.mj-nav .current-menu-item > a::after, .mj-nav .current_page_item > a::after {
  content: ""; display: block; width: 16px; height: 1px; margin: 3px auto 0; background: var(--mj-clay);
}
/* 下拉 */
.mj-nav ul ul {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px;
  display: block; padding: 10px 0; background: var(--mj-white);
  border: 1px solid var(--mj-line-soft); border-radius: var(--mj-r); box-shadow: var(--mj-shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .3s var(--mj-ease);
}
.mj-nav li:hover > ul, .mj-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.mj-nav ul ul a { padding: 9px 22px; font-size: 14px; }

.mj-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.mj-tel { display: inline-flex; align-items: center; gap: 9px; color: var(--mj-ink); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.mj-tel svg { width: 16px; height: 16px; color: var(--mj-clay); }
.mj-tel:hover { color: var(--mj-clay); }

.mj-burger {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--mj-line); border-radius: var(--mj-r); cursor: pointer;
  position: relative;
}
.mj-burger span {
  position: absolute; left: 12px; width: 20px; height: 1.5px; background: var(--mj-ink);
  transition: transform .3s var(--mj-ease), opacity .3s;
}
.mj-burger span:nth-child(1) { top: 16px; }
.mj-burger span:nth-child(2) { top: 21px; }
.mj-burger span:nth-child(3) { top: 26px; }
.mj-burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.mj-burger.is-open span:nth-child(2) { opacity: 0; }
.mj-burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 移动端抽屉 */
.mj-drawer {
  position: fixed; inset: 0; z-index: 85; display: flex; flex-direction: column;
  padding: 88px 28px 40px; background: var(--mj-sand);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: all .4s var(--mj-ease); overflow-y: auto;
}
.mj-drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mj-drawer ul { list-style: none; margin: 0; padding: 0; }
.mj-drawer > ul > li { border-bottom: 1px solid var(--mj-line-soft); }
.mj-drawer a { display: block; padding: 15px 0; color: var(--mj-ink); font-family: var(--mj-serif); font-size: 21px; }
.mj-drawer ul ul { padding-left: 16px; }
.mj-drawer ul ul a { font-family: var(--mj-sans); font-size: 15px; padding: 9px 0; color: var(--mj-muted); }
.mj-drawer__foot { margin-top: auto; padding-top: 34px; }
.mj-drawer__foot .mj-tel { font-size: 22px; font-family: var(--mj-serif); margin-bottom: 14px; }
.mj-drawer__foot p { color: var(--mj-muted); font-size: 14px; }

/* =========================================================
   4. 首屏
   ========================================================= */
.mj-hero { position: relative; overflow: hidden; background: var(--mj-sand); }
.mj-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; min-height: calc(100vh - 84px); max-height: 880px; }
.mj-hero__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 64px 92px max(28px, calc((100vw - var(--mj-wrap)) / 2 + 28px));
}
.mj-hero__title {
  margin: 0 0 24px; font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.22; letter-spacing: .02em;
}
.mj-hero__title em { font-style: normal; color: var(--mj-clay); position: relative; z-index: 0; }
.mj-hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
  background: rgba(168, 91, 57, .14); z-index: -1;
}
.mj-hero__desc { max-width: 460px; margin-bottom: 36px; color: var(--mj-muted); font-size: 16px; line-height: 2; }
.mj-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.mj-hero__meta {
  display: flex; flex-wrap: wrap; gap: 40px; margin-top: 62px;
  padding-top: 26px; border-top: 1px solid var(--mj-line);
}
.mj-hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.mj-hero__meta b { font-family: var(--mj-serif); font-size: 30px; color: var(--mj-ink); line-height: 1.1; }
.mj-hero__meta span { font-size: 12.5px; letter-spacing: .12em; color: var(--mj-muted); }

.mj-hero__media { position: relative; background: var(--mj-sand-2); overflow: hidden; }
.mj-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.mj-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(248, 243, 234, .55) 0%, rgba(248, 243, 234, 0) 38%);
  pointer-events: none;
}
.mj-hero__tag {
  position: absolute; right: 26px; bottom: 30px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; background: rgba(23, 20, 15, .78); color: #f6efe3;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
}
.mj-hero__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mj-clay); }

.mj-hero__scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 4;
  transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: .3em; color: var(--mj-muted);
}
.mj-hero__scroll i { width: 1px; height: 34px; background: linear-gradient(var(--mj-muted), transparent); animation: mjScroll 2.2s infinite; }
@keyframes mjScroll { 0% { opacity: 0; transform: scaleY(.3); } 50% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); } }

/* 滚动字条 */
.mj-ticker { overflow: hidden; border-top: 1px solid var(--mj-line); border-bottom: 1px solid var(--mj-line); background: var(--mj-sand); }
.mj-ticker__track { display: flex; width: max-content; animation: mjTicker 42s linear infinite; }
.mj-ticker:hover .mj-ticker__track { animation-play-state: paused; }
.mj-ticker__item {
  display: inline-flex; align-items: center; gap: 22px; padding: 17px 32px;
  font-family: var(--mj-serif); font-size: 15px; letter-spacing: .26em; color: var(--mj-ink-soft); white-space: nowrap;
}
.mj-ticker__item::before { content: "✦"; color: var(--mj-clay); font-size: 11px; letter-spacing: 0; }
@keyframes mjTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   5. 服务
   ========================================================= */
.mj-services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--mj-line); }
.mj-service {
  position: relative; padding: 46px 30px 42px; border-right: 1px solid var(--mj-line);
  transition: background .45s var(--mj-ease);
}
.mj-service:last-child { border-right: 0; }
.mj-service:hover { background: var(--mj-white); }
.mj-service__no {
  display: block; margin-bottom: 26px; font-family: var(--mj-serif);
  font-size: 13px; letter-spacing: .2em; color: var(--mj-clay);
}
.mj-service__icon { width: 40px; height: 40px; margin-bottom: 20px; color: var(--mj-ink); stroke-width: 1; }
.mj-service h3 { margin: 0 0 12px; font-size: 21px; }
.mj-service p { margin: 0; color: var(--mj-muted); font-size: 14px; line-height: 1.9; }

/* =========================================================
   6. 案例卡片
   ========================================================= */
.mj-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.mj-filter button,
.mj-filter a {
  display: inline-flex; align-items: center; padding: 9px 20px; background: none;
  border: 1px solid var(--mj-line); border-radius: 100px;
  color: var(--mj-muted); font-size: 13.5px; letter-spacing: .06em; cursor: pointer;
  transition: all .3s var(--mj-ease);
}
.mj-filter button:hover,
.mj-filter a:hover { border-color: var(--mj-ink); color: var(--mj-ink); }
.mj-filter button.is-active,
.mj-filter a.is-active { background: var(--mj-ink); border-color: var(--mj-ink); color: var(--mj-white); }

.mj-grid { display: grid; gap: 26px; }
.mj-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mj-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mj-grid--4 { grid-template-columns: repeat(4, 1fr); }

.mj-case { display: block; color: inherit; }
.mj-case:hover { color: inherit; }
.mj-case__thumb {
  position: relative; overflow: hidden; border-radius: var(--mj-r);
  aspect-ratio: 4 / 3; background: var(--mj-sand-2);
}
.mj-case--tall .mj-case__thumb { aspect-ratio: 3 / 4; }
.mj-case__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--mj-ease); }
.mj-case:hover .mj-case__thumb img { transform: scale(1.06); }
.mj-case__thumb::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(to top, rgba(23, 20, 15, .62), rgba(23, 20, 15, 0) 62%);
  transition: opacity .45s var(--mj-ease);
}
.mj-case:hover .mj-case__thumb::after { opacity: 1; }
.mj-case__hover {
  position: absolute; left: 24px; bottom: 20px; z-index: 2;
  color: #f8f3ea; font-size: 13px; letter-spacing: .16em;
  opacity: 0; transform: translateY(10px); transition: all .45s var(--mj-ease);
}
.mj-case:hover .mj-case__hover { opacity: 1; transform: translateY(0); }
.mj-case__body { padding: 18px 2px 0; }
.mj-case__cat { display: block; margin-bottom: 6px; color: var(--mj-clay); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; }
.mj-case__title { margin: 0 0 6px; font-size: 19px; font-weight: 600; }
.mj-case__meta { margin: 0; color: var(--mj-muted); font-size: 13px; letter-spacing: .04em; }
.mj-case__meta span + span::before { content: "/"; margin: 0 8px; opacity: .5; }

/* =========================================================
   7. 工作室 / 数据
   ========================================================= */
.mj-about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 78px; align-items: center; }
.mj-about__media { position: relative; padding: 0 0 58px 0; }
.mj-about__media img { width: 100%; border-radius: var(--mj-r); position: relative; z-index: 2; }
.mj-about__media::before {
  content: ""; position: absolute; left: -22px; top: 32px; right: 58px; bottom: 0;
  border: 1px solid var(--mj-clay); opacity: .35;
}
.mj-about__media::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 46%; height: 46%;
  background: var(--mj-sand-2); z-index: 1;
}
.mj-about__badge {
  position: absolute; right: -14px; bottom: 26px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 132px; height: 132px; border-radius: 50%; background: var(--mj-ink); color: var(--mj-sand);
  text-align: center; line-height: 1.3;
}
.mj-about__badge b { font-family: var(--mj-serif); font-size: 34px; line-height: 1; margin-bottom: 2px; }
.mj-about__badge span { font-size: 11px; letter-spacing: .18em; }
.mj-about__text h2 { margin-bottom: 22px; }
.mj-about__text p { color: var(--mj-muted); font-size: 15.5px; line-height: 2; }
.mj-about__sign { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.mj-about__sign img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.mj-about__sign b { display: block; font-family: var(--mj-serif); font-size: 15px; color: var(--mj-ink); }
.mj-about__sign span { font-size: 12.5px; color: var(--mj-muted); }

.mj-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 76px; background: var(--mj-line); border: 1px solid var(--mj-line); }
.mj-stat { padding: 34px 22px; background: var(--mj-sand); text-align: center; }
.mj-stat b { display: block; font-family: var(--mj-serif); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; color: var(--mj-ink); line-height: 1.1; }
.mj-stat b i { font-style: normal; font-size: .55em; color: var(--mj-clay); margin-left: 2px; }
.mj-stat span { display: block; margin-top: 8px; color: var(--mj-muted); font-size: 13px; letter-spacing: .1em; }

/* =========================================================
   8. 团队
   ========================================================= */
.mj-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.mj-member { display: block; color: inherit; }
.mj-member:hover { color: inherit; }
.mj-member__thumb {
  position: relative; overflow: hidden; border-radius: var(--mj-r);
  aspect-ratio: 4 / 5; background: var(--mj-sand-2);
}
.mj-member__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform 1s var(--mj-ease), filter .5s; }
.mj-member:hover .mj-member__thumb img { transform: scale(1.05); filter: saturate(1); }
.mj-member__plus {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(23, 20, 15, .32); opacity: 0; transition: opacity .4s var(--mj-ease);
}
.mj-member__plus span {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--mj-sand); color: var(--mj-ink); font-size: 20px; transform: scale(.8);
  transition: transform .4s var(--mj-ease);
}
.mj-member:hover .mj-member__plus { opacity: 1; }
.mj-member:hover .mj-member__plus span { transform: scale(1); }
.mj-member__body { padding: 18px 2px 0; }
.mj-member__name { margin: 0 0 2px; font-size: 19px; }
.mj-member__role { margin: 0; color: var(--mj-clay); font-size: 13px; letter-spacing: .08em; }
.mj-member__tags { margin: 8px 0 0; color: var(--mj-muted); font-size: 12.5px; }

/* 团队头像占位 */
.mj-avatar-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--mj-sand-3), var(--mj-sand-2));
  color: rgba(23, 20, 15, .28); font-family: var(--mj-serif); font-size: 46px;
}

/* =========================================================
   9. 流程
   ========================================================= */
.mj-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.mj-step { position: relative; padding: 0 30px 0 0; }
.mj-step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 1px;
  background: repeating-linear-gradient(to right, var(--mj-line) 0 6px, transparent 6px 12px);
}
.mj-step:last-child::before { display: none; }
.mj-step__no {
  position: relative; z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 26px; border-radius: 50%;
  background: var(--mj-ink); color: var(--mj-sand); font-family: var(--mj-serif); font-size: 15px;
  transition: background .35s var(--mj-ease), transform .35s var(--mj-ease);
}
.mj-section--ink .mj-step__no { background: var(--mj-clay); color: #fff; }
.mj-step:hover .mj-step__no { transform: translateY(-4px); }
.mj-step h3 { margin: 0 0 10px; font-size: 19px; }
.mj-step p { margin: 0; color: var(--mj-muted); font-size: 14px; line-height: 1.9; }
.mj-section--ink .mj-step p { color: rgba(255, 253, 249, .58); }

/* =========================================================
   10. 评价
   ========================================================= */
.mj-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mj-quote {
  display: flex; flex-direction: column; padding: 40px 34px 32px;
  background: var(--mj-white); border: 1px solid var(--mj-line-soft); border-radius: var(--mj-r);
  transition: transform .4s var(--mj-ease), box-shadow .4s var(--mj-ease);
}
.mj-quote:hover { transform: translateY(-5px); box-shadow: var(--mj-shadow); }
.mj-quote__mark { font-family: var(--mj-serif); font-size: 46px; line-height: .6; color: var(--mj-clay); opacity: .35; margin-bottom: 14px; }
.mj-quote__text { margin: 0 0 26px; color: var(--mj-ink-soft); font-size: 14.5px; line-height: 2; }
.mj-quote__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--mj-line-soft); }
.mj-quote__foot img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.mj-quote__foot b { display: block; font-size: 14px; color: var(--mj-ink); }
.mj-quote__foot span { font-size: 12px; color: var(--mj-muted); }
.mj-stars { display: flex; gap: 3px; margin-left: auto; color: var(--mj-clay); font-size: 12px; letter-spacing: 1px; }

/* =========================================================
   11. 联系
   ========================================================= */
.mj-contact { display: grid; grid-template-columns: .88fr 1.12fr; gap: 80px; }
.mj-contact__list { list-style: none; margin: 36px 0 0; padding: 0; }
.mj-contact__list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255, 253, 249, .12); margin: 0; }
.mj-contact__list svg { width: 18px; height: 18px; flex: none; margin-top: 5px; color: var(--mj-clay); }
.mj-contact__list span { display: block; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 253, 249, .45); margin-bottom: 3px; }
.mj-contact__list b, .mj-contact__list a { color: var(--mj-white); font-family: var(--mj-serif); font-size: 19px; font-weight: 500; letter-spacing: .03em; }
.mj-contact__list a:hover { color: var(--mj-clay); }
.mj-qr { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.mj-qr img { width: 96px; height: 96px; object-fit: cover; padding: 6px; background: #fff; border-radius: var(--mj-r); }
.mj-qr p { margin: 0; font-size: 12.5px; color: rgba(255, 253, 249, .55); line-height: 1.8; }
.mj-qr b { display: block; color: #fff; font-size: 14px; letter-spacing: .06em; }

.mj-form { background: rgba(255, 253, 249, .04); border: 1px solid rgba(255, 253, 249, .14); padding: 40px 38px; border-radius: var(--mj-r); }
.mj-form__title { margin: 0 0 6px; font-size: 22px; }
.mj-form__desc { margin: 0 0 28px; font-size: 13px; color: rgba(255, 253, 249, .5); }
.mj-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mj-field { margin-bottom: 16px; }
.mj-field label { display: block; margin-bottom: 7px; font-size: 12px; letter-spacing: .14em; color: rgba(255, 253, 249, .55); }
.mj-field input, .mj-field textarea, .mj-field select {
  width: 100%; padding: 13px 15px; background: rgba(23, 20, 15, .28);
  border: 1px solid rgba(255, 253, 249, .16); border-radius: var(--mj-r);
  color: var(--mj-white); font-size: 14.5px; transition: border-color .3s;
}
.mj-field textarea { min-height: 116px; resize: vertical; }
.mj-field input::placeholder, .mj-field textarea::placeholder { color: rgba(255, 253, 249, .28); }
.mj-field input:focus, .mj-field textarea:focus { outline: none; border-color: var(--mj-clay); }
.mj-field select option { color: #17140f; background: #fffdf9; }
.mj-field input[type="checkbox"] { width: auto; }
.mj-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.mj-form__foot { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.mj-form__note { font-size: 12px; color: rgba(255, 253, 249, .4); }

.mj-notice { margin-bottom: 22px; padding: 13px 18px; border-radius: var(--mj-r); font-size: 13.5px; }
.mj-notice--ok { background: rgba(110, 122, 98, .22); border: 1px solid rgba(110, 122, 98, .5); color: #dfe7d7; }
.mj-notice--err { background: rgba(168, 91, 57, .2); border: 1px solid rgba(168, 91, 57, .55); color: #f0d6c8; }

/* 浅色页联系表单（页面模板用） */
.mj-section--sand2 .mj-form { background: var(--mj-white); border-color: var(--mj-line); }
.mj-section--sand2 .mj-form__title { color: var(--mj-ink); }
.mj-section--sand2 .mj-form__desc { color: var(--mj-muted); }
.mj-section--sand2 .mj-field label { color: var(--mj-muted); }
.mj-section--sand2 .mj-field input,
.mj-section--sand2 .mj-field textarea { background: var(--mj-sand); border-color: var(--mj-line); color: var(--mj-ink); }
.mj-section--sand2 .mj-field input::placeholder,
.mj-section--sand2 .mj-field textarea::placeholder { color: rgba(23, 20, 15, .3); }
.mj-section--sand2 .mj-form__note { color: var(--mj-muted); }

/* =========================================================
   12. CTA 条
   ========================================================= */
.mj-cta {
  position: relative; overflow: hidden; padding: 82px 0; text-align: center;
  background: var(--mj-ink); color: rgba(255, 253, 249, .7);
}
.mj-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 18% 20%, rgba(168, 91, 57, .28), transparent 45%),
                    radial-gradient(circle at 82% 78%, rgba(108, 122, 98, .22), transparent 46%);
}
.mj-cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: var(--mj-pad); }
.mj-cta h2 { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 42px); }
.mj-cta p { margin: 0 0 32px; font-size: 15px; }
.mj-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =========================================================
   13. 页脚
   ========================================================= */
.mj-footer { background: var(--mj-ink); color: rgba(255, 253, 249, .55); font-size: 14px; }
.mj-footer__main { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 54px; padding: 74px 0 56px; }
.mj-footer .mj-logo { color: var(--mj-white); margin-bottom: 20px; }
.mj-footer .mj-logo__slogan { color: rgba(255, 253, 249, .4); }
.mj-footer .mj-logo__mark { border-color: rgba(255, 253, 249, .4); }
.mj-footer__brand p { margin: 0; max-width: 300px; line-height: 1.95; font-size: 13.5px; }
.mj-footer h4 { margin: 0 0 18px; color: var(--mj-white); font-family: var(--mj-sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.mj-footer ul { list-style: none; margin: 0; padding: 0; }
.mj-footer li { margin: 0 0 9px; }
.mj-footer a { color: rgba(255, 253, 249, .62); }
.mj-footer a:hover { color: var(--mj-clay); }
.mj-footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.7; }
.mj-footer__contact span { color: rgba(255, 253, 249, .35); flex: none; }
.mj-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between;
  padding: 22px 0; border-top: 1px solid rgba(255, 253, 249, .1); font-size: 12.5px;
}
.mj-footer__bottom p { margin: 0; }
.mj-footer__bottom .mj-social { display: flex; gap: 16px; }
.mj-footer__bottom .mj-social a { font-size: 12.5px; }

/* 回到顶部 */
.mj-top {
  position: fixed; right: 24px; bottom: 26px; z-index: 60;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--mj-ink); color: var(--mj-sand); border: 0; border-radius: 50%;
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--mj-ease);
}
.mj-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.mj-top:hover { background: var(--mj-clay); }
.mj-top svg { width: 16px; height: 16px; }

/* =========================================================
   14. 页面横幅 & 内容页
   ========================================================= */
.mj-banner { position: relative; padding: 96px 0 74px; background: var(--mj-sand-2); overflow: hidden; }
.mj-banner--img { padding: 150px 0 110px; background: var(--mj-ink); }
.mj-banner__bg { position: absolute; inset: 0; }
.mj-banner__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.mj-banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 20, 15, .72), rgba(23, 20, 15, .3)); }
.mj-banner__inner { position: relative; z-index: 2; }
.mj-banner h1 { margin: 0 0 14px; }
.mj-banner--img h1, .mj-banner--img .mj-breadcrumb, .mj-banner--img .mj-breadcrumb a { color: var(--mj-white); }
.mj-banner--img .mj-banner__sub { color: rgba(255, 253, 249, .68); }
.mj-banner__sub { max-width: 620px; margin: 0; color: var(--mj-muted); font-size: 15.5px; line-height: 1.95; }
.mj-breadcrumb { margin-top: 18px; font-size: 12.5px; letter-spacing: .08em; color: var(--mj-muted); }
.mj-breadcrumb a { color: var(--mj-muted); }
.mj-breadcrumb a:hover { color: var(--mj-clay); }
.mj-breadcrumb span { margin: 0 7px; opacity: .5; }

.mj-entry { padding: 84px 0; }
.mj-entry__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 68px; align-items: start; }
.mj-prose { font-size: 16px; line-height: 2.05; color: var(--mj-ink-soft); }
.mj-prose > *:first-child { margin-top: 0; }
.mj-prose h2 { margin: 2em 0 .7em; font-size: 27px; }
.mj-prose h3 { margin: 1.8em 0 .6em; font-size: 21px; }
.mj-prose h4 { margin: 1.6em 0 .5em; }
.mj-prose img { border-radius: var(--mj-r); margin: 1.6em 0; }
.mj-prose ul, .mj-prose ol { margin: 0 0 1.3em; }
.mj-prose li { margin-bottom: .5em; }
.mj-prose a { border-bottom: 1px solid rgba(168, 91, 57, .35); }
.mj-prose a:hover { border-bottom-color: var(--mj-clay); }
.mj-prose figure figcaption, .mj-prose .wp-caption-text { margin-top: 10px; font-size: 12.5px; color: var(--mj-muted); text-align: center; }
.mj-prose .wp-block-image figcaption { color: var(--mj-muted); font-size: 12.5px; }
.mj-prose blockquote cite { display: block; margin-top: 10px; font-size: 13px; color: var(--mj-muted); font-style: normal; }
.mj-prose .alignwide { width: min(100%, 980px); margin-left: 50%; transform: translateX(-50%); }
.mj-prose .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); max-width: none; }

.mj-postmeta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; font-size: 13px; color: var(--mj-muted); letter-spacing: .06em; }
.mj-postmeta a { color: var(--mj-muted); }
.mj-postmeta a:hover { color: var(--mj-clay); }
.mj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--mj-line); }
.mj-tags a { padding: 6px 14px; border: 1px solid var(--mj-line); border-radius: 100px; font-size: 12.5px; color: var(--mj-muted); }
.mj-tags a:hover { border-color: var(--mj-clay); color: var(--mj-clay); }

.mj-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.mj-postnav a { display: block; padding: 22px 24px; background: var(--mj-white); border: 1px solid var(--mj-line-soft); border-radius: var(--mj-r); }
.mj-postnav small { display: block; margin-bottom: 6px; font-size: 11.5px; letter-spacing: .2em; color: var(--mj-muted); text-transform: uppercase; }
.mj-postnav b { font-family: var(--mj-serif); font-size: 15.5px; font-weight: 500; color: var(--mj-ink); }
.mj-postnav .next { text-align: right; }
.mj-postnav a:hover { border-color: rgba(168, 91, 57, .4); }

/* 侧栏 */
.mj-sidebar { position: sticky; top: 106px; }
.mj-widget { margin-bottom: 34px; padding: 28px 26px; background: var(--mj-white); border: 1px solid var(--mj-line-soft); border-radius: var(--mj-r); }
.mj-widget h2, .mj-widget .widget-title { margin: 0 0 16px; font-family: var(--mj-serif); font-size: 16px; letter-spacing: .08em; }
.mj-widget ul { list-style: none; margin: 0; padding: 0; }
.mj-widget li { margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--mj-line-soft); font-size: 14px; }
.mj-widget li:last-child { border-bottom: 0; }
.mj-widget a { color: var(--mj-ink-soft); }
.mj-widget a:hover { color: var(--mj-clay); }
.mj-widget select, .mj-widget input[type="search"], .mj-widget input[type="text"] {
  width: 100%; padding: 11px 14px; background: var(--mj-sand); border: 1px solid var(--mj-line); border-radius: var(--mj-r); font-size: 14px;
}
.mj-widget .tagcloud a { display: inline-block; margin: 0 6px 8px 0; padding: 5px 12px; background: var(--mj-sand); border-radius: 100px; font-size: 12.5px !important; }

/* 文章列表卡片 */
.mj-postlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.mj-postcard { display: flex; flex-direction: column; }
.mj-postcard:hover .mj-postcard__thumb img { transform: scale(1.05); }
.mj-postcard__thumb { position: relative; overflow: hidden; border-radius: var(--mj-r); aspect-ratio: 16 / 10; background: var(--mj-sand-2); margin-bottom: 20px; }
.mj-postcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--mj-ease); }
.mj-postcard__date {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; background: rgba(248, 243, 234, .94);
  font-size: 11.5px; letter-spacing: .1em; color: var(--mj-ink);
}
.mj-postcard h2, .mj-postcard h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.45; }
.mj-postcard h2 a, .mj-postcard h3 a { color: var(--mj-ink); }
.mj-postcard h2 a:hover, .mj-postcard h3 a:hover { color: var(--mj-clay); }
.mj-postcard p { color: var(--mj-muted); font-size: 14px; line-height: 1.9; margin-bottom: 16px; }
.mj-postcard .mj-more { margin-top: auto; font-size: 13px; }

/* 分页 */
.mj-pager { margin-top: 60px; }
.mj-pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mj-pager .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--mj-line); border-radius: var(--mj-r); color: var(--mj-ink-soft); font-size: 14px;
}
.mj-pager .page-numbers:hover { border-color: var(--mj-ink); }
.mj-pager .page-numbers.current { background: var(--mj-ink); border-color: var(--mj-ink); color: var(--mj-white); }
.mj-pager .page-numbers.dots { border: 0; }

/* 单页团队/案例头部 */
.mj-profile { display: grid; grid-template-columns: .82fr 1.18fr; gap: 66px; align-items: start; }
.mj-profile__photo { position: relative; }
.mj-profile__photo img { width: 100%; border-radius: var(--mj-r); }
.mj-profile__photo::after {
  content: ""; position: absolute; right: -16px; bottom: -16px; left: 42%; top: 58%;
  border-right: 1px solid var(--mj-clay); border-bottom: 1px solid var(--mj-clay); opacity: .5; z-index: -1;
}
.mj-profile__role { margin: 0 0 6px; color: var(--mj-clay); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.mj-profile h1 { margin: 0 0 18px; }
.mj-profile__attrs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 30px 0; background: var(--mj-line); border: 1px solid var(--mj-line); }
.mj-profile__attrs div { padding: 18px 20px; background: var(--mj-white); }
.mj-profile__attrs span { display: block; font-size: 11.5px; letter-spacing: .16em; color: var(--mj-muted); margin-bottom: 4px; }
.mj-profile__attrs b { font-family: var(--mj-serif); font-size: 15px; font-weight: 500; color: var(--mj-ink); }
.mj-profile__contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* 案例信息条 */
.mj-casemeta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 46px; background: var(--mj-line); border: 1px solid var(--mj-line); }
.mj-casemeta div { padding: 20px 22px; background: var(--mj-white); }
.mj-casemeta span { display: block; margin-bottom: 4px; font-size: 11.5px; letter-spacing: .16em; color: var(--mj-muted); }
.mj-casemeta b { font-family: var(--mj-serif); font-size: 15px; font-weight: 500; color: var(--mj-ink); }

.mj-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 40px 0; }
.mj-gallery img { width: 100%; border-radius: var(--mj-r); }

/* 404 / 搜索 / 空状态 */
.mj-empty { padding: 90px 0; text-align: center; }
.mj-empty h1, .mj-empty h2 { margin-bottom: 14px; }
.mj-empty p { color: var(--mj-muted); max-width: 480px; margin: 0 auto 28px; }
.mj-searchform { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.mj-searchform input[type="search"] {
  flex: 1; padding: 13px 18px; background: var(--mj-white); border: 1px solid var(--mj-line); border-radius: var(--mj-r); font-size: 14.5px;
}
.mj-searchform button { flex: none; }

/* 评论 */
.mj-comments { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--mj-line); }
.mj-comments h2, .mj-comments .comments-title { font-size: 22px; }
.mj-comments ol.comment-list, .mj-comments ol.children { list-style: none; margin: 0; padding: 0; }
.mj-comments ol.children { padding-left: 30px; }
.mj-comments .comment-body { padding: 24px 0; border-bottom: 1px solid var(--mj-line-soft); }
.mj-comments .comment-author { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--mj-ink); }
.mj-comments .comment-author img { border-radius: 50%; }
.mj-comments .comment-meta { font-size: 12px; color: var(--mj-muted); }
.mj-comments .reply a {
  display: inline-block; margin-top: 8px; padding: 5px 14px; border: 1px solid var(--mj-line);
  border-radius: 100px; font-size: 12px; color: var(--mj-muted);
}
.mj-comments .comment-form { margin-top: 34px; }
.mj-comments .comment-form label { display: block; margin-bottom: 6px; font-size: 12.5px; letter-spacing: .1em; color: var(--mj-muted); }
.mj-comments .comment-form input[type="text"],
.mj-comments .comment-form input[type="email"],
.mj-comments .comment-form input[type="url"],
.mj-comments .comment-form textarea {
  width: 100%; padding: 12px 15px; background: var(--mj-white); border: 1px solid var(--mj-line);
  border-radius: var(--mj-r); font-size: 14.5px; margin-bottom: 16px;
}
.mj-comments .comment-form p { margin-bottom: 0; }
.mj-comments .form-submit input, .mj-comments .submit {
  padding: 13px 30px; background: var(--mj-ink); border: 1px solid var(--mj-ink); border-radius: var(--mj-r);
  color: var(--mj-white); cursor: pointer; transition: all .3s var(--mj-ease);
}
.mj-comments .form-submit input:hover, .mj-comments .submit:hover { background: var(--mj-clay); border-color: var(--mj-clay); }
.mj-comments .comment-respond { margin-top: 40px; }
.mj-comments .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mj-muted); }
.mj-comments .comment-form-cookies-consent label { margin: 0; }
.comment-navigation .nav-links { display: flex; justify-content: space-between; margin-top: 24px; }

/* WP 核心类 */
.alignleft { float: left; margin: 0 26px 18px 0; }
.alignright { float: right; margin: 0 0 18px 26px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky { }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { margin: 0; }
.bypostauthor > .comment-body .comment-author { font-weight: 600; }
.wp-block-quote { border-left: 2px solid var(--mj-clay); padding-left: 26px; }
.wp-block-button__link { border-radius: var(--mj-r); }
.mj-prose .wp-block-table { overflow-x: auto; }

/* =========================================================
   14.5 补充组件（FAQ / 文章摘要 / 目录 / 作者 / 服务卡）
   ========================================================= */
.mj-logo__link { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.mj-logo__link:hover { color: inherit; }
.mj-ph { width: 100%; height: 100%; display: block; }

[id] { scroll-margin-top: 96px; }

/* 常见问题 */
.mj-faq { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.mj-faq__intro h2 { margin: 0 0 16px; font-size: clamp(25px, 3vw, 34px); }
.mj-faq__intro .mj-btn { margin-top: 26px; }
.mj-faq__item { border-bottom: 1px solid var(--mj-line); }
.mj-faq__item:first-child { border-top: 1px solid var(--mj-line); }
.mj-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--mj-serif); font-size: 17.5px; color: var(--mj-ink);
  transition: color .3s var(--mj-ease);
}
.mj-faq__item summary::-webkit-details-marker { display: none; }
.mj-faq__item summary:hover { color: var(--mj-clay); }
.mj-faq__item i { position: relative; width: 16px; height: 16px; flex: none; }
.mj-faq__item i::before,
.mj-faq__item i::after { content: ""; position: absolute; background: var(--mj-clay); transition: transform .3s var(--mj-ease); }
.mj-faq__item i::before { left: 0; top: 7.5px; width: 16px; height: 1px; }
.mj-faq__item i::after { left: 7.5px; top: 0; width: 1px; height: 16px; }
.mj-faq__item[open] i::after { transform: scaleY(0); }
.mj-faq__answer { padding: 0 0 24px; color: var(--mj-muted); font-size: 14.5px; line-height: 1.95; }
.mj-faq__answer p { margin: 0; }

/* 文章要点速览 */
.mj-summary { margin: 0 0 38px; padding: 24px 28px; border-left: 2px solid var(--mj-clay); background: var(--mj-sand-2); }
.mj-summary__label { margin: 0 0 8px; font-size: 11px; letter-spacing: .26em; color: var(--mj-clay); text-transform: uppercase; }
.mj-summary__text { margin: 0; font-family: var(--mj-serif); font-size: 15.5px; line-height: 1.95; color: var(--mj-ink); }

/* 文章目录 */
.mj-toc { margin: 0 0 38px; padding: 22px 26px; border: 1px solid var(--mj-line-soft); background: var(--mj-white); border-radius: var(--mj-r); }
.mj-toc__title { margin: 0 0 12px; font-size: 11px; letter-spacing: .24em; color: var(--mj-muted); text-transform: uppercase; }
.mj-toc ol { margin: 0; padding-left: 1.1em; columns: 2; column-gap: 34px; }
.mj-toc li { margin: 0 0 7px; font-size: 13.5px; break-inside: avoid; }
.mj-toc a { color: var(--mj-ink-soft); }
.mj-toc a:hover { color: var(--mj-clay); }

/* 作者信息 */
.mj-author { display: flex; gap: 18px; margin-top: 46px; padding: 26px 28px; background: var(--mj-sand-2); border-radius: var(--mj-r); }
.mj-author__avatar { border-radius: 50%; flex: none; }
.mj-author__name { margin: 0 0 5px; font-family: var(--mj-serif); font-size: 17px; color: var(--mj-ink); }
.mj-author__desc { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--mj-muted); }
.mj-updated { margin: 26px 0 0; font-size: 12.5px; color: var(--mj-muted); letter-spacing: .04em; }

.mj-article__cover { margin: 0 0 40px; }
.mj-article__cover img { width: 100%; border-radius: var(--mj-r); }

.mj-related { margin-top: 66px; padding-top: 42px; border-top: 1px solid var(--mj-line); }
.mj-related__title { margin: 0 0 28px; font-size: 22px; }
.mj-related .mj-postcard h3, .mj-related .mj-postcard h2 { font-size: 17px; }
.mj-related .mj-postcard p { font-size: 13px; }
.mj-related .mj-postcard .mj-more { display: none; }

/* 服务卡片 */
.mj-service-card {
  padding: 42px 38px; background: var(--mj-white); border: 1px solid var(--mj-line-soft);
  border-radius: var(--mj-r); transition: transform .45s var(--mj-ease), box-shadow .45s var(--mj-ease);
}
.mj-service-card:hover { transform: translateY(-5px); box-shadow: var(--mj-shadow); }
.mj-service-card__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.mj-service-card__head .mj-service__no { margin: 4px 0 0; }
.mj-service-card h2 { margin: 0 0 12px; font-size: 23px; }
.mj-service-card > p { color: var(--mj-muted); font-size: 14.5px; line-height: 1.95; }
.mj-checklist { list-style: none; margin: 24px 0 0; padding: 0; }
.mj-checklist li { position: relative; margin: 0 0 10px; padding-left: 24px; font-size: 14px; color: var(--mj-ink-soft); }
.mj-checklist li::before {
  content: ""; position: absolute; left: 1px; top: 8px; width: 10px; height: 5px;
  border-left: 1px solid var(--mj-clay); border-bottom: 1px solid var(--mj-clay);
  transform: rotate(-45deg);
}
.mj-service-card__price {
  margin: 26px 0 0; padding-top: 20px; border-top: 1px dashed var(--mj-line);
  font-family: var(--mj-serif); font-size: 15px; color: var(--mj-clay);
}

.mj-project-budget { margin: 0 0 28px; padding: 13px 20px; background: var(--mj-sand-2); border-radius: var(--mj-r); font-size: 14px; color: var(--mj-ink-soft); }
.mj-comments-closed { font-size: 13.5px; color: var(--mj-muted); }
.mj-profile__photo .mj-avatar-fallback { aspect-ratio: 4 / 5; height: auto; }

/* =========================================================
   15. 动效
   ========================================================= */
[data-mj-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--mj-ease), transform .8s var(--mj-ease); }
[data-mj-reveal].is-in { opacity: 1; transform: none; }
[data-mj-reveal][data-mj-delay="1"] { transition-delay: .1s; }
[data-mj-reveal][data-mj-delay="2"] { transition-delay: .18s; }
[data-mj-reveal][data-mj-delay="3"] { transition-delay: .26s; }
[data-mj-reveal][data-mj-delay="4"] { transition-delay: .34s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-mj-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   16. 响应式
   ========================================================= */
@media (max-width: 1180px) {
  :root { --mj-sec: 90px; }
  .mj-hero__body { padding: 84px 44px 80px 28px; }
  .mj-about { gap: 54px; }
  .mj-contact { gap: 54px; }
  .mj-team { grid-template-columns: repeat(3, 1fr); }
  .mj-footer__main { grid-template-columns: 1.2fr .7fr .7fr 1fr; gap: 38px; }
}

@media (max-width: 1024px) {
  .mj-nav { display: none; }
  .mj-burger { display: block; }
  .mj-header__actions { margin-left: auto; }
  .mj-header__inner { min-height: 74px; }
  .mj-hero__grid { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .mj-hero__body { padding: 64px 28px 52px; }
  .mj-hero__media { height: 58vw; min-height: 320px; }
  .mj-hero__meta { margin-top: 42px; gap: 28px; }
  .mj-hero__scroll { display: none; }
  .mj-hero__vert { display: none; }
  .mj-services { grid-template-columns: repeat(2, 1fr); }
  .mj-service { border-bottom: 1px solid var(--mj-line); }
  .mj-service:nth-child(2n) { border-right: 0; }
  .mj-service:nth-last-child(-n+2) { border-bottom: 0; }
  .mj-grid--3, .mj-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mj-about { grid-template-columns: 1fr; gap: 46px; }
  .mj-about__media { max-width: 560px; }
  .mj-process { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .mj-step::before { display: none; }
  .mj-profile { grid-template-columns: 1fr; gap: 40px; }
  .mj-profile__photo { max-width: 420px; }
  .mj-entry__grid { grid-template-columns: 1fr; gap: 48px; }
  .mj-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .mj-widget { margin-bottom: 0; }
  .mj-contact { grid-template-columns: 1fr; }
  .mj-quotes { grid-template-columns: 1fr; gap: 18px; }
  .mj-footer__main { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 760px) {
  :root { --mj-sec: 68px; --mj-pad: 0 20px; }
  body { font-size: 15.5px; }
  .mj-section { padding: var(--mj-sec) 0; }
  .mj-sec-head { margin-bottom: 36px; }
  .mj-hero__body { padding: 46px 20px 42px; }
  .mj-hero__desc { margin-bottom: 28px; }
  .mj-hero__meta b { font-size: 24px; }
  .mj-hero__meta span { font-size: 11.5px; }
  .mj-tel { display: none; }
  .mj-services { grid-template-columns: 1fr; }
  .mj-service { border-right: 0; border-bottom: 1px solid var(--mj-line); padding: 32px 4px; }
  .mj-service:nth-last-child(-n+2) { border-bottom: 1px solid var(--mj-line); }
  .mj-service:last-child { border-bottom: 0; }
  .mj-service__no { margin-bottom: 16px; }
  .mj-grid--2, .mj-grid--3, .mj-grid--4, .mj-postlist, .mj-team, .mj-gallery, .mj-postnav { grid-template-columns: 1fr; }
  .mj-stats { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .mj-stat { padding: 26px 12px; }
  .mj-process { grid-template-columns: 1fr; gap: 30px; }
  .mj-step { padding: 0; }
  .mj-step__no { margin-bottom: 16px; }
  .mj-about__badge { width: 104px; height: 104px; right: 0; bottom: 10px; }
  .mj-about__badge b { font-size: 26px; }
  .mj-form { padding: 28px 22px; }
  .mj-form__row { grid-template-columns: 1fr; gap: 0; }
  .mj-footer__main { grid-template-columns: 1fr; gap: 32px; padding: 52px 0 40px; }
  .mj-footer__bottom { justify-content: center; text-align: center; }
  .mj-sidebar { grid-template-columns: 1fr; }
  .mj-banner { padding: 62px 0 48px; }
  .mj-banner--img { padding: 100px 0 68px; }
  .mj-entry { padding: 52px 0; }
  .mj-profile__attrs, .mj-casemeta { grid-template-columns: repeat(2, 1fr); }
  .mj-casemeta { margin-bottom: 30px; }
  .mj-prose h2 { font-size: 23px; }
  .mj-prose h3 { font-size: 19px; }
  .mj-quote { padding: 30px 24px 26px; }
  .mj-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .mj-about__media::before { left: -12px; }
}

/* =========================================================
   17. 补充响应式
   ========================================================= */
@media (max-width: 1180px) {
  .mj-header__cta { display: none; }
}

@media (max-width: 1024px) {
  .mj-faq { grid-template-columns: 1fr; gap: 36px; }
  .mj-service-card { padding: 34px 28px; }
}

@media (max-width: 760px) {
  .mj-service-card { padding: 28px 22px; }
  .mj-toc ol { columns: 1; }
  .mj-summary { padding: 20px 22px; }
  .mj-author { flex-direction: column; gap: 12px; padding: 22px; }
  .mj-related .mj-grid { grid-template-columns: 1fr; }
  .mj-profile__photo { margin-bottom: 22px; }
  .mj-faq__item summary { font-size: 16px; padding: 18px 0; }
}
