@charset "utf-8";
/* ============================================================
   墨塔战略 · 首页视觉升级
   依据 motazhanlue-design-spec.html 设计规范实现
   原则：文案不变；字重最重 500；绿色仅用于 hover / 激活态；
        动效位移 ≤ 16px
   ============================================================ */

/* ---------- 1. 字体（自托管变量字体） ---------- */
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight-vf.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-vf.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* color */
  --paper: #FFFFFF;
  --paper-2: #F5F6F4;
  --ink: #111312;
  --ink-2: #5C625E;
  --ink-3: #9BA19D;
  --line: #E3E5E3;
  --brand: #12463A;
  --brand-hover: #0C382E;
  --brand-soft: #EAF0EC;

  /* type */
  --f-latin: "Inter Tight", "Inter", "Helvetica Neue", Arial;
  --f-cn: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-display: var(--f-latin), var(--f-cn);
  --font-sans: "Inter", var(--f-cn);
  --font-mono: "Inter", var(--f-cn);
  --font: var(--font-sans);

  --fs-display: clamp(31px, 5.1vw, 58px);
  --fs-h2: clamp(23px, 3.3vw, 37px);
  --fs-formula: clamp(19px, 2.9vw, 33px);
  --fs-h3: clamp(17px, 1.5vw, 21px);
  --fs-lead: clamp(14.5px, 1.25vw, 17px);
  --fs-body: 15px;
  --fs-eyebrow: 11.5px;
  --fs-micro: 12.5px;

  /* space */
  --sp-section: clamp(76px, 10vw, 152px);
  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1160px;
  --wrap: 1160px;

  /* motion */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-std: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 200ms;
  --t-mid: 400ms;
  --t-slow: 700ms;

  /* motai-motion 动效唯一变量组（禁止在组件内另设时长与缓动） */
  --motion-dur: 700ms;                          /* 标准时长 */
  --motion-dur-l: 900ms;                        /* 大标题、遮罩揭示 */
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1); /* 快出慢收，无回弹 */
  --motion-shift: 20px;                         /* 位移距离上限 */
  --motion-stagger: 90ms;                       /* 同组元素依次延迟 */

  /* 映射旧变量，避免残留旧色 / 旧字重 */
  --white: #FFFFFF;
  --body: #5C625E;
  --muted: #5C625E;
  --faint: #9BA19D;
  --soft-bg: #F5F6F4;
  --bg-cool: #F5F6F4;
  --bg-cool-2: #ECF0EE;
  --brand-600: #12463A;
  --brand-700: #12463A;
  --brand-800: #0C382E;
  --brand-2: #12463A;
  --brand-deep: #0C382E;
  --brand-tint: #EAF0EC;
  --brand-line: rgba(18, 70, 58, 0.16);
  --accent: #9BA19D;
  --accent-soft: #F5F6F4;
  --ease: var(--e-out);
  --dur: 400ms;
}

/* ---------- 3. 基础 ---------- */
body {
  color: var(--ink-2);
  background: var(--paper);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
}
a { color: inherit; }

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--maxw));
  margin-inline: auto;
}
.section { padding: var(--sp-section) 0; }
.section--soft { background: var(--paper-2); }
.section--paper { background: var(--paper); }

:focus-visible {
  outline: 3px solid rgba(18, 70, 58, 0.4);
  outline-offset: 4px;
}

/* ---------- 4. 首屏 Hero ---------- */
.home-hero {
  min-height: 100svh;
  color: var(--ink);
  background: var(--paper);
  background-image: none;
}
.home-hero::before,
.home-hero::after {
  display: none;
}
.home-hero-grid {
  display: none;
}
.home-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: calc(var(--nav-h) + 80px) 0 clamp(60px, 8vw, 120px);
}
.home-hero-copy {
  max-width: 1160px;
}
.home-hero h1 {
  max-width: 1160px;
  margin-bottom: clamp(32px, 4vw, 56px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.005em;
}
.home-hero-copy > p.home-hero-proof,
.home-hero-proof {
  position: relative;
  max-width: 720px;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.95;
  opacity: 0;
  transform: translateY(14px);
  animation: mota-hero-proof-in 700ms var(--e-out) 640ms forwards;
}
.home-hero-proof::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-bottom: 24px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  animation: mota-hero-line-in 900ms var(--e-out) 520ms forwards;
}
@keyframes mota-hero-proof-in {
  to { opacity: 1; transform: none; }
}
@keyframes mota-hero-line-in {
  to { transform: scaleX(1); }
}

/* 首屏标题遮罩上推动画（覆盖 common.css 时序） */
.hero-title .hero-line {
  transition: clip-path 900ms var(--e-out);
}
.hero-title .hero-line > span {
  transition: transform 900ms var(--e-out);
}
.hero-title .hero-line:nth-child(2),
.hero-title .hero-line:nth-child(2) > span {
  transition-delay: 80ms;
}
.hero-title .hero-line:nth-child(3),
.hero-title .hero-line:nth-child(3) > span {
  transition-delay: 160ms;
}

/* ---------- 7. 区块标题区 ---------- */
.section-head {
  gap: clamp(48px, 7vw, 96px);
  margin-bottom: clamp(56px, 7vw, 104px);
}
.eyebrow {
  display: block;
  margin-bottom: 22px;
  color: var(--ink-3);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1;
}
.eyebrow::before {
  display: none;
}
.section-title {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.005em;
}
.section-desc {
  max-width: 560px;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.95;
}

/* ---------- 8. 按钮与文字链接 ---------- */
.btn {
  gap: 10px;
  min-height: 0;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background var(--t-fast) var(--e-std),
    color var(--t-fast) var(--e-std), border-color var(--t-fast) var(--e-std);
}
.btn::after {
  content: "→";
  transition: transform 320ms var(--e-out);
}
.btn:hover::after {
  transform: translateX(5px);
}
.btn-primary {
  color: #fff;
  background: var(--brand);
}
.btn-primary:hover {
  color: #fff;
  background: var(--brand-hover);
  box-shadow: none;
  transform: none;
}
.btn-accent {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}
.btn-accent:hover {
  color: #fff;
  border-color: var(--brand-hover);
  background: var(--brand-hover);
  transform: none;
}

/* ---------- 9. 服务体系 ---------- */
.home-service-flow {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-service-pillar {
  min-height: 0;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
  background: transparent;
  transition: background var(--t-fast) var(--e-std);
}
.home-service-pillar:last-child {
  border-right: 0;
}
.home-service-pillar::before {
  display: none;
}
.home-service-pillar:hover {
  background: var(--paper-2);
  transform: none;
  box-shadow: none;
}
.home-service-icon {
  display: none;
}
.home-service-count {
  display: block;
  margin: 0 0 20px;
  color: var(--ink-3);
  font-family: var(--font);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  font-variant-numeric: normal;
  transition: color var(--t-fast) var(--e-std);
}
.home-service-pillar h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.5;
  transition: color var(--t-fast) var(--e-std);
}
.home-service-pillar p {
  margin: 0;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.9;
}
.home-service-pillar:hover .home-service-count,
.home-service-pillar:hover h3 {
  color: var(--brand);
}

.section-action {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}

/* ---------- 10. 标杆案例 ---------- */
.case-showcase {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.case-showcase__console {
  padding: clamp(28px, 3vw, 44px);
}
.case-showcase__meta {
  margin-bottom: 28px;
  color: var(--ink-3);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.26em;
}
.case-showcase__meta strong {
  color: var(--ink-3);
  font-family: var(--font);
  font-size: var(--fs-micro);
  letter-spacing: 0.04em;
}
.case-showcase__options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.case-showcase__option {
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.case-showcase__option:hover,
.case-showcase__option:focus-visible,
.case-showcase__option.is-active {
  border-color: var(--brand);
  color: var(--ink);
}
.case-showcase__thumb {
  background: var(--paper-2);
}
.case-showcase__thumb img {
  filter: grayscale(1) contrast(0.98) brightness(0.97);
}
.case-showcase__option:hover .case-showcase__thumb img,
.case-showcase__option:focus-visible .case-showcase__thumb img,
.case-showcase__option.is-active .case-showcase__thumb img {
  filter: grayscale(0) contrast(1);
}
.case-showcase__option-name {
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
}
.case-showcase__option:hover .case-showcase__option-name,
.case-showcase__option.is-active .case-showcase__option-name {
  color: var(--ink);
}
.case-showcase__copy {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.case-showcase__number {
  color: var(--ink-3);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.08em;
}
.case-showcase__copy h3 {
  margin: 18px 0 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.case-showcase__copy p {
  max-width: 420px;
  margin-bottom: 28px;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.9;
}
.case-showcase__stage {
  background: var(--paper-2);
}
.case-showcase__stage > img {
  filter: saturate(0.9) contrast(1.02);
}
/* figcaption 已移除（首页 2026-09-01 精简长条黑色方块） */

/* ---------- 11. 研修营（公式） ---------- */
.home-camp-feature {
  color: var(--ink);
  background: var(--paper-2);
}
.home-camp-feature::after {
  display: none;
}
.home-camp-feature .section-title {
  margin-bottom: clamp(40px, 5vw, 64px);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.28;
}
.home-camp-feature__equation-wrap {
  gap: 18px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.home-camp-feature__caption {
  color: var(--ink-3);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
}
.home-camp-feature__equation {
  color: var(--ink);
  font-size: var(--fs-formula);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.home-camp-feature__equation strong {
  color: var(--ink-3);
  font-weight: 400;
  white-space: nowrap;
  transition: color var(--t-mid) var(--e-std);
}
.home-camp-feature__equation strong.is-active {
  color: var(--brand);
}
.home-camp-feature__factors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-camp-feature__factors article {
  position: relative;
  min-height: 0;
  padding: clamp(26px, 3.4vw, 42px) clamp(20px, 2.6vw, 32px);
  border-right: 1px solid var(--line);
}
.home-camp-feature__factors article:last-child {
  border-right: 0;
}
/* 因子卡激活态：顶部 2px 品牌色由左展开，与公式项同步 */
.home-camp-feature__factors article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--e-out);
}
.home-camp-feature__factors article.is-active::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .home-camp-feature__factors article::after { transition: none; }
}
.home-camp-feature__factors span {
  color: var(--ink-3);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.home-camp-feature__factors h3 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.5;
}
.home-camp-feature__factors p {
  margin: 0;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.9;
}

/* ---------- 12. 关于 ---------- */
.home-about-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: clamp(56px, 8vw, 120px);
}
.home-about .section-title {
  margin-bottom: 28px;
}
.home-about-copy > p {
  margin: 0 0 24px;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.9;
}
.home-founder-profile {
  padding: 4px 0 8px clamp(28px, 4vw, 56px);
  border-left: 1px solid var(--line);
}
.home-founder-profile > span {
  color: var(--ink-3);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.26em;
}
.home-founder-profile h3 {
  margin: 28px 0 12px;
  color: var(--ink);
  font-size: clamp(23px, 3.3vw, 37px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.home-founder-profile p {
  margin: 14px 0 28px;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.9;
}
.home-founder-profile strong {
  display: block;
  margin: 28px 0 14px;
  color: var(--ink);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- 13. 联系 ---------- */
.home-contact {
  color: var(--ink);
  background: var(--paper);
  background-image: none;
}
.home-contact::before,
.home-contact::after {
  display: none;
}
.home-contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
}
.home-contact-label {
  color: var(--ink-3);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.26em;
}
.home-contact h2 {
  margin: 22px 0 16px;
  color: var(--ink);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.005em;
  white-space: normal;
}
.home-contact-note {
  margin-top: 0;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  letter-spacing: 0;
}
.home-contact-address {
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.home-contact-address span {
  color: var(--ink-3);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.26em;
}
.home-contact-address strong {
  color: var(--ink);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.9;
}

/* ---------- 14. Footer ---------- */
.footer {
  padding: clamp(76px, 10vw, 152px) 0 40px;
  color: var(--ink-2);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer-copy {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 14px;
}
.footer h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.26em;
}
.footer-links a {
  color: var(--ink-2);
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-address {
  color: var(--ink-2);
  font-size: 14px;
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
}

/* ---------- 15. 入场动效（motai-motion 规范） ----------
   唯一允许的两种入场：A 标准揭示（淡入+轻微上移）、C 签名动作（clip-path 揭示）。
   所有动画仅播放一次；无 JS 时内容保持可见（样式以 .js 作用域包裹）。 */

/* A. 标准揭示 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--motion-shift));
  transition: opacity var(--motion-dur) var(--motion-ease),
              transform var(--motion-dur) var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* C. 首屏天际线：逐笔勾勒（签名动作之一）。
   每个图形 pathLength 归一为 1，dashoffset 由 1 收到 0；
   逐笔延迟由 JS 写入 --draw-delay。 */
.js .hero-skyline .skyline [data-draw] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 900ms var(--motion-ease);
  transition-delay: var(--draw-delay, 0ms);
}
.js .hero-skyline.is-drawn .skyline [data-draw] {
  stroke-dashoffset: 0;
}

/* C. 关于墨塔塔形图形：从下向上生长（签名动作之二；opacity 见第 16 节） */
.js .brand-tower {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js .brand-tower.is-visible { clip-path: inset(0 0 0 0); }

/* 首屏标题倾斜：原由 <i> 标签产生，改为显式声明，便于统一开关。
   如需改为正体，删除本条规则即可，不要改动 HTML。 */
.hero-title .hero-line > span { font-style: italic; }

/* 服务体系：行间分隔线，scaleX 从左展开，与所在行同时（继承 --reveal-delay） */
.home-service-pillar:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: var(--line);
}
.js .home-service-pillar:not(:last-child)::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-dur) var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .home-service-pillar.is-visible:not(:last-child)::after {
  transform: scaleX(1);
}

/* 无障碍兜底：减弱动态效果时全部立即显示 */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js .hero-skyline .skyline [data-draw] {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  .js .brand-tower {
    clip-path: inset(0) !important;
    transition: none !important;
  }
  .js .home-service-pillar:not(:last-child)::after {
    transform: scaleX(1) !important;
    transition: none !important;
  }
}

/* 移动端（≤768px）：位移减半，天际线揭示压到 1400ms */
@media (max-width: 768px) {
  :root {
    --motion-shift: 12px;
  }
  .js .hero-skyline .skyline [data-draw] {
    transition-duration: 700ms;
  }
}

.to-top {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: none;
}
.to-top:hover {
  color: var(--paper);
  background: var(--brand);
}

/* ---------- 16. 响应式（单一断点 820px 为主） ---------- */
@media (max-width: 820px) {
  .section { padding: 76px 0; }
  .section-head {
    display: block;
    margin-bottom: 40px;
  }
  .section-head .section-desc {
    margin-top: 16px;
  }

  .home-hero { min-height: 88svh; }
  .home-hero-inner {
    padding: calc(var(--nav-h) + 60px) 0 72px;
  }

  .home-service-flow { grid-template-columns: 1fr; }
  .home-service-pillar {
    padding: 28px 0;
    border-right: 0;
  }
  .home-service-pillar:last-child { border-bottom: 0; }

  .case-showcase { grid-template-columns: 1fr; }
  .case-showcase__console { display: contents; }
  .case-showcase__meta {
    order: 1;
    margin: 0;
    padding: 24px 22px 18px;
  }
  .case-showcase__options {
    order: 2;
    padding: 0 18px 22px;
    gap: 10px;
  }
  .case-showcase__stage { order: 3; }
  .case-showcase__copy {
    order: 4;
    margin: 0;
    padding: 32px 22px 40px;
  }

  .home-camp-feature__factors { grid-template-columns: 1fr; }
  .home-camp-feature__factors article {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .home-camp-feature__factors article:last-child { border-bottom: 0; }

  .home-about-grid,
  .home-contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .home-founder-profile {
    padding-left: 0;
    border-left: 0;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   G2 首屏实现（依据《墨塔战略·首屏实现规格 方案 G2》）
   - 浅纸面、贴底排版、右下角上海天际线线稿（自上而下遮罩淡出）
   - 文案与原站完全一致（保留"蜀都丰"）
   ============================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow: hidden;
  font-family: var(--font);
}

.hero-wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

/* 背景：上海天际线线稿 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.skyline {
  width: 46%;
  min-width: 420px;
  height: auto;
  display: block;
  color: var(--brand);
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0%, #000 58%);
          mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0%, #000 58%);
}

/* 主体：内容贴底 */
.hero-body {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(56px, 8vw, 104px);
}

.hero-title {
  font-size: clamp(33px, 5.6vw, 72px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
}
.hero-title span { display: block; }

.hero-rule {
  height: 1px;
  width: 44%;
  background: #CFD4D0;
  margin-top: clamp(40px, 6vw, 72px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--e-out) 520ms;
}
.hero-section.is-ready .hero-rule { transform: scaleX(1); }

/* 信任状：标签与品牌名分层。原为 12.5px #9BA19D，
   对白底仅 2.63:1，低于 WCAG AA 的 4.5:1 要求。 */
.hero-cap {
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-cap__label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  color: var(--ink-2);
}
.hero-cap__brands {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  max-width: 26em;
}

/* 响应式 */
@media (max-width: 820px) {
  .skyline {
    width: 100%;
    min-width: 0;
    opacity: 0.32;
  }
  .hero-body { padding-bottom: clamp(120px, 26vw, 180px); }
  .hero-cap__brands { font-size: 16px; max-width: none; }
  .hero-rule { width: 56%; }
}

/* 降级：减弱动态效果（标题/副文/天际线由第 15 节 [data-reveal] 兜底接管） */
@media (prefers-reduced-motion: reduce) {
  .hero-rule {
    transform: scaleX(1) !important;
    transition: none !important;
  }
  .skyline { opacity: 0.42 !important; }
}

/* ============================================================
   I1 "联系墨塔" 实现（依据《墨塔战略·联系墨塔 实现规格 方案 I1》）
   - 左下角苏州河汇入黄浦江的交汇口线稿，外白渡桥 + 绿点
   - 左右两栏：标签+标题 / 地址+预约按钮
   - 与首屏 G2 同一套视觉语言：单色线稿 + 一个绿点
   - 文案与原站完全一致（保留"来访请提前预约"）
   ============================================================ */

.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  font-family: var(--font);
}

.contact-inner { padding: clamp(76px, 10vw, 140px) 0; }
.contact-wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
}

.contact-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1;
  color: var(--ink-3);
}
.contact-title {
  font-size: clamp(23px, 3.3vw, 37px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 26px 0 0;
}
.contact-note {
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0;
}

.contact-addr {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0 36px;
}
.contact-addr-text {
  font-size: var(--fs-body);
  line-height: 2;
  margin: 20px 0 0;
  color: var(--ink);
  font-style: normal;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  padding: 15px 26px;
  border-radius: 2px;
  margin-top: 30px;
  transition: background 200ms ease;
}
.contact-btn .ar {
  transition: transform 320ms var(--e-out);
}
.contact-btn:hover { background: var(--brand-hover); }
.contact-btn:hover .ar { transform: translateX(5px); }

/* 图形：苏州河汇入黄浦江 + 外白渡桥 + 绿点 */
.contact-geo {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}
.contact-geo svg {
  height: 100%;
  width: auto;
  display: block;
  margin-left: 1%;
  opacity: 0;
  transition: opacity 1000ms var(--e-out) 200ms;
}
.contact-section.is-in .contact-geo svg { opacity: 1; }

.geo-lead {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 800ms var(--e-out) 700ms;
}
.contact-section.is-in .geo-lead { transform: scaleX(1); }
.geo-dot {
  transform: scale(0);
  transform-origin: 268px 252px;
  transition: transform 400ms var(--e-out) 900ms;
}
.contact-section.is-in .geo-dot { transform: scale(1); }

/* 文字入场由 motai-motion 的 [data-reveal] 机制接管（见第 15 节） */

/* 响应式：900px 以下图形移到底部通栏 */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-inner { padding-bottom: 0; }
  .contact-geo {
    position: static;
    display: block;
    margin-top: clamp(48px, 10vw, 72px);
  }
  .contact-geo svg {
    width: 100%;
    height: clamp(200px, 54vw, 280px);
    margin-left: 0;
    object-fit: cover;
  }
}

/* 降级：减弱动态效果（文字部分由第 15 节 [data-reveal] 兜底接管） */
@media (prefers-reduced-motion: reduce) {
  .contact-geo svg {
    transition: opacity 160ms linear !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .geo-lead {
    transform: scaleX(1) !important;
    transition: none !important;
  }
  .geo-dot {
    transform: scale(1) !important;
    transition: none !important;
  }
}

/* ============================================================
   16. motai-motion 交互补充
   - Tab 切换：只做 opacity 过渡（旧 150ms 淡出 / 新 200ms 淡入），无位移无缩放
   - 悬停微交互：案例条目右移 4px；文字链接 #218F82 下划线左起展开
   - 塔形图形定位（C 纵向揭示见第 15 节）
   ============================================================ */

/* Tab 切换：面板与文案区仅 opacity 过渡，高度稳定（stage 已有固定 360px） */
.case-showcase__stage {
  transition: opacity 200ms ease;
}
.case-showcase__stage.is-switching {
  transition-duration: 150ms;
  opacity: 0;
}
.case-showcase__stage.is-switching > img {
  transform: none;
}
.case-showcase__copy {
  transition: opacity 200ms ease;
}
.case-showcase__copy.is-switching {
  opacity: 0;
  transform: none;
}
/* 摘要固定两行高，避免不同案例文案行数变化引起高度跳动 */
.case-showcase__copy p {
  min-height: calc(var(--fs-lead) * 1.9 * 2);
}

/* 悬停微交互 1：案例条目右移 4px（240ms；.js 前缀提高特异性，压过 is-visible 的 transform:none） */
.case-showcase__option {
  transition: border-color 240ms var(--motion-ease),
    color 240ms var(--motion-ease),
    transform 240ms var(--motion-ease);
}
.js .case-showcase__option:hover,
.js .case-showcase__option:focus-visible,
.js .case-showcase__option.is-active {
  transform: translateX(4px);
}

/* 悬停微交互 2：文字链接 #218F82 下划线由左向右展开（240ms） */
.footer-links a {
  position: relative;
  padding-bottom: 2px;
  text-decoration: none;
}
.footer-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #218F82;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--motion-ease);
}
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

/* 关于墨塔：塔形图形（新增，与天际线同一线稿视觉语言） */
.home-about {
  position: relative;
}
.brand-tower {
  display: block;
  width: clamp(80px, 9vw, 120px);
  height: auto;
  margin: clamp(48px, 6vw, 72px) auto 0;
  color: var(--brand);
  opacity: 0.4;
}
.js .brand-tower {
  opacity: 0.4;   /* 覆盖 A 的初始隐藏；clip-path 动画期间保持视觉透明度 */
  transform: none;
}

/* 移动端：行间分隔线改为底部横线（scaleX 从左展开，与所在行同时） */
@media (max-width: 820px) {
  .home-service-pillar:not(:last-child)::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 1px;
  }
}
