/* ============================================================
   厉文伟 律师 · 个人网站
   深墨黑 + 香槟金 · 杂志式版式
   ============================================================ */

:root {
  --ink: #08090b;
  --ink-soft: #0e1013;
  --ink-line: rgba(239, 233, 222, 0.13);
  --gold: #c2a06a;
  --gold-light: #e0c690;
  --gold-dim: rgba(194, 160, 106, 0.45);
  --paper: #f6f2ea;
  --paper-2: #efe9de;
  --text: #191a1c;
  --muted: #756f66;
  --line: rgba(25, 26, 28, 0.13);
  --serif: "FangSong", "仿宋", "STFangsong", "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, "FangSong", "仿宋", "STFangsong", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 0.68, 0.18, 1);
  --nav-h: 90px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 10px); }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.3; }

.container { width: min(1240px, calc(100% - 112px)); margin: 0 auto; }

/* progress */
.progress {
  position: fixed; top: 0; left: 0; height: 1px; width: 0%;
  background: var(--gold); z-index: 1000;
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.5s var(--ease), height 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
  color: var(--paper);
}
.nav.scrolled {
  height: 72px;
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(194, 160, 106, 0.16);
}
.nav-inner {
  width: min(1400px, calc(100% - 96px));
  margin: 0 auto;
  display: flex; align-items: center; gap: 44px;
}
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand-mark { color: var(--gold); display: flex; }
.brand-text {
  font-family: var(--serif); font-size: 19px; letter-spacing: 0.2em;
  color: var(--gold);
  display: flex; flex-direction: column; line-height: 1.2;
}
.brand-text em {
  font-family: var(--sans); font-style: normal; font-size: 8.5px;
  letter-spacing: 0.34em; color: rgba(246, 242, 234, 0.42); margin-top: 4px;
}
.nav-links { display: flex; gap: 40px; font-size: 12.5px; letter-spacing: 0.18em; }
.nav-links a { position: relative; padding: 6px 0; color: rgba(246, 242, 234, 0.66); transition: color 0.3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.45s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 11.5px; letter-spacing: 0.22em; padding: 12px 26px;
  border: 1px solid rgba(194, 160, 106, 0.45); color: var(--gold-light);
  transition: all 0.45s var(--ease);
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: var(--paper); margin: 6px 0; transition: 0.35s var(--ease); }

@font-face {
  font-family: "MaShanZheng";
  src: url("assets/brush.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 88vh;
  display: flex; flex-direction: column;
  padding-top: var(--nav-h);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 78% 24%, rgba(194, 160, 106, 0.16), transparent 62%),
    radial-gradient(ellipse 50% 60% at 8% 82%, rgba(194, 160, 106, 0.05), transparent 65%);
}
.hero-glow::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(380px circle at var(--gx, 72%) var(--gy, 32%), rgba(216, 182, 122, 0.16), transparent 70%);
  opacity: 0; transition: opacity 0.9s var(--ease);
}
.hero:hover .hero-glow::after { opacity: 1; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("assets/sea-hero.jpg");
  background-size: cover; background-position: center 45%;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(98deg, rgba(8, 9, 11, 0.97) 0%, rgba(8, 9, 11, 0.9) 38%, rgba(8, 9, 11, 0.6) 66%, rgba(8, 9, 11, 0.72) 100%),
    linear-gradient(to bottom, rgba(8, 9, 11, 0.55) 0%, transparent 32%, rgba(8, 9, 11, 0.72) 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: repeating-linear-gradient(90deg, rgba(246, 242, 234, 0.045) 0 1px, transparent 1px 25%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 32%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 32%, #000 78%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: min(1240px, calc(100% - 112px));
  margin: 0 auto;
  flex: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.74fr;
  gap: 72px;
  align-items: end;
  padding: 34px 0 104px;
}
.hero-copy { padding-bottom: 6px; }

.eyebrow {
  font-size: 11px; letter-spacing: 0.32em; color: var(--gold);
  display: flex; align-items: center; gap: 16px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold-dim); }

.hero h1 {
  font-family: "MaShanZheng", var(--serif);
  font-size: clamp(3.1rem, 6.4vw, 5.9rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.22;
  margin: 26px 0 16px;
  text-indent: 0;
  color: var(--paper);
}
.hero h1 span { display: block; }
.hero h1 .indent-2 { margin-left: 2.28em; }
.hero-motto {
  font-family: "MaShanZheng", var(--serif);
  font-size: clamp(17px, 1.7vw, 22px);
  letter-spacing: 0.18em;
  color: var(--gold-light);
  display: flex; align-items: center; gap: 16px;
  text-indent: 0;
  margin-left: 4.28em;
}
.hero-motto::before { content: ""; width: 26px; height: 1px; background: var(--gold); flex: 0 0 auto; }

.hero-sub {
  margin-top: 34px;
  font-family: "FangSong", "仿宋", "STFangsong", "Songti SC", serif;
  font-size: 15px; line-height: 2.1; letter-spacing: 0.06em; font-weight: 400;
  color: rgba(246, 242, 234, 0.56);
  max-width: 470px;
  text-indent: 2em;
}
.hero-actions { display: flex; align-items: center; gap: 38px; margin-top: 48px; flex-wrap: wrap; }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 46px; font-size: 12.5px; letter-spacing: 0.24em;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.45s var(--ease);
}
.btn-gold { background: var(--gold); color: #0a0b0d; border-color: var(--gold); }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg); transition: left 0.75s var(--ease);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-gold:hover::after { left: 125%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.2em; padding-bottom: 7px;
  border-bottom: 1px solid var(--gold-dim);
  transition: gap 0.4s var(--ease), color 0.4s;
}
.link-arrow:hover { gap: 18px; color: var(--gold); }
.hero .link-arrow { color: rgba(246, 242, 234, 0.78); }
.hero .link-arrow:hover { color: var(--gold-light); }

.hero-portrait {
  position: relative; margin: 0;
  align-self: end; display: flex; justify-content: flex-end; align-items: flex-end;
}
.hero-portrait::before {
  content: ""; position: absolute; z-index: 0;
  right: -10%; bottom: -6%; width: 116%; height: 82%;
  background: radial-gradient(closest-side, rgba(194, 160, 106, 0.22), rgba(194, 160, 106, 0.05) 55%, transparent 78%);
  filter: blur(14px);
}
.hero-portrait img {
  position: relative; z-index: 1;
  height: clamp(400px, 62vh, 690px); width: auto; display: block;
  filter: saturate(0.92) contrast(1.02) brightness(0.98)
          drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.hero-portrait::after { display: none; }

.hero-stats {
  position: absolute; right: 0; bottom: 104px; z-index: 3;
  display: flex; align-items: flex-end; justify-content: flex-end; gap: 34px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}
.stat-group {
  display: flex; align-items: flex-start;
  border-top: 1px solid rgba(239, 233, 222, 0.2);
  padding-top: 18px;
}
.stat { padding: 0 30px; border-left: 1px solid rgba(239, 233, 222, 0.14); display: flex; flex-direction: column; gap: 4px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  font-family: var(--serif); font-size: 32px; font-weight: 300; line-height: 1;
  display: flex; align-items: baseline; gap: 6px; letter-spacing: 0.02em;
}
.stat strong i { font-style: normal; font-size: 12px; color: var(--gold); letter-spacing: 0.1em; }
.stat > span { font-size: 9.5px; letter-spacing: 0.24em; color: rgba(246, 242, 234, 0.4); }

.hero-scroll {
  display: flex; align-items: center; gap: 14px;
  font-size: 9px; letter-spacing: 0.34em; color: rgba(246, 242, 234, 0.35);
  padding-bottom: 8px;
}
.hero-scroll i { width: 1px; height: 44px; background: var(--gold-dim); position: relative; overflow: hidden; }
.hero-scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-light);
  transform-origin: top; animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  35% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  70% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* load / reveal */
.load, .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.load.in, .reveal.in { opacity: 1; transform: none; }

/* ============ Section base ============ */
.section { padding: 150px 0; position: relative; }
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 10.5px; letter-spacing: 0.3em; color: var(--muted);
  margin-bottom: 18px;
}
.kicker span { font-family: var(--serif); color: var(--gold); letter-spacing: 0.08em; }
.kicker::after { content: ""; width: 54px; height: 1px; background: var(--gold-dim); margin-left: 6px; }
.dark .kicker { color: rgba(246, 242, 234, 0.4); }

.section-head { margin-bottom: 88px; }
.head-row {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: end;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.dark .head-row { border-color: var(--ink-line); }
.head-row h2 { font-size: clamp(2.3rem, 3.8vw, 3.4rem); letter-spacing: 0.08em; line-height: 1.3; }
.section-desc { font-size: 14.5px; line-height: 2.05; color: var(--muted); max-width: 470px; }
.dark .section-desc { color: rgba(246, 242, 234, 0.48); }

/* 行内标题：标题与导语收到与 kicker 同一条横线上 */
.section-head--inline { display: flex; align-items: center; gap: 44px; margin-bottom: 72px; }
.section-head--inline .kicker { margin-bottom: 0; flex: none; }
.section-head--inline .kicker {
  font-size: 16px; font-weight: 500; letter-spacing: 0.4em; align-items: baseline;
  background: linear-gradient(100deg, #9a7b48 0%, #e9d6ac 46%, #b08e57 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section-head--inline .kicker span {
  font-family: var(--serif); font-weight: 300;
  font-size: 21px; letter-spacing: 0.06em; color: rgba(168, 134, 63, 0.8);
  border: 0; padding: 0; margin-right: 17px; position: relative;
}
.section-head--inline .kicker span::after {
  content: ""; position: absolute; right: -10px; top: 50%;
  width: 1px; height: 14px; transform: translateY(-52%);
  background: linear-gradient(180deg, rgba(176, 142, 87, 0), rgba(176, 142, 87, 0.45), rgba(176, 142, 87, 0));
}
.section-head--inline .kicker::after {
  width: 72px; margin-left: 14px;
  background: linear-gradient(90deg, rgba(194, 160, 106, 0.6), rgba(194, 160, 106, 0));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.1s var(--ease) 0.3s;
}
.section-head--inline.in .kicker::after { transform: scaleX(1); }
.section-head--inline .head-row {
  display: flex; align-items: baseline; gap: 34px;
  flex: 1; border-top: 0; padding-top: 0;
}
.section-head--inline h2 { font-size: 21px; letter-spacing: 0.18em; line-height: 1.4; }
.section-head--inline .section-desc {
  font-size: 14px; line-height: 1.8; max-width: none;
  text-align: right; margin-left: auto;
  color: #574e42;
  background: linear-gradient(90deg, rgba(196, 162, 104, 0.10), rgba(196, 162, 104, 0.28));
  padding: 7px 16px;
  border-right: 2px solid rgba(176, 142, 87, 0.6);
}

.head-tagline { display: none; }

/* ============ About ============ */
.about {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(196, 162, 104, 0.10), rgba(196, 162, 104, 0) 70%),
    linear-gradient(180deg, #f9f5ee 0%, var(--paper) 42%, #f2ece1 100%);
}
.about::after {
  content: ""; position: absolute; left: 50%; bottom: 46px;
  width: 68px; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(176, 142, 87, 0), rgba(176, 142, 87, 0.55), rgba(176, 142, 87, 0));
}
.about-side {
  position: absolute; right: 34px; top: 170px; z-index: 2;
  writing-mode: vertical-rl;
  font-size: 9px; letter-spacing: 0.42em; color: rgba(168, 134, 63, 0.5);
}
.about-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 66px; align-items: start; }

.about-media { position: relative; margin: 0; max-width: 440px; }
.about-media-frame { position: relative; }
.about-media-frame::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px;
  border: 1px solid var(--gold-dim); z-index: 0;
}
.about-media-frame::after {
  content: ""; position: absolute; right: 16px; bottom: -16px;
  width: 58px; height: 58px; z-index: 2;
  border-right: 1px solid var(--gold-dim); border-bottom: 1px solid var(--gold-dim);
}
.frame-line {
  position: absolute; inset: 16px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(196, 162, 104, 0.3);
}
.about-media-frame img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 2 / 2.8; object-fit: cover; object-position: center 16%;
  filter: saturate(0.92) contrast(1.03);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.5s var(--ease) 0.12s;
}
.about-media.reveal:not(.in) .about-media-frame img { clip-path: inset(0 0 100% 0); }
.about-media figcaption {
  display: flex; align-items: baseline; gap: 14px;
  margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line);
}
.about-media figcaption span { font-family: var(--serif); font-size: 15px; letter-spacing: 0.24em; }
.about-media figcaption em { font-style: normal; font-size: 9px; letter-spacing: 0.3em; color: var(--gold); }

.about-body .lead {
  font-family: var(--serif); font-size: 20px; line-height: 1.95; letter-spacing: 0.04em;
  color: #1b1c1e; margin-bottom: 34px;
}
.about-body p { font-size: 14.5px; line-height: 2.1; color: #57534c; margin-bottom: 18px; }

.domains { margin: 0 0 36px; }
.domains > div {
  display: grid; grid-template-columns: 92px 1fr; gap: 26px;
  padding: 19px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.domains > div:last-child { border-bottom: 1px solid var(--line); }
.domains dt {
  font-family: var(--serif); font-size: 13px; letter-spacing: 0.14em;
  color: #a8863f; white-space: nowrap;
}
.domains dd { font-size: 14.5px; line-height: 2.05; color: #55514a; }

.facts { margin: 0 0 40px; border-top: 1px solid var(--line); }
.facts div {
  display: grid; grid-template-columns: 92px 1fr; gap: 26px;
  padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.facts dt { font-size: 10.5px; letter-spacing: 0.26em; color: #9b8763; }
.facts dd { font-size: 14px; color: var(--text); letter-spacing: 0.02em; }

.about-quote {
  position: relative;
  font-family: var(--serif); font-size: 19px; line-height: 2.05; letter-spacing: 0.05em;
  color: #3f3a32;
  padding: 30px 34px 30px 32px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(196, 162, 104, 0.16), rgba(196, 162, 104, 0.03) 60%, rgba(196, 162, 104, 0));
}
.about-quote::before,
.about-quote::after {
  content: ""; position: absolute; left: -5px; width: 8px; height: 8px;
  transform: rotate(45deg);
}
.about-quote::before { top: -5px; background: var(--gold); }
.about-quote::after {
  bottom: -5px; background: var(--paper); border: 1px solid var(--gold);
}

/* ============ Statement ============ */
.statement {
  background: var(--ink); color: var(--paper);
  padding: 160px 0; position: relative; overflow: hidden;
}
.statement-bg {
  position: absolute; inset: -3%;
  background-image: url("assets/office-view.jpg");
  background-size: cover; background-position: center 45%;
  filter: blur(3px) brightness(0.62) saturate(0.85);
  transform: scale(1.03);
}
.statement-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(6, 7, 9, 0.92) 0%, rgba(6, 7, 9, 0.8) 52%, rgba(6, 7, 9, 0.62) 100%),
    linear-gradient(to bottom, rgba(6, 7, 9, 0.55), rgba(6, 7, 9, 0.7));
}
.statement-watermark {
  position: absolute; right: -3%; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 44vw; line-height: 0.8;
  color: rgba(246, 242, 234, 0.03); pointer-events: none; user-select: none;
}
.statement .container { position: relative; z-index: 2; }
.statement-text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.55; letter-spacing: 0.12em;
  margin: 8px 0 0;
}
.statement-text em { font-style: normal; color: var(--gold-light); display: inline-block; margin-left: 2em; }
.statement-sign { margin-top: 44px; font-size: 10.5px; letter-spacing: 0.32em; color: rgba(246, 242, 234, 0.36); }

/* ============ Practice ============ */
.practice { background: var(--ink); color: var(--paper); }
.practice-list { border-top: 1px solid var(--ink-line); }
.p-row {
  display: grid; grid-template-columns: 84px 1fr 190px 34px; gap: 44px; align-items: center;
  padding: 36px 12px; border-bottom: 1px solid var(--ink-line);
  position: relative; transition: padding 0.5s var(--ease);
}
.p-row::before {
  content: ""; position: absolute; inset: 0; width: 0; overflow: hidden;
  background: linear-gradient(90deg, rgba(194, 160, 106, 0.1), transparent 72%);
  transition: width 0.65s var(--ease); pointer-events: none;
}
.p-row:hover::before { width: 100%; }
.p-row:hover { padding-left: 24px; }
.p-row:hover h3 { color: var(--gold-light); }
.p-row:hover .p-arrow { transform: translateX(8px); color: var(--gold-light); }
.p-index { font-family: var(--serif); font-size: 11.5px; letter-spacing: 0.22em; color: var(--gold); }
.p-main h3 { font-size: 24px; letter-spacing: 0.08em; margin-bottom: 8px; transition: color 0.4s; }
.p-main p { font-size: 13.5px; line-height: 1.95; color: rgba(246, 242, 234, 0.46); max-width: 640px; }
.p-tags { font-size: 10.5px; letter-spacing: 0.16em; color: rgba(246, 242, 234, 0.34); }
.p-arrow { font-size: 17px; color: rgba(246, 242, 234, 0.3); text-align: right; transition: transform 0.45s var(--ease), color 0.4s; }

/* ============ Maritime band ============ */
.band {
  position: relative; height: 58vh; min-height: 420px;
  display: flex; align-items: center;
  color: var(--paper); overflow: hidden;
}
.band-bg {
  position: absolute; inset: 0;
  background-image: url("assets/sea-band.jpg");
  background-size: cover; background-position: center 55%;
}
.band-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(6, 7, 9, 0.94) 0%, rgba(6, 7, 9, 0.72) 48%, rgba(6, 7, 9, 0.32) 100%),
    linear-gradient(to top, rgba(6, 7, 9, 0.6), transparent 45%);
}
.band-inner { position: relative; z-index: 2; }
.band-label {
  display: flex; align-items: center; gap: 16px;
  font-size: 10px; letter-spacing: 0.32em; color: var(--gold); margin-bottom: 28px;
}
.band-label::before { content: ""; width: 42px; height: 1px; background: var(--gold-dim); }
.band h3 { font-size: clamp(1.7rem, 3.2vw, 2.9rem); font-weight: 300; letter-spacing: 0.12em; line-height: 1.6; }
.band-indent { display: inline-block; margin-left: 2em; }
.indent-line { display: inline-block; margin-left: 2em; }
.band-meta { margin-top: 30px; font-size: 10px; letter-spacing: 0.3em; color: rgba(246, 242, 234, 0.42); }

/* ============ Process ============ */
.process { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 44px 34px 8px 0; position: relative; }
.step + .step { border-left: 1px solid var(--line); padding-left: 34px; }
.step-num {
  display: block; font-family: var(--serif); font-size: 54px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(194, 160, 106, 0.55);
  margin-bottom: 28px; letter-spacing: 0.03em;
}
.step h3 { font-size: 19px; letter-spacing: 0.1em; margin-bottom: 14px; }
.step p { font-size: 13.5px; line-height: 2; color: var(--muted); }

.principles {
  margin-top: 84px; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--ink); color: var(--paper);
}
.principles div {
  padding: 34px 42px; border-left: 1px solid rgba(246, 242, 234, 0.1);
  display: flex; flex-direction: column; gap: 8px;
}
.principles div:first-child { border-left: 0; }
.principles strong { font-family: var(--serif); font-size: 19px; letter-spacing: 0.32em; color: var(--gold-light); font-weight: 400; }
.principles span { font-size: 10.5px; letter-spacing: 0.18em; color: rgba(246, 242, 234, 0.42); }

/* ============ Cases ============ */
.cases {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 340px at 90% -6%, rgba(196, 162, 104, 0.14), rgba(196, 162, 104, 0) 70%),
    linear-gradient(180deg, #f8f4ec 0%, #f1ebe0 100%);
}
.case-grid { counter-reset: case; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }

.case-item {
  --cat: #a8863f;
  --cat-soft: rgba(168, 134, 63, 0.13);
  --cat-strong: rgba(168, 134, 63, 0.28);
  --cat-tint: rgba(168, 134, 63, 0.08);
  --cat-line: rgba(168, 134, 63, 0.6);
  --cat-deep: #8a6c31;
  position: relative; counter-increment: case;
  padding: 40px 46px 40px 0; border-bottom: 1px solid var(--line);
  transition: background 0.55s var(--ease), box-shadow 0.5s var(--ease);
}
.case-item:nth-child(even) { padding-left: 46px; padding-right: 0; border-left: 1px solid var(--line); }

/* 分类配色：海事青 · 民商金 · 行政赭 · 刑事酒红 */
.cat-maritime { --cat: #2f6577; --cat-soft: rgba(47, 101, 119, 0.13); --cat-strong: rgba(47, 101, 119, 0.28); --cat-tint: rgba(47, 101, 119, 0.07); --cat-line: rgba(47, 101, 119, 0.55); --cat-deep: #245362; }
.cat-admin { --cat: #9a5a3a; --cat-soft: rgba(154, 90, 58, 0.13); --cat-strong: rgba(154, 90, 58, 0.28); --cat-tint: rgba(154, 90, 58, 0.07); --cat-line: rgba(154, 90, 58, 0.55); --cat-deep: #7c452a; }
.cat-criminal { --cat: #8a3f4b; --cat-soft: rgba(138, 63, 75, 0.13); --cat-strong: rgba(138, 63, 75, 0.28); --cat-tint: rgba(138, 63, 75, 0.07); --cat-line: rgba(138, 63, 75, 0.55); --cat-deep: #6d2f3a; }

.case-item::after {
  content: counter(case, decimal-leading-zero);
  position: absolute; top: 28px; right: 38px;
  font-family: var(--serif); font-size: 54px; line-height: 1;
  color: var(--cat-soft); pointer-events: none;
  transition: color 0.5s var(--ease), transform 0.5s var(--ease);
}
.case-item::before {
  content: "↗"; position: absolute; right: 40px; bottom: 36px;
  font-size: 13px; color: var(--cat); opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.case-item:hover::after { color: var(--cat-strong); transform: translateY(-3px); }
.case-item:hover::before { opacity: 1; transform: none; }
.case-cat {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.26em; color: var(--cat); margin-bottom: 16px;
}
.case-cat::before { content: ""; width: 18px; height: 1px; background: var(--cat-line); }
.case-item h3 {
  position: relative; font-size: 21px; letter-spacing: 0.06em;
  margin-bottom: 10px; padding-bottom: 12px;
  transition: color 0.4s;
}
.case-item h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--cat), rgba(194, 160, 106, 0));
  transition: width 0.6s var(--ease);
}
.case-item:hover h3::after { width: 56px; }
.case-item:hover h3 { color: var(--cat-deep); }
.case-item p { font-size: 13.5px; line-height: 2.05; color: var(--muted); max-width: 480px; }

/* 代表性案例：左侧索引 + 右侧正文的深色宽卡 */
.case-item.case-item--featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  padding: 46px 54px;
  border-left: 0; border-bottom: 1px solid rgba(194, 160, 106, 0.3);
  background:
    radial-gradient(520px 260px at 86% -18%, rgba(194, 160, 106, 0.24), rgba(194, 160, 106, 0) 70%),
    linear-gradient(112deg, #0a0c0f 0%, #111418 48%, #191814 100%);
  color: var(--paper); overflow: hidden;
}
.case-item--featured::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(194, 160, 106, 0.16); pointer-events: none;
  transition: border-color 0.5s var(--ease);
}
.case-item--featured:hover::after { border-color: rgba(194, 160, 106, 0.34); }
.case-item--featured::before { display: none; }

.featured-rail {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 16px;
  padding-right: 42px;
}
.featured-rail .case-badge { position: static; align-self: flex-start; }
.featured-num {
  font-family: var(--serif); font-size: 86px; line-height: 0.86;
  color: transparent; -webkit-text-stroke: 1px rgba(194, 160, 106, 0.55);
  letter-spacing: 0.04em;
}
.featured-num::before { content: counter(case, decimal-leading-zero); }
.featured-cat {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.26em; color: rgba(246, 242, 234, 0.58);
}
.featured-cat::before { content: ""; width: 22px; height: 1px; background: var(--gold); }

.featured-main {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid rgba(194, 160, 106, 0.22); padding-left: 54px;
}
.featured-main h3 {
  font-size: 32px; letter-spacing: 0.08em;
  padding-bottom: 16px; margin-bottom: 16px; transition: color 0.4s;
}
.featured-main h3::after {
  width: 48px;
  background: linear-gradient(90deg, var(--gold), rgba(194, 160, 106, 0));
}
.case-item--featured:hover h3 { color: var(--gold-light); }
.featured-main p { color: rgba(246, 242, 234, 0.62); max-width: 620px; font-size: 14px; line-height: 2; }
.case-badge {
  font-size: 9px; letter-spacing: 0.28em; color: var(--gold-light);
  padding: 7px 13px; border: 1px solid rgba(194, 160, 106, 0.42);
  background: rgba(194, 160, 106, 0.08);
}

/* 收尾宽卡：左右分栏 */
.case-item.case-item--wide {
  grid-column: 1 / -1; display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  column-gap: 48px; align-items: center;
  padding: 42px 0; border-left: 0;
}
.case-item--wide .case-cat { grid-column: 1; grid-row: 1; margin-bottom: 10px; }
.case-item--wide h3 { grid-column: 1; grid-row: 2; margin-bottom: 0; padding-bottom: 0; }
.case-item--wide h3::after { display: none; }
.case-item--wide p { grid-column: 2; grid-row: 1 / span 2; max-width: 620px; }

@media (hover: hover) {
  .case-item:not(.case-item--featured):hover {
    background: linear-gradient(90deg, var(--cat-tint), rgba(255, 255, 255, 0) 72%);
    box-shadow: inset 2px 0 0 var(--cat);
  }
}

/* ============ FAQ ============ */
.faq { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.faq-bg {
  position: absolute; inset: 0;
  background-image: url("assets/bridge-dusk.jpg");
  background-size: cover; background-position: center 60%;
  opacity: 0.9;
}
.faq-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6, 7, 9, 0.97) 0%, rgba(6, 7, 9, 0.9) 48%, rgba(6, 7, 9, 0.72) 100%);
}
.faq-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 96px; align-items: start;
}
.faq-side { position: sticky; top: 130px; }
.faq-side h2 { font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 1.45; letter-spacing: 0.08em; margin-bottom: 26px; }
.faq-side .section-desc { margin-bottom: 36px; }

.faq-list { border-top: 1px solid rgba(246, 242, 234, 0.18); }
.faq-item { border-bottom: 1px solid rgba(246, 242, 234, 0.13); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 27px 0; font-family: var(--serif); font-size: 19.5px; letter-spacing: 0.05em;
  transition: color 0.35s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--sans); font-size: 20px; font-weight: 300;
  color: var(--gold); line-height: 1; flex: 0 0 auto;
}
.faq-item[open] summary { color: var(--gold-light); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 44px 30px 0; font-size: 13.5px; line-height: 2.1; color: rgba(246, 242, 234, 0.5); }

/* ============ Contact ============ */
.contact {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  padding: 150px 0 140px;
}
.contact-bg {
  position: absolute; inset: 0;
  background-image: url("assets/office-view.jpg");
  background-size: cover; background-position: center 55%;
}
.contact-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 7, 9, 0.94) 0%, rgba(6, 7, 9, 0.86) 42%, rgba(6, 7, 9, 0.95) 100%),
    linear-gradient(90deg, rgba(6, 7, 9, 0.55), transparent 55%);
}
.contact .container { position: relative; z-index: 2; }
.contact .kicker { color: rgba(246, 242, 234, 0.42); }
.contact .head-row { border-color: var(--ink-line); }
.contact .section-desc { color: rgba(246, 242, 234, 0.5); }

.consult-card {
  position: relative; z-index: 3;
  background: #fff; color: var(--text);
  padding: 56px 54px;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start;
  border-top: 1px solid var(--gold-dim);
  box-shadow: 0 80px 120px -80px rgba(0, 0, 0, 0.7);
}

.contact-caption {
  margin-top: 46px; display: flex; justify-content: flex-end; align-items: baseline;
  gap: 18px; font-size: 10.5px; letter-spacing: 0.1em; color: rgba(246, 242, 234, 0.42);
}
.contact-caption span { font-size: 9px; letter-spacing: 0.3em; color: var(--gold); }

.contact-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 26px;
  padding-bottom: 26px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
.contact-person {
  display: flex; align-items: center; gap: 20px;
}
.contact-person img {
  width: 72px; height: 88px; object-fit: cover; object-position: center 18%;
  flex: 0 0 auto; filter: saturate(0.92);
  border: 1px solid var(--line);
}
.contact-person strong { font-family: var(--serif); font-size: 22px; letter-spacing: 0.16em; display: block; line-height: 1.3; }
.contact-person em { font-style: normal; font-size: 9.5px; letter-spacing: 0.26em; color: var(--gold); display: block; margin: 6px 0 8px; }
.contact-person p { font-size: 12px; color: var(--muted); line-height: 1.7; }

.contact-list li {
  display: grid; grid-template-columns: 92px 1fr; gap: 22px; align-items: baseline;
  padding: 17px 0; border-bottom: 1px solid var(--line);
}
.contact-list em { font-style: normal; font-size: 10px; letter-spacing: 0.26em; color: var(--muted); }
.contact-list a, .contact-list li > span { font-size: 14.5px; letter-spacing: 0.02em; }
.contact-list a { border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.contact-list a:hover { color: #8a6c31; border-bottom-color: var(--gold); }

.contact-list li.li-copy { grid-template-columns: 92px 1fr auto; align-items: center; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; margin-left: 4px;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.14em;
  color: #8a6c31; background: rgba(196, 162, 104, 0.08);
  border: 1px solid rgba(176, 142, 87, 0.35);
  cursor: pointer; transition: background 0.28s, border-color 0.28s, color 0.28s;
}
.copy-btn b { font-weight: 400; }
.copy-btn svg { opacity: 0.85; }
.copy-btn:hover { background: rgba(196, 162, 104, 0.18); border-color: rgba(176, 142, 87, 0.6); }
.copy-btn.copied { background: var(--gold); border-color: var(--gold); color: #fdfbf6; }

.wechat-card { flex: 0 0 auto; display: flex; align-items: flex-start; }
.wechat-card img { width: 110px; height: auto; display: block; }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px;
  padding: 0 0 0 60px;
  border-left: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 10px; letter-spacing: 0.24em; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid rgba(25, 26, 28, 0.22);
  padding: 11px 0; outline: none; border-radius: 0; resize: vertical;
  transition: border-color 0.35s;
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23756f66' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: rgba(117, 111, 102, 0.5); }
.field input.invalid, .field textarea.invalid { border-bottom-color: #a8412f; }

.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 4px; }
.form-foot .btn { padding: 16px 42px; border: 0; }
.form-note { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; flex: 1; min-width: 190px; line-height: 1.8; }
.form-status { grid-column: 1 / -1; font-size: 13px; color: #2f6b4f; letter-spacing: 0.03em; }
.form-status.show { padding: 14px 18px; background: rgba(47, 107, 79, 0.08); border-left: 2px solid #2f6b4f; }

/* ============ Footer ============ */
.footer { background: var(--ink); color: rgba(246, 242, 234, 0.42); padding: 96px 0 54px; }
.footer-name {
  font-family: var(--serif); font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  letter-spacing: 0.2em; color: var(--paper); line-height: 1;
  display: flex; align-items: baseline; gap: 18px;
  text-indent: 0.2em;
}
.footer-name em { font-style: normal; font-size: 0.28em; letter-spacing: 0.34em; color: var(--gold); }
.footer-row {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--ink-line);
  font-size: 11.5px; letter-spacing: 0.08em;
}
.footer-note { margin-top: 14px; font-size: 10px; color: rgba(246, 242, 234, 0.26); letter-spacing: 0.06em; }

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .container, .hero-inner, .hero-stats { width: calc(100% - 72px); }
  .nav-inner { width: calc(100% - 64px); }
  .nav-links { gap: 30px; }
  .hero-inner { gap: 48px; grid-template-columns: 1.1fr 0.9fr; }
  .stat { padding: 0 30px; }
  .about-grid { gap: 64px; }
  .about-side { display: none; }
  .faq-grid, .contact-grid { gap: 64px; }
}

@media (max-width: 1024px) {
  .hero-portrait { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 64px; }
  .hero-stats {
    position: static; grid-column: 1 / -1; width: 100%;
    margin-top: 40px; justify-content: flex-start;
  }
  .hero-sub { max-width: 560px; }
  .about-grid { grid-template-columns: 1fr; gap: 68px; }
  .about-media { max-width: 440px; }
  .p-row { grid-template-columns: 64px 1fr 34px; gap: 28px; }
  .p-tags { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .consult-card { grid-template-columns: 1fr; gap: 44px; padding: 44px 36px; }
  .contact-form { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .case-item { padding-right: 32px; }
  .case-item:nth-child(even) { padding-left: 32px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 74px; }
  .section { padding: 96px 0; }
  .container, .hero-inner, .hero-stats { width: calc(100% - 48px); }

  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    background: rgba(8, 9, 11, 0.98); backdrop-filter: blur(18px);
    flex-direction: column; gap: 0; padding: 8px 28px 22px;
    border-bottom: 1px solid rgba(194, 160, 106, 0.18);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid rgba(246, 242, 234, 0.07); font-size: 14px; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4rem); letter-spacing: 0.1em; margin: 30px 0 22px; }
  .hero h1 .indent-2 { margin-left: 1.5em; }
  .hero-motto { margin-left: 2.6em; letter-spacing: 0.12em; }
  .hero-sub .br-desk { display: none; }
  .hero-actions { gap: 26px; margin-top: 38px; }
  .btn { padding: 16px 34px; }
  .hero-stats { justify-content: flex-start; gap: 0; padding: 26px 0 38px; }
  .stat-group { flex-wrap: wrap; width: 100%; row-gap: 26px; }
  .stat { width: 50%; padding: 0 0 0 24px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat strong { font-size: 34px; }
  .hero-scroll { display: none; }

  .head-row { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .section-head { margin-bottom: 60px; }
  .head-row h2 { font-size: clamp(2rem, 8vw, 2.7rem); }

  .section-head--inline { flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-bottom: 44px; }
  .section-head--inline .head-row { flex-wrap: wrap; gap: 10px; }
  .section-head--inline h2 { font-size: 19px; }
  .section-head--inline .section-desc { text-align: left; margin-left: 0; font-size: 13px; }
  .section-head--inline .kicker { font-size: 14px; letter-spacing: 0.3em; }

  .about-media { max-width: 100%; }
  .about-media-frame::before { inset: -12px 12px 12px -12px; }
  .about-quote { font-size: 17px; padding: 24px 22px 24px 24px; }

  .statement { padding: 100px 0; }
  .statement-watermark { font-size: 70vw; right: -14%; }

  .band { height: auto; min-height: 0; padding: 88px 0; }
  .band h3 { font-size: clamp(1.55rem, 6.4vw, 2.1rem); }

  .p-row { grid-template-columns: 44px 1fr; gap: 20px; padding: 26px 4px; }
  .p-arrow { display: none; }
  .p-row:hover { padding-left: 8px; }
  .p-main h3 { font-size: 20px; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 30px 0 26px; }
  .step + .step { border-left: 0; padding-left: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .step-num { font-size: 42px; margin-bottom: 18px; }
  .principles { grid-template-columns: 1fr; margin-top: 56px; }
  .principles div { border-left: 0; border-top: 1px solid rgba(246, 242, 234, 0.1); padding: 26px 28px; }
  .principles div:first-child { border-top: 0; }

  .faq-item p { padding-right: 10px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-item, .case-item:nth-child(even) { padding: 30px 0; border-left: 0; }
  .case-item p { max-width: none; }
  .case-item.case-item--featured { display: block; padding: 34px 30px; }
  .case-item--featured::after { inset: 10px; }
  .featured-rail { flex-direction: row; align-items: center; gap: 16px; padding-right: 0; margin-bottom: 22px; }
  .featured-num { font-size: 48px; }
  .featured-cat { margin-left: auto; }
  .featured-main { border-left: 0; border-top: 1px solid rgba(194, 160, 106, 0.2); padding-left: 0; padding-top: 20px; }
  .featured-main h3 { font-size: 25px; }
  .case-item.case-item--wide { display: block; padding: 32px 0; }
  .case-item--wide .case-cat, .case-item--wide h3, .case-item--wide p { grid-column: auto; grid-row: auto; }
  .case-item--wide p { margin-top: 10px; }
  .domains > div, .facts div { grid-template-columns: 1fr; gap: 8px; }
  .domains dt { padding-top: 0; }
  .contact { padding: 96px 0 88px; }
  .consult-card { padding: 30px 22px; gap: 34px; }
  .contact-caption { justify-content: flex-start; margin-top: 32px; flex-wrap: wrap; gap: 8px 14px; }
  .contact-form { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--line); grid-template-columns: 1fr; }
  .contact-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .wechat-card { align-items: flex-start; padding: 14px; gap: 14px; }
  .wechat-card img { width: 92px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .footer { padding: 72px 0 44px; }
  .footer-row { flex-direction: column; gap: 8px; }
}

@media (max-width: 640px) {
  .container, .hero-inner, .hero-stats { width: calc(100% - 40px); }
  .nav-inner { width: calc(100% - 36px); }
  .brand-text { font-size: 16px; letter-spacing: 0.14em; }
  .section { padding: 76px 0; }

  .hero { padding-top: calc(var(--nav-h) + 26px); }
  .hero h1 { font-size: clamp(2.1rem, 12.5vw, 3rem); letter-spacing: 0.08em; }
  .hero h1 .indent-2 { margin-left: 1em; }
  .hero-motto { margin-left: 1.5em; font-size: 12.5px; letter-spacing: 0.1em; }
  .hero-sub { font-size: 13.5px; line-height: 2; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 32px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions .link-arrow { justify-content: center; }
  .hero-stats { padding: 22px 0 30px; }
  .stat-group { row-gap: 20px; }
  .stat { padding-left: 16px; }
  .stat strong { font-size: 26px; }
  .stat > span { font-size: 8.5px; letter-spacing: 0.18em; }

  .section-head--inline .h2, .section-head--inline h2 { font-size: 17px; }
  .section-head--inline .section-desc { font-size: 12px; padding: 6px 12px; }
  .section-head--inline .kicker { font-size: 12px; letter-spacing: 0.26em; }
  .section-head--inline .kicker span { font-size: 17px; margin-right: 13px; }
  .section-head--inline .kicker span::after { right: -8px; height: 12px; }
  .section-head--inline .kicker::after { width: 40px; margin-left: 10px; }

  .about-quote { font-size: 15.5px; line-height: 1.95; padding: 20px 18px; }
  .about-media figcaption span { font-size: 14px; }

  .p-row { grid-template-columns: 34px 1fr; gap: 16px; padding: 22px 2px; }
  .p-main h3 { font-size: 18px; }
  .p-main p { font-size: 13px; }

  .case-grid { grid-template-columns: 1fr; }
  .case-item, .case-item:nth-child(even) { padding: 26px 0; }
  .case-item::after { font-size: 36px; top: 16px; right: 0; }
  .case-item::before { display: none; }
  .case-item h3 { font-size: 17px; padding-right: 34px; }
  .case-item.case-item--featured { padding: 28px 20px; }
  .case-item--featured::after { inset: 8px; }
  .featured-rail { flex-wrap: wrap; gap: 10px 14px; margin-bottom: 18px; }
  .featured-num { font-size: 40px; }
  .featured-cat { width: 100%; margin-left: 0; }
  .featured-main { padding-top: 16px; }
  .featured-main h3 { font-size: 20px; padding-right: 0; }
  .featured-main p { font-size: 13px; }
  .case-item--wide p { margin-top: 8px; }

  .faq-item summary { font-size: 14.5px; padding: 18px 24px 18px 0; }
  .faq-item p { font-size: 13px; }

  .consult-card { padding: 26px 18px; gap: 28px; }
  .contact-list li, .contact-list li.li-copy { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .contact-list em { grid-column: 1 / -1; }
  .contact-list a, .contact-list li > span { font-size: 13.5px; }
  .copy-btn { padding: 5px 9px; font-size: 10px; }
  .wechat-card { padding: 12px; gap: 12px; }
  .wechat-card img { width: 84px; }
  .contact-form { row-gap: 26px; }
  .form-foot { gap: 14px; }
  .footer-name { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .load, .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .about-media-frame img { clip-path: none !important; }
  .section-head--inline .kicker::after { transform: scaleX(1) !important; }
  .hero-glow::after, .btn-gold::after { display: none; }
}
