/* ==========================================================================
   罗文彬律师 · 个人网站
   视觉方向：深青、暖砂、铜色；克制的编辑感与清晰的秩序
   ========================================================================== */

:root {
  --ink: #15211f;
  --ink-2: #22312e;
  --ink-3: #35443f;
  --muted: #6b766f;
  --muted-light: #8c958e;
  --paper: #f3efe6;
  --paper-2: #eae3d5;
  --paper-3: #dfd5c3;
  --cream: #fbf8f1;
  --white: #fffdf9;
  --jade: #2e5a4e;
  --jade-deep: #1c3a33;
  --jade-soft: rgba(46, 90, 78, 0.09);
  --copper: #a66f43;
  --copper-light: #c79a70;
  --copper-soft: rgba(166, 111, 67, 0.11);
  --line: rgba(21, 33, 31, 0.14);
  --line-strong: rgba(21, 33, 31, 0.24);
  --line-invert: rgba(251, 248, 241, 0.17);
  --text-invert: rgba(251, 248, 241, 0.74);
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --latin: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --container: 1180px;
  --gutter: clamp(22px, 4.4vw, 46px);
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 18px 48px -34px rgba(21, 33, 31, 0.42);
  --shadow-lg: 0 48px 100px -56px rgba(21, 33, 31, 0.58);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 2%, rgba(166, 111, 67, 0.09), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(46, 90, 78, 0.07), transparent 30%),
    linear-gradient(90deg, rgba(21, 33, 31, 0.022) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 108px 100%, auto;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.88;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--jade);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 1300;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 880px;
}

.container--wide {
  max-width: 1360px;
}

/* --------------------------------------------------------------------------
   标题与基础排版
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.008em;
}

h1 {
  font-size: clamp(3rem, 6.6vw, 5.6rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.95rem, 3.7vw, 3.1rem);
  line-height: 1.34;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.48rem);
  line-height: 1.58;
}

h4 {
  font-size: 1.06rem;
  line-height: 1.6;
}

p {
  margin-bottom: 1.15em;
}

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

strong {
  color: var(--ink);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--copper);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--plain::before {
  display: none;
}

.section {
  padding: clamp(76px, 10vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.section--tight {
  padding: clamp(56px, 7vw, 92px) 0;
}

.section--deep {
  background: var(--ink);
  color: var(--text-invert);
  border-top-color: transparent;
}

.section--deep h2,
.section--deep h3,
.section--deep h4,
.section--deep strong {
  color: var(--cream);
}

.section--deep .eyebrow {
  color: var(--copper-light);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.section-head p {
  max-width: 46ch;
  color: var(--muted);
}

.section--deep .section-head p {
  color: var(--text-invert);
}

.section-head h2 {
  max-width: 18ch;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(243, 239, 230, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(243, 239, 230, 0.96);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__seal {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid var(--jade);
  background: var(--jade);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.brand__meta {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 38px);
}

.nav a {
  position: relative;
  color: var(--ink-2);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--copper);
  transition: right 0.35s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  right: 0;
}

.nav a[aria-current="page"] {
  color: var(--copper);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   首页主视觉
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(54px, 8vw, 104px) 0 clamp(64px, 9vw, 118px);
}

.hero::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: center;
}

.hero__name {
  margin-bottom: 12px;
  font-size: clamp(4.5rem, 12.5vw, 9.4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 0.98;
}

.hero__pinyin {
  margin-bottom: 28px;
  color: var(--copper);
  font-family: var(--latin);
  font-size: clamp(0.78rem, 1.2vw, 0.94rem);
  letter-spacing: 0.42em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero__role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--ink-3);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.hero__role span[aria-hidden="true"] {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--copper);
}

.hero__lead {
  max-width: 40ch;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 2;
}

.hero__lead strong {
  color: var(--jade-deep);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn__arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--primary {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--cream);
}

.btn--primary:hover {
  border-color: var(--jade-deep);
  background: var(--jade-deep);
}

.btn--ghost:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  padding: 18px 0 0 18px;
}

.hero__visual::before {
  display: none;
}

.emblem {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 5;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 42%),
    var(--jade-deep);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}

.emblem::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(251, 248, 241, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 248, 241, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.emblem::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(199, 154, 112, 0.42);
  border-radius: 50%;
}

.emblem__top,
.emblem__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

.emblem__top span:last-child {
  color: var(--copper-light);
}

.emblem__monogram {
  position: relative;
  z-index: 1;
  align-self: center;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(7rem, 17vw, 12.6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.8;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.emblem__bottom {
  align-items: flex-end;
}

.emblem__bottom strong {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.12em;
}

.emblem__caption {
  margin-top: 16px;
  padding-left: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  line-height: 1.7;
}

/* 职业照主视觉 */
.portrait-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  padding: clamp(16px, 2.4vw, 26px);
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--jade-deep);
  box-shadow: var(--shadow-lg);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(251, 248, 241, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 248, 241, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(199, 154, 112, 0.46);
  pointer-events: none;
}

.portrait-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.26));
}

.portrait-seal {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--copper-light);
  background: rgba(28, 58, 51, 0.88);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1;
}

.portrait-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.portrait-meta span:last-child {
  text-align: right;
}

.about-portrait {
  width: 100%;
  max-width: 250px;
  margin: 0 0 28px;
  padding: 10px;
  background: var(--jade-deep);
  border: 1px solid rgba(199, 154, 112, 0.5);
}

.about-portrait img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   资历条 / 服务方向
   -------------------------------------------------------------------------- */

.credentials {
  border-bottom: 1px solid var(--line);
}

.credentials__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.credential {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px 26px 0;
  border-right: 1px solid var(--line);
}

.credential:not(:first-child) {
  padding-left: 24px;
}

.credential:last-child {
  border-right: 0;
}

.credential__value {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.credential__label {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   方法 / 业务卡片
   -------------------------------------------------------------------------- */

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.method {
  padding: 30px 28px 30px 0;
  border-right: 1px solid var(--line);
}

.method:not(:first-child) {
  padding-left: 28px;
}

.method:last-child {
  border-right: 0;
}

.method__index {
  display: block;
  margin-bottom: 26px;
  color: var(--copper);
  font-family: var(--latin);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.method h3 {
  margin-bottom: 12px;
}

.method p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.9;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.practice-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--paper);
  transition: background 0.4s var(--ease);
}

.practice-card:hover {
  background: var(--cream);
}

.practice-card__number {
  margin-bottom: auto;
  color: var(--copper);
  font-family: var(--latin);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.practice-card h3 {
  margin: 44px 0 12px;
}

.practice-card p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.9;
}

.practice-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--jade);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.practice-card__more span {
  transition: transform 0.3s var(--ease);
}

.practice-card:hover .practice-card__more span {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   引言 / 观点
   -------------------------------------------------------------------------- */

.quote-band {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--jade-deep);
  color: var(--text-invert);
}

.quote-band blockquote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote-band blockquote p {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  line-height: 1.7;
}

.quote-band cite {
  display: block;
  margin-top: 26px;
  color: var(--copper-light);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.2em;
  line-height: 1.6;
}

.notes {
  border-top: 1px solid var(--line);
}

.note-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 44px;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease);
}

.note-row:hover {
  color: var(--copper);
}

.note-row__meta {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  line-height: 1.7;
}

.note-row h3 {
  margin-bottom: 8px;
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  transition: color 0.3s var(--ease);
}

.note-row:hover h3 {
  color: var(--copper);
}

.note-row p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.note-row__arrow {
  justify-self: end;
  color: var(--copper);
  font-size: 1.2rem;
  line-height: 1.5;
  transition: transform 0.3s var(--ease);
}

.note-row:hover .note-row__arrow {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   内页头部
   -------------------------------------------------------------------------- */

.page-hero {
  padding: clamp(64px, 9vw, 112px) 0 clamp(54px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.5fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
}

.page-hero h1 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.16;
}

.page-hero__lead {
  max-width: 48ch;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 2;
}

.page-hero__aside {
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  line-height: 1.9;
}

.page-hero__aside strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   正文与双栏
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.split--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
}

.split__aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.split__label {
  margin-bottom: 18px;
  color: var(--copper);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.split__aside h2 {
  max-width: 13ch;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.prose {
  max-width: 68ch;
  color: var(--ink-3);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 2.05;
}

.prose h2 {
  margin: 2.2em 0 0.8em;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.8em 0 0.6em;
  font-size: 1.18rem;
}

.prose p {
  margin-bottom: 1.4em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.4em;
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.55em;
  padding-left: 0.2em;
}

.prose blockquote {
  margin: 2em 0;
  padding: 22px 0 22px 26px;
  border-left: 2px solid var(--copper);
  color: var(--ink-2);
}

.prose blockquote p {
  margin-bottom: 0;
}

.prose hr {
  width: 100%;
  margin: 2.6em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.note {
  margin-top: 30px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--copper-soft);
  color: var(--ink-3);
  font-size: 0.86rem;
  line-height: 1.85;
}

.note strong {
  color: var(--copper);
}

/* 事实表 */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 1.6em;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact {
  padding: 20px 22px;
  background: var(--cream);
}

.fact dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.fact dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
}

/* 服务方向详情 */
.service {
  padding: clamp(44px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}

.service:first-of-type {
  border-top: 0;
}

.service__grid {
  display: grid;
  grid-template-columns: 90px minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.service__number {
  color: var(--copper);
  font-family: var(--latin);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

.service h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.service__body {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.95;
}

.service__body ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service__body li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-top: 1px solid var(--line);
}

.service__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.28em;
  width: 6px;
  height: 1px;
  background: var(--copper);
}

/* 流程 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-invert);
  border: 1px solid var(--line-invert);
}

.step {
  padding: 28px 24px;
  background: var(--ink);
}

.step__number {
  display: block;
  margin-bottom: 34px;
  color: var(--copper-light);
  font-family: var(--latin);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.step p {
  color: var(--text-invert);
  font-size: 0.84rem;
  line-height: 1.8;
}

/* 文章列表 */
.article-list {
  border-top: 1px solid var(--line);
}

.article-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(30px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}

.article-card__meta {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  line-height: 1.8;
}

.article-card__meta span {
  display: block;
}

.article-card__meta .tag {
  margin-bottom: 8px;
  color: var(--copper);
}

.article-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.28rem, 2.2vw, 1.72rem);
}

.article-card h2 a:hover {
  color: var(--copper);
}

.article-card p {
  max-width: 66ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.9;
}

.article-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--jade);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

/* 联系页 */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.contact-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  line-height: 1.8;
}

.contact-list dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.8;
}

.contact-list a {
  color: var(--jade);
  border-bottom: 1px solid rgba(46, 90, 78, 0.35);
}

.contact-list a:hover {
  color: var(--copper);
  border-bottom-color: var(--copper);
}

.contact-card {
  padding: clamp(28px, 4vw, 46px);
  background: var(--jade-deep);
  color: var(--text-invert);
  box-shadow: var(--shadow-lg);
}

.contact-card h2 {
  margin-bottom: 16px;
  color: var(--cream);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.contact-card p {
  color: var(--text-invert);
  font-size: 0.9rem;
  line-height: 1.9;
}

.contact-card .eyebrow {
  color: var(--copper-light);
}

.contact-card__rule {
  height: 1px;
  margin: 26px 0;
  background: var(--line-invert);
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-card .btn--primary {
  border-color: var(--copper);
  background: var(--copper);
  color: var(--ink);
}

.contact-card .btn--primary:hover {
  border-color: var(--copper-light);
  background: var(--copper-light);
}

.contact-card .btn--ghost {
  border-color: var(--line-invert);
  color: var(--cream);
}

.contact-card .btn--ghost:hover {
  border-color: var(--copper-light);
  color: var(--copper-light);
}

/* 页脚 */
.site-footer {
  padding: 56px 0 34px;
  background: var(--ink);
  color: var(--text-invert);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: clamp(30px, 6vw, 80px);
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line-invert);
}

.site-footer .brand__name {
  color: var(--cream);
}

.site-footer .brand__meta {
  color: var(--text-invert);
}

.site-footer .brand__seal {
  border-color: var(--copper);
  background: transparent;
  color: var(--copper-light);
}

.site-footer__statement {
  max-width: 34ch;
  margin-top: 18px;
  color: var(--text-invert);
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.9;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  color: var(--text-invert);
  font-size: 0.84rem;
  line-height: 1.7;
}

.site-footer__links a:hover {
  color: var(--copper-light);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 24px;
  color: var(--muted-light);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--jade);
  color: var(--cream);
}

/* 404 */
.error-page {
  display: grid;
  min-height: 62vh;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.error-page__code {
  color: var(--copper);
  font-family: var(--latin);
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: 0.08em;
  line-height: 1;
}

.error-page h1 {
  margin: 16px 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.error-page p {
  max-width: 40ch;
  margin: 0 auto 28px;
  color: var(--muted);
}

/* 入场动画 */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn__arrow,
  .note-row__arrow,
  .practice-card__more span {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 38px;
  }

  .hero__name {
    font-size: clamp(4.2rem, 11vw, 7rem);
  }

  .credentials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credential:nth-child(2) {
    border-right: 0;
  }

  .credential:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method,
  .method:not(:first-child) {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method:last-child {
    border-bottom: 0;
  }

  .method__index {
    margin-bottom: 14px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service__grid {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .service__body {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  body {
    font-size: 15.5px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 420px;
    margin-left: 0;
    padding: 10px 0 0 10px;
  }

  .hero__visual::before {
    right: 22px;
  }

  .hero__name {
    font-size: clamp(3.8rem, 20vw, 6.4rem);
  }

  .hero__lead {
    max-width: none;
  }

  .credentials__grid {
    grid-template-columns: 1fr;
  }

  .credential,
  .credential:not(:first-child) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .credential:last-child {
    border-bottom: 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head h2 {
    max-width: none;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-card {
    min-height: 260px;
  }

  .note-row {
    grid-template-columns: 1fr 34px;
    gap: 10px 18px;
  }

  .note-row__meta {
    grid-column: 1 / -1;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__aside {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split__aside {
    position: static;
  }

  .split__aside h2 {
    max-width: none;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 24px 20px;
  }

  .article-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .article-card__meta .tag {
    margin-bottom: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-list li {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero__role {
    font-size: 0.8rem;
  }

  .btn {
    width: 100%;
  }

  .contact-card__actions .btn {
    width: 100%;
  }
}
