/* ==========================================================================
   北京麓泽律师事务所 — 官网首页
   设计系统：珍珠白 · 香槟金 · 墨黑 | 克制 · 专业 · 编辑感
   ========================================================================== */

:root {
  /* 色彩 */
  --pearl: #FFFFFF;          /* 白 主背景 */
  --pearl-2: #F5F4F1;        /* 浅灰 辅助背景 */
  --ink: #191713;            /* 墨黑 */
  --ink-2: #26231E;          /* 深墨（深色模块） */
  --gold: #AE9055;           /* 香槟金 主强调 */
  --gold-2: #8F7440;         /* 深金 */
  --gold-3: #C9AE77;         /* 浅金（深底上使用） */
  --text: #23211C;           /* 正文 */
  --text-2: #6E685D;         /* 次级文字 */
  --line: #E3DCCC;           /* 细线 */
  --line-dark: rgba(201, 174, 119, .28);

  /* 字体 */
  --serif: "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", "Microsoft YaHei", serif;

  /* 布局 */
  --container: clamp(1540px, calc(62.5vw + 180px), 2580px);
  --gutter: clamp(20px, 4vw, 80px);
  --ease: cubic-bezier(.22, .61, .21, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ============ Reset ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--pearl);
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

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

/* ============ 通用 ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(96px, 12vw, 176px) 0; position: relative; }

.eyebrow {
  font-size: 13px;
  letter-spacing: .42em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 28px;
}
.eyebrow i {
  font-family: var(--latin);
  font-style: normal;
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--text-2);
  margin-left: 14px;
}
.eyebrow-dark { color: var(--gold-3); }
.eyebrow-dark i { color: rgba(244, 240, 233, .5); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: .06em;
  color: var(--ink);
}
.h2-dark { color: #F4F0E9; }

.gold-rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 36px 0;
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.sec-head-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 2.1;
  text-align: right;
  padding-bottom: 10px;
  max-width: 320px;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 44px;
  font-size: 14px;
  letter-spacing: .28em;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all .5s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(25, 23, 19, .28);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  transform: translateY(-2px);
}
.btn-sm { padding: 11px 30px; font-size: 13px; }

/* ==========================================================================
   Logo 开场动画
   ========================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--pearl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.intro.done { opacity: 0; visibility: hidden; }
.intro-inner { display: flex; align-items: center; gap: 28px; width: min(760px, 88vw); }
.intro-line { flex: 1; height: 1px; background: var(--gold); transform: scaleX(0); }
.intro-line:first-child { transform-origin: right center; animation: lineOutL 1s var(--ease) .15s forwards; }
.intro-line:last-child { transform-origin: left center; animation: lineOutR 1s var(--ease) .15s forwards; }
@keyframes lineOutL { to { transform: scaleX(1); } }
@keyframes lineOutR { to { transform: scaleX(1); } }

.intro-logo {
  display: block;
  width: 46%;
  flex: none;
  opacity: 0;
  transform: translateY(14px) scale(.96);
  animation: logoIn 1.1s var(--ease-out) .4s forwards;
}
@keyframes logoIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.intro-skip {
  position: absolute;
  right: 40px;
  bottom: 36px;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--text-2);
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  transition: color .3s;
}
.intro-skip:hover { color: var(--gold); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1003;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
  background: transparent;
}
.header-inner {
  position: relative;
  max-width: clamp(1540px, calc(62.5vw + 180px), 2580px);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: clamp(98px, 4.55vw, 175px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 1.85vw, 71px);
  box-sizing: border-box;
}
.header.scrolled {
  background: rgba(237, 231, 219, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
/* 悬停菜单区时 header 出现背景（参考方达 header-hover） */
.header.menu-hover {
  background: rgba(237, 231, 219, .97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.header.menu-hover .nav-link { color: var(--text); }
.header.menu-hover .header-wechat { color: var(--text); }

.brand { flex-shrink: 0; }
.brand-logo {
  width: clamp(190px, 8.8vw, 338px);
  transition: width .5s var(--ease), filter .5s;
}

.nav { display: flex; gap: clamp(74px, 3.43vw, 132px); }
.nav-link {
  position: relative;
  font-size: clamp(18px, .835vw, 32px);
  line-height: clamp(27px, 1.25vw, 48px);
  letter-spacing: 0;
  color: rgba(250, 248, 244, .92);
  padding: clamp(8px, .37vw, 14px) 0;
  transition: color .4s;
  font-weight: 700;
}
.header.scrolled .nav-link { color: var(--text); }
/* 指示条：贴 header 顶边，宽度跟随菜单项（参考方达 rline > span） */
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: clamp(4px, .185vw, 7px);
  width: 36px;
  background: var(--gold);
  opacity: 0;
  transition: left .5s var(--ease), width .5s var(--ease), opacity .35s;
  z-index: 2;
  pointer-events: none;
}
.nav-indicator.visible { opacity: 1; }
.nav-link:hover, .nav-link.active { color: var(--gold) !important; }

.header-cta { flex-shrink: 0; }
.header-wechat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(42px, 1.95vw, 75px);
  height: clamp(42px, 1.95vw, 75px);
  color: rgba(250, 248, 244, .92);
  transition: color .4s;
}
.header-wechat svg { width: clamp(25px, 1.16vw, 44px); height: clamp(25px, 1.16vw, 44px); fill: currentColor; }
.header-wechat:hover { color: var(--gold); }
.header.scrolled .header-wechat { color: var(--text); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1002;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all .45s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--pearl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 8vw, 56px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(24px);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .6s, color .3s;
}
.mobile-menu.open .mobile-nav a { transform: translateY(0); opacity: 1; }
.mobile-menu.open .mobile-nav a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open .mobile-nav a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.open .mobile-nav a:nth-child(3) { transition-delay: .2s; }
.mobile-menu.open .mobile-nav a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.open .mobile-nav a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.open .mobile-nav a:nth-child(6) { transition-delay: .38s; }
.mobile-menu.open .mobile-nav a:nth-child(7) { transition-delay: .44s; }
.mobile-nav a:active { color: var(--gold); }
.mobile-menu-foot { margin-top: 48px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.9s var(--ease);
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-slide.is-active img { animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-dots {
  position: absolute;
  left: var(--gutter);
  bottom: 48px;
  z-index: 3;
  display: flex;
  gap: 12px;
}
.hero-dot {
  width: 34px;
  height: 2px;
  padding: 10px 0;
  background: none;
  cursor: pointer;
  position: relative;
  transition: width .55s var(--ease);
}
.hero-dot.is-active { width: 56px; }
.hero-dot::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: rgba(251, 249, 245, .32);
  transform: translateY(-50%);
  transition: background .5s var(--ease);
}
.hero-dot:hover::after { background: rgba(251, 249, 245, .62); }
.hero-dot.is-active::after { background: var(--gold-3); }
.hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 14, .46) 0%, rgba(20, 18, 14, .18) 34%, rgba(20, 18, 14, .62) 100%),
    linear-gradient(90deg, rgba(20, 18, 14, .55) 0%, rgba(20, 18, 14, .2) 52%, rgba(20, 18, 14, .1) 100%);
}

.hero-wrap { position: relative; z-index: 2; }
.hero-content {
  padding-top: 60px;
  max-width: min(35%, 520px);
  font-family: "Microsoft YaHei", "PingFang SC", var(--sans);
}
.hero-eyebrow {
  font-family: var(--latin);
  font-size: 14px;
  letter-spacing: .5em;
  color: var(--gold-3);
  margin-bottom: 34px;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 2.1s forwards;
}
.hero-title {
  font-family: "Microsoft YaHei", "PingFang SC", var(--sans);
  font-size: clamp(38px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .1em;
  color: #FBF9F5;
}
.hero-line { display: block; overflow: hidden; }
.hero-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.3s var(--ease-out) forwards;
}
.hero-line:nth-child(1) > span { animation-delay: 2.2s; }
.hero-line:nth-child(2) > span { animation-delay: 2.38s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-sub {
  margin-top: 32px;
  font-size: 16px;
  letter-spacing: .62em;
  color: var(--gold-3);
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 2.55s forwards;
}
.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 2.75s forwards;
}
.hero .btn-ghost { color: #FBF9F5; border-color: rgba(251, 249, 245, .4); }
.hero .btn-ghost:hover { border-color: var(--gold-3); color: var(--gold-3); }

/* 二次访问（无开场动画）时 Hero 直接播放，不再等待 Intro 时长 */
.no-intro .hero-eyebrow { animation-delay: .15s; }
.no-intro .hero-line:nth-child(1) > span { animation-delay: .25s; }
.no-intro .hero-line:nth-child(2) > span { animation-delay: .43s; }
.no-intro .hero-sub { animation-delay: .75s; }
.no-intro .hero-desc { animation-delay: .9s; }
.no-intro .hero-actions { animation-delay: 1.05s; }

/* 矮视口（小尺寸笔记本）压缩 Hero 间距，确保按钮组完整可见 */
@media (max-height: 760px) {
  .hero-content { padding-top: 36px; }
  .hero-eyebrow { margin-bottom: 22px; }
  .hero-sub { margin-top: 22px; }
  .hero-desc { margin-top: 16px; line-height: 1.9; }
  .hero-actions { margin-top: 36px; }
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-scroll-line {
  width: 1px;
  height: 64px;
  background: rgba(251, 249, 245, .32);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 22px;
  background: var(--gold-3);
  animation: scrollDrop 2.2s var(--ease) infinite;
}
@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(320%); }
}
.hero-scroll-text {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: .4em;
  color: rgba(251, 249, 245, .6);
  writing-mode: vertical-rl;
}

/* 无开场动画时（同一会话内再次进入） */
body.no-intro .hero-eyebrow { animation-delay: .3s; }
body.no-intro .hero-line:nth-child(1) > span { animation-delay: .4s; }
body.no-intro .hero-line:nth-child(2) > span { animation-delay: .58s; }
body.no-intro .hero-sub { animation-delay: .9s; }
body.no-intro .hero-actions { animation-delay: 1.1s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   02 核心定位
   ========================================================================== */
.positioning { background: var(--pearl); }
.pos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.pos-body {
  font-size: 16px;
  color: var(--text-2);
  line-height: 2.2;
  max-width: 560px;
}
.pos-nums {
  margin-top: 64px;
  display: flex;
  gap: clamp(40px, 6vw, 88px);
}
.pos-num { display: flex; flex-direction: column; gap: 12px; }
.pos-num-big {
  font-family: var(--latin);
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
}
.pos-num-label {
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--text-2);
  line-height: 1.9;
}
.pos-media { position: relative; padding: 0 0 54px 54px; }
.pos-vertical {
  position: absolute;
  top: 54px;
  left: 0;
  writing-mode: vertical-rl;
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: .46em;
  color: var(--gold);
  height: 78%;
  display: flex;
  align-items: center;
}
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--pearl-2);
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  will-change: transform;
}
.pos-caption {
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--text-2);
  text-align: right;
}

/* ==========================================================================
   03 核心业务 · 六阶段
   ========================================================================== */
.practice {
  background: var(--pearl-2);
}
.process { position: relative; padding-bottom: 8px; }
.process .container { position: relative; }
.process-rail {
  position: absolute;
  left: var(--gutter);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  z-index: 0;
}
.process-rail span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gold);
  transition: height .2s linear;
}
.process-list { position: relative; z-index: 1; }
.stage {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 220px;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 4.4vw, 56px) 0 clamp(36px, 4.4vw, 56px) clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.stage:first-child { border-top: 1px solid var(--line); }
.stage::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(32px, 4vw, 56px) + var(--gutter));
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--pearl-2);
  border: 1px solid var(--gold);
  transform: rotate(45deg) translateY(-50%) translateX(3px);
  transition: background .5s;
}
.stage.active::before { background: var(--gold); }

.stage-num {
  font-family: var(--latin);
  font-size: clamp(64px, 7vw, 96px);
  line-height: 1;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  transition: color .8s var(--ease);
}
.stage.active .stage-num { color: var(--gold); }
.stage-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink);
  margin-bottom: 10px;
}
.stage-items {
  font-size: 14.5px;
  letter-spacing: .1em;
  color: var(--text-2);
}
.stage-en {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--text-2);
  text-align: right;
  opacity: .75;
}

/* ==========================================================================
   04 用户真正关心的问题
   ========================================================================== */
.insights { background: var(--pearl); }
.qa-list { border-top: 1px solid var(--line); }
.qa-row {
  display: grid;
  grid-template-columns: 64px 120px minmax(0, 1fr) 130px 40px;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: background .4s, padding .4s;
  position: relative;
}
.qa-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .6s var(--ease);
}
.qa-row:hover::after { width: 100%; }
.qa-idx {
  font-family: var(--latin);
  font-size: 17px;
  color: var(--gold);
  letter-spacing: .06em;
}
.qa-cat {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--text-2);
}
.qa-title {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  transition: color .4s, transform .5s var(--ease);
}
.qa-row:hover .qa-title { color: var(--gold-2); transform: translateX(8px); }
.qa-date {
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--text-2);
  text-align: right;
}
.qa-arrow {
  font-size: 20px;
  color: var(--text-2);
  text-align: right;
  transition: color .4s, transform .5s var(--ease);
}
.qa-row:hover .qa-arrow { color: var(--gold); transform: translateX(6px); }

/* ==========================================================================
   05 真实案例
   ========================================================================== */
.cases { background: var(--pearl); padding-top: 0; }
.case {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
  margin-bottom: clamp(88px, 11vw, 152px);
}
.case:last-child { margin-bottom: 0; }
.case-rev .case-media { order: 2; }
.case-rev .case-info { order: 1; }
.case-media {
  overflow: hidden;
  background: var(--pearl-2);
}
.case-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
  will-change: transform;
}
.case:hover .case-media img { transform: scale(1.045); }
.case-info { max-width: 480px; }
.case-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold-2);
  border: 1px solid var(--line-dark);
  padding: 7px 18px;
  margin-bottom: 26px;
}
.case-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .05em;
  color: var(--ink);
  margin-bottom: 22px;
}
.case-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 2.15;
  margin-bottom: 30px;
}
.case-more {
  font-size: 13px;
  letter-spacing: .24em;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  transition: color .4s, letter-spacing .5s;
}
.case:hover .case-more { color: var(--gold-2); letter-spacing: .32em; }

/* ==========================================================================
   06 麓泽影像 · 形象片
   ========================================================================== */
.team { background: var(--pearl-2); }
.video-feature { max-width: 1160px; margin: 0 auto; }
.video-frame {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 44px 96px -44px rgba(25, 23, 19, .42);
}
.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.video-play {
  position: absolute;
  left: 50%;
  top: 69%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 2;
  opacity: 1;
  transition: opacity .55s var(--ease);
}
.video-frame.playing .video-play { opacity: 0; pointer-events: none; }
.vp-btn {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 20px 46px -14px rgba(143, 116, 64, .62), 0 0 0 1px rgba(255, 255, 255, .32) inset;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.vp-btn svg { margin-left: 4px; }
.video-play:hover .vp-btn { transform: scale(1.08); background: var(--gold-2); }
.video-play:focus-visible { outline: 1px solid var(--gold); outline-offset: 8px; }
.vp-label {
  font-size: 12px;
  letter-spacing: .3em;
  text-indent: .3em;
  color: var(--ink);
  padding: 7px 16px;
  transition: background .5s var(--ease);
}
.video-frame.started .vp-label {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(4px);
}
.vp-label i {
  font-style: normal;
  font-family: var(--latin);
  letter-spacing: .14em;
  color: var(--gold-2);
  margin-left: 10px;
}
.video-caption {
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.video-caption i {
  font-style: normal;
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: .32em;
  color: var(--gold);
  white-space: nowrap;
}
.video-caption span {
  font-size: 13.5px;
  color: var(--text-2);
  letter-spacing: .04em;
  line-height: 2;
  text-align: right;
}

/* ==========================================================================
   07 法律洞察
   ========================================================================== */
.articles { background: var(--pearl); }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.article {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 34px;
  position: relative;
  transition: border-color .5s;
}
.article:hover { border-top-color: var(--gold); }
.article-no {
  font-family: var(--latin);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .08em;
}
.article-meta {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--text-2);
}
.article-title {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--ink);
  transition: color .4s;
}
.article:hover .article-title { color: var(--gold-2); }
.article-excerpt {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2.05;
  color: var(--text-2);
  flex: 1;
}
.article-more {
  margin-top: 26px;
  font-size: 18px;
  color: var(--gold);
  transition: transform .5s var(--ease);
}
.article:hover .article-more { transform: translateX(8px); }

/* ==========================================================================
   08 关于麓泽（墨黑模块）
   ========================================================================== */
.about {
  background: var(--ink-2);
  overflow: hidden;
}
.about-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--latin);
  font-size: clamp(120px, 21vw, 340px);
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 174, 119, .14);
  pointer-events: none;
  user-select: none;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-body {
  font-size: 16px;
  color: rgba(244, 240, 233, .72);
  line-height: 2.2;
  max-width: 540px;
}
.about .gold-rule { background: var(--gold-3); }
.about-list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 18px 40px;
}
.about-list li {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .18em;
  color: rgba(244, 240, 233, .88);
  padding-left: 22px;
  position: relative;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold-3);
  transform: translateY(-50%) rotate(45deg);
}
.about-media { overflow: hidden; }
/* 浅色背景下的 about-grid 变体（team 页等） */
.on-light .about-body { color: var(--text-2); }
.on-light .gold-rule { background: var(--gold); }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  will-change: transform;
}
/* LOGO 动画：白底视频 cover 到竖框，裁切无痕 */
.about-media video {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  display: block;
}
/* 律所简介：竖屏运镜视频 + 文字 */
.firm-grid {
  display: grid;
  grid-template-columns: minmax(0, .58fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 104px);
  align-items: center;
}
.firm-media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(25, 23, 19, .45);
}
.firm-media video {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--ink);
}

/* ==========================================================================
   09 Contact
   ========================================================================== */
.contact {
  background: var(--pearl);
  text-align: center;
}
.contact .eyebrow { display: inline-block; }
.contact-title {
  margin-top: 8px;
}
.contact-sub {
  margin-top: 28px;
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--text-2);
}
.contact-actions {
  margin-top: 52px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-info {
  margin-top: clamp(64px, 8vw, 104px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
  text-align: left;
}
.contact-label {
  display: block;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 14px;
}
.contact-info-item p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}
.contact-info-item a:hover { color: var(--gold-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink-2);
  color: rgba(244, 240, 233, .72);
  padding: clamp(56px, 7vw, 84px) 0 clamp(32px, 4vw, 44px);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 64px;
  padding-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid rgba(244, 240, 233, .14);
}
.footer-brand { max-width: 420px; }
.footer-logo { width: 244px; }
.footer-links {
  display: flex;
  gap: clamp(32px, 4vw, 56px);
  padding-top: 10px;
}
.footer-links a {
  font-size: 15px;
  letter-spacing: .12em;
  color: rgba(244, 240, 233, .85);
  padding: 6px 0;
  transition: color .35s;
}
.footer-links a:hover { color: var(--gold-3); }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 34px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: rgba(244, 240, 233, .45);
}
.footer-legal p { margin-bottom: 6px; }
.footer-legal a {
  color: rgba(244, 240, 233, .62);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .3s;
}
.footer-legal a:hover { color: var(--gold-3); }
.footer-sep { margin: 0 14px; color: rgba(244, 240, 233, .25); }

.footer-wechat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 240, 233, .22);
  color: rgba(244, 240, 233, .72);
  transition: color .4s, border-color .4s, transform .45s var(--ease);
}
.footer-wechat-btn svg { width: 26px; height: 26px; fill: currentColor; }
.footer-wechat-btn:hover {
  color: var(--gold-3);
  border-color: var(--gold-3);
  transform: translateY(-4px);
}

/* ============ 微信咨询弹窗 ============ */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .45s var(--ease), visibility 0s .45s;
}
.qr-modal.open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.qr-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(25, 23, 19, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.qr-modal-card {
  position: relative;
  padding: 12px;
  background: var(--pearl);
  border: 1px solid var(--gold);
  box-shadow: 0 36px 90px rgba(0, 0, 0, .5);
  transform: translateY(44px) scale(.92);
  opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s var(--ease);
}
.qr-modal.open .qr-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.qr-modal-frame {
  padding: 16px;
  background: linear-gradient(160deg, #FFFFFF, var(--pearl-2));
  border: 1px solid var(--line);
}
.qr-modal-img {
  display: block;
  width: min(680px, 84vw);
  height: auto;
}
.qr-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--pearl);
  font-size: 17px;
  line-height: 38px;
  text-align: center;
  transform: translate(40%, -40%);
  transition: background .35s, transform .35s var(--ease);
}
.qr-modal-close:hover {
  background: var(--gold);
  transform: translate(40%, -40%) rotate(90deg);
}

/* ==========================================================================
   滚动显现动画
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-img { position: relative; }
.media-clip {
  display: block;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.4s var(--ease-out);
}
.reveal-img.in .media-clip { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1200px) {
  .stage { grid-template-columns: 160px minmax(0, 1fr); }
  .stage-en { display: none; }
  .qa-row { grid-template-columns: 48px 100px minmax(0, 1fr) 40px; }
  .qa-date { display: none; }
}

@media (max-width: 992px) {
  .nav, .header-cta { display: none; }
  .nav-indicator { display: none; }
  .nav-toggle { display: block; }
  .brand-logo { width: 175px; }

  .pos-grid, .about-grid, .firm-grid { grid-template-columns: 1fr; gap: 56px; }
  .firm-media video { max-width: 320px; }
  .pos-media { max-width: 640px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sec-head-sub { text-align: left; max-width: none; padding-bottom: 0; }
  .case, .case-rev { grid-template-columns: 1fr; gap: 32px; margin-bottom: 88px; }
  .case-rev .case-media { order: 0; }
  .case-rev .case-info { order: 1; }
  .article-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-info { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 24px; }
  .about-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { height: 76px; }
  .header.scrolled .header-inner { height: 64px; }
  .brand-logo { width: 150px; }
  .hero-content { padding-top: 30px; max-width: 100%; }
  .hero-title { font-size: 34px; }
  .hero-scroll { display: none; }
  .btn { padding: 15px 32px; letter-spacing: .22em; }
  .pos-nums { gap: 36px; }
  .pos-num-big { font-size: 52px; }
  .pos-media { padding-left: 34px; }
  .stage { grid-template-columns: 1fr; gap: 14px; padding-left: 24px; }
  .stage::before { left: calc(-24px + var(--gutter)); }
  .process-rail { left: calc(var(--gutter) + 3px); }
  .qa-row { grid-template-columns: 40px minmax(0, 1fr) 32px; }
  .qa-cat { display: none; }
  .qa-title { font-size: 16.5px; }
  .video-play { flex-direction: row; gap: 14px; top: 70%; }
  .vp-btn { width: 56px; height: 56px; }
  .vp-btn svg { width: 15px; height: 15px; }
  .vp-label { font-size: 11px; letter-spacing: .24em; text-indent: .24em; padding: 6px 12px; }
  .vp-label i { margin-left: 8px; }
  .video-caption { flex-direction: column; gap: 6px; }
  .video-caption span { text-align: left; }
  .about-list { grid-template-columns: repeat(2, 1fr); }
  .about-bg { font-size: 130px; }
  .intro-skip { right: 24px; bottom: 24px; }
  .intro-inner { gap: 18px; }
}

/* ==========================================================================
   内页通用（当前导航态 / PageHero / 文章排版 / CTA条）
   ========================================================================== */
/* 内页 header：默认透明，悬停/滚动出背景（与首页、方达一致） */
.subpage .nav-link { color: var(--text); }
.subpage .header-wechat { color: var(--text); }
.subpage .brand-logo,
.header.scrolled .brand-logo {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .5));
}
/* 首页：透明 header 覆盖深色 hero 时，汉堡按钮用浅色 */
body:not(.subpage) .header:not(.scrolled) .nav-toggle span { background: #FBF9F5; }
.nav-link.current { color: var(--gold) !important; }
.mobile-nav a.current { color: var(--gold); }
.contact-sub-line {
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--text-2);
  margin-top: 8px;
}

/* ---------- PageHero 内页标题区 ---------- */
.page-hero {
  position: relative;
  padding: 240px 0 96px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  bottom: -18px;
  right: -1%;
  font-family: var(--latin);
  font-weight: 300;
  font-size: clamp(90px, 15vw, 200px);
  letter-spacing: .05em;
  color: rgba(25, 23, 19, .04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--ink);
}
.page-lead {
  margin-top: 30px;
  font-size: 16px;
  line-height: 2.1;
  color: var(--text-2);
  max-width: 660px;
}

/* ---------- 六阶段详解（practice） ---------- */
.stage-detail {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 56px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.stage-detail:last-child { border-bottom: none; }
.stage-detail-num {
  font-family: var(--latin);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
}
.stage-detail-num small {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--text-2);
  font-family: var(--latin);
}
.stage-detail h3 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 18px;
}
.stage-detail p { color: var(--text-2); line-height: 2.15; max-width: 720px; }
.stage-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.stage-tags span {
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--gold-2);
  border: 1px solid var(--line-dark);
  padding: 8px 18px;
}

/* ---------- 赔偿项目行 ---------- */
.comp-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  transition: background .4s;
}
.comp-row:hover { background: rgba(243, 239, 232, .55); }
.comp-row:last-child { border-bottom: none; }
.comp-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink);
}
.comp-name small {
  display: block;
  margin-top: 8px;
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  color: var(--gold);
}
.comp-desc { color: var(--text-2); line-height: 2.1; font-size: 15px; }

/* ---------- 文章排版 ---------- */
.article-hero { padding: 220px 0 70px; border-bottom: 1px solid var(--line); }
.article-meta-line {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12.5px;
  letter-spacing: .24em;
  color: var(--text-2);
  margin-bottom: 40px;
}
.article-meta-line b { color: var(--gold-2); font-weight: 500; }
.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .05em;
  color: var(--ink);
  max-width: 900px;
}
.article-hero .page-lead { margin-top: 24px; }
.article-cover { padding: 64px 0 0; }
.article-cover .media-frame img { aspect-ratio: 21 / 9; }
.article-body { max-width: 780px; margin: 0 auto; padding: 76px 0 40px; }
.article-body p { font-size: 16px; line-height: 2.25; color: var(--text); margin-bottom: 30px; }
.article-h {
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  margin: 58px 0 26px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}
.article-note {
  border: 1px solid var(--line-dark);
  background: rgba(243, 239, 232, .5);
  padding: 30px 34px;
  margin: 44px 0;
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--text-2);
}
.article-note b { color: var(--gold-2); font-weight: 600; letter-spacing: .1em; }

/* ---------- 墨黑 CTA 条 ---------- */
.page-cta { background: var(--ink-2); padding: 120px 0; text-align: center; }
.page-cta .h2 { color: #FBF9F5; }
.page-cta .eyebrow-dark { color: var(--gold-3); }
.page-cta .gold-rule { margin: 0 auto 30px; }
.page-cta p { color: rgba(251, 249, 245, .72); font-size: 15.5px; line-height: 2; max-width: 560px; margin: 0 auto 44px; }
.page-cta .contact-actions { justify-content: center; }
.page-cta .btn-ghost { color: #FBF9F5; border-color: rgba(251, 249, 245, .4); }
.page-cta .btn-ghost:hover { border-color: var(--gold-3); color: var(--gold-3); }

/* ---------- 理念网格（about / team） ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-cell { background: var(--pearl); padding: 54px 36px 46px; transition: background .5s; }
.value-cell:hover { background: #fff; }
.value-cell i {
  display: block;
  font-style: normal;
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--gold);
  margin-bottom: 22px;
}
.value-cell b {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink);
  margin-bottom: 14px;
}
.value-cell p { font-size: 13.5px; color: var(--text-2); line-height: 1.95; }

/* ---------- 大数字统计（about） ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.stat-num {
  font-family: var(--latin);
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1;
  color: var(--ink);
}
.stat-num i { font-style: normal; font-size: .45em; color: var(--gold); margin-left: 6px; }
.stat-label { margin-top: 16px; font-size: 13px; letter-spacing: .16em; color: var(--text-2); }

/* ---------- 洞察列表（insights） ---------- */
.insight-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}
.insight-feature .media-frame img { aspect-ratio: 16 / 10; }
.insight-feature h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .05em;
  color: var(--ink);
  margin-bottom: 22px;
}
.insight-feature p { color: var(--text-2); line-height: 2.1; margin-bottom: 30px; }

/* ---------- 联系页 ---------- */
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(48px, 6vw, 110px);
}
.contact-block { border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.contact-block:first-child { padding-top: 0; }
.contact-block h4 {
  font-size: 12.5px;
  letter-spacing: .3em;
  color: var(--gold-2);
  font-weight: 500;
  margin-bottom: 16px;
}
.contact-block p { font-size: 16.5px; line-height: 2; color: var(--text); }
.contact-block p a { color: var(--gold-2); }
.contact-form { border: 1px solid var(--line); padding: clamp(32px, 4vw, 56px); background: #fff; }
.contact-form h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 34px;
}
.form-field { margin-bottom: 26px; }
.form-field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: .22em;
  color: var(--text-2);
  margin-bottom: 10px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px 12px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .35s;
  border-radius: 0;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: 12.5px; color: var(--text-2); line-height: 1.9; margin-top: 18px; }

/* ---------- 内页响应式 ---------- */
@media (max-width: 992px) {
  .page-hero { padding: 185px 0 70px; }
  .stage-detail { grid-template-columns: 1fr; gap: 22px; padding: 52px 0; }
  .comp-row { grid-template-columns: 1fr; gap: 14px; padding: 34px 0; }
  .insight-feature { grid-template-columns: 1fr; padding: 52px 0; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 155px 0 56px; }
  .value-grid { grid-template-columns: 1fr; }
  .article-body { padding: 52px 0 24px; }
  .article-cover .media-frame img { aspect-ratio: 4 / 3; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   案例视频页（cases.html）— 置顶视频 + 线条背景 + 描边按钮 + 两列浅灰卡片
   ========================================================================== */

/* ---------- 置顶模块（Neat 渐变背景 + 线条层 + 左右两列） ---------- */
.cv-hero {
  position: relative;
  padding: clamp(150px, 17vh, 210px) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
}
.cv-hero .hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.cv-hero-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.cv-hero-lines svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cv-hero .container { position: relative; z-index: 3; }

.cv-feature {
  display: flex;
  align-items: center;
  gap: clamp(48px, 5.5vw, 92px);
  position: relative;
}
.cv-feature .cv-cover {
  flex-shrink: 0;
  height: clamp(360px, 44vw, 520px);
  aspect-ratio: 9 / 16;
  box-shadow: 0 30px 80px rgba(25, 23, 19, .18);
}
.cv-feature-body { flex: 1; min-width: 0; }
.cv-feature-kicker {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
}
.cv-feature-kicker span {
  font-size: 13px;
  letter-spacing: .32em;
  color: var(--gold);
  font-weight: 500;
}
.cv-feature-kicker i {
  font-family: var(--latin);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--text-2);
}
.cv-feature-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: .02em;
}
.cv-feature-desc {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-2);
  max-width: 560px;
}
.cv-feature .cv-btns { margin-top: 42px; }

/* ---------- 封面（可点击播放） ---------- */
.cv-cover {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--ink);
  outline: 1px solid var(--line);
}
.cv-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  display: block;
  transition: transform .8s var(--ease);
}
.cv-cover:hover img { transform: scale(1.05); }
.cv-cover-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(25, 23, 19, .5), rgba(25, 23, 19, .1) 45%, rgba(25, 23, 19, .28));
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.cv-cover:hover .cv-cover-play,
.cv-cover:focus-visible .cv-cover-play { opacity: 1; }
.cv-cover-play svg {
  width: 52px;
  height: 52px;
  fill: var(--gold-3);
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .45));
}

/* ---------- 描边按钮（方达 worm-button 式） ---------- */
.cv-btns { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 14px 30px;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, .6);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .18em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .4s, border-color .4s;
}
.cv-btn svg {
  width: 17px;
  height: 17px;
  position: relative;
  z-index: 1;
  transition: transform .45s var(--ease);
}
.cv-btn span { position: relative; z-index: 1; }
.cv-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease);
}
.cv-btn:hover { color: #fff; border-color: var(--gold); }
.cv-btn:hover::before { transform: scaleX(1); }
.cv-btn:hover svg { transform: translateX(6px); }

/* ---------- 搜索筛选栏 ---------- */
.cv-section { padding-top: 0; }
.cv-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.cv-search {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  max-width: 560px;
  height: 50px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid #D9DEE2;
  transition: border-color .4s;
}
.cv-search:focus-within { border-color: var(--gold); }
.cv-search svg { width: 16px; height: 16px; color: var(--text-2); flex-shrink: 0; }
.cv-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: .05em;
  color: var(--text);
}
.cv-search input::placeholder { color: var(--text-2); }
.cv-filters { display: flex; gap: 14px; }
.cv-filters select {
  appearance: none;
  -webkit-appearance: none;
  height: 50px;
  padding: 0 44px 0 20px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236E685D' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 16px center / 14px;
  border: 1px solid #D9DEE2;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: .05em;
  color: var(--text);
  cursor: pointer;
  transition: border-color .4s;
}
.cv-filters select:hover, .cv-filters select:focus { border-color: var(--gold); outline: none; }
.cv-clear {
  display: block;
  margin: 14px 0 0 auto;
  background: none;
  border: none;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text-2);
  cursor: pointer;
  padding: 4px 0;
  transition: color .4s;
}
.cv-clear:hover { color: var(--gold); }

/* ---------- 两列卡片网格（浅灰底模块） ---------- */
.cv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 4vw, 56px) clamp(36px, 4vw, 56px);
}
.cv-item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: clamp(24px, 2.6vw, 36px);
  background: #F3F5F7;
  transition: background .5s;
}
.cv-item:hover { background: #EDF0F3; }
.cv-item .cv-cover {
  flex-shrink: 0;
  width: clamp(120px, 13vw, 168px);
  aspect-ratio: 9 / 16;
}
.cv-info { flex: 1; min-width: 0; }
.cv-item-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: .12em;
}
.cv-item-meta b { color: var(--gold-2); font-weight: 500; }
.cv-item-title {
  margin-top: 14px;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}
.cv-item-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cv-item .cv-btns { margin-top: 24px; }
.cv-item .cv-btn { padding: 11px 22px; font-size: 13px; letter-spacing: .14em; gap: 10px; }
.cv-item .cv-btn svg { width: 15px; height: 15px; }
.cv-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 15px;
  color: var(--text-2);
  letter-spacing: .1em;
  padding: 90px 0;
}

/* ---------- 分页 ---------- */
.cv-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 76px;
}
.cv-page-btn, .cv-page-num {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: none;
  font-size: 15px;
  color: var(--text-2);
  cursor: pointer;
  transition: all .4s;
}
.cv-page-btn:hover:not(:disabled), .cv-page-num:hover { border-color: var(--gold); color: var(--gold); }
.cv-page-btn:disabled { opacity: .3; cursor: default; }
.cv-page-num.active { color: var(--gold); border-color: var(--gold); }

/* ---------- 视频播放弹窗 ---------- */
.video-modal .qr-modal-card { padding: 0; background: transparent; box-shadow: none; }
.video-modal .qr-modal-close {
  top: -54px;
  right: -54px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
}
.vm-body {
  background: #14120F;
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
}
.vm-video {
  display: block;
  height: min(74vh, 720px);
  width: auto;
  max-width: 86vw;
  margin: 0 auto;
  background: #000;
}
.vm-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 26px;
  border-top: 1px solid rgba(201, 174, 119, .22);
}
.vm-title {
  font-size: 15px;
  font-weight: 500;
  color: #F4F0E9;
  letter-spacing: .04em;
  line-height: 1.6;
}
.vm-download {
  flex-shrink: 0;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--gold-3);
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(201, 174, 119, .5);
  transition: color .4s, border-color .4s;
  white-space: nowrap;
}
.vm-download:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
  .cv-hero { padding-top: 120px; padding-bottom: 48px; }
  .cv-feature { flex-direction: column; align-items: stretch; gap: 30px; }
  .cv-feature .cv-cover { width: min(64%, 280px); height: auto; margin: 0 auto; }
  .cv-feature-title { font-size: 24px; }
  .cv-feature-desc { font-size: 14px; margin-top: 16px; }
  .cv-feature .cv-btns { margin-top: 28px; }

  .cv-filter { flex-direction: column; align-items: stretch; gap: 14px; }
  .cv-search { max-width: none; }
  .cv-filters { width: 100%; }
  .cv-filters select { flex: 1; }
  .cv-clear { margin-left: 0; }

  .cv-grid { grid-template-columns: 1fr; gap: 26px; }
  .cv-item { gap: 18px; padding: 20px; }
  .cv-item .cv-cover { width: 110px; }
  .cv-item-title { font-size: 16px; }
  .cv-item-desc { -webkit-line-clamp: 3; font-size: 13px; }
  .cv-item .cv-btns { margin-top: 16px; gap: 14px; }

  .cv-pager { margin-top: 48px; }
  .cv-page-btn, .cv-page-num { min-width: 38px; height: 38px; font-size: 14px; }

  .vm-video { height: min(62vh, 560px); max-width: 92vw; }
  .vm-foot { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 18px; }
  .video-modal .qr-modal-close { top: -48px; right: 0; }
}

/* ==========================================================================
   Hero — Neat 流体渐变背景（@firecms/neat，about / contact / insights / team / practice）
   层级：渐变 Canvas(1) < 巨型水印(2) < HTML 内容(3)
   ========================================================================== */
.page-hero--about .hero-gradient,
.page-hero--contact .hero-gradient,
.page-hero--insights .hero-gradient,
.page-hero--team .hero-gradient,
.page-hero--practice .hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.page-hero--about .page-hero-bg,
.page-hero--contact .page-hero-bg,
.page-hero--insights .page-hero-bg,
.page-hero--team .page-hero-bg,
.page-hero--practice .page-hero-bg { z-index: 2; }
.page-hero--about .container,
.page-hero--contact .container,
.page-hero--insights .container,
.page-hero--team .container,
.page-hero--practice .container { position: relative; z-index: 3; }

/* 入场节奏：eyebrow → title → gold line → lead（沿用 reveal + data-delay 错峰）
   标题仅轻微上移显现：20px / .95s / expo-out，不缩放、不拆字 */
.page-hero--about .reveal {
  transform: translateY(20px);
  transition-duration: .95s;
  transition-timing-function: var(--ease-out);
}
.page-hero--about .reveal.in { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .page-hero--about .reveal { transition-duration: .01s; }
}

/* ==========================================================================
   返回顶部（全站固定右下角，滚动超过一屏渐显）
   ========================================================================== */
.back-top {
  position: fixed;
  right: clamp(22px, 1.6vw, 62px);
  bottom: clamp(22px, 1.6vw, 62px);
  z-index: 900;
  width: clamp(48px, 2.2vw, 84px);
  height: clamp(48px, 2.2vw, 84px);
  border-radius: 50%;
  background: rgba(25, 23, 19, .58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  box-shadow: 0 8px 26px rgba(25, 23, 19, .22);
  transition: opacity .45s var(--ease), transform .45s var(--ease),
              background .35s, color .35s;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--gold); color: #1E1B15; }
.back-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.back-top svg {
  width: clamp(20px, .95vw, 36px);
  height: clamp(20px, .95vw, 36px);
  fill: none;
  stroke: currentColor;
}
@media (prefers-reduced-motion: reduce) {
  .back-top { transition: opacity .3s ease; transform: none; }
}
