:root {
  --background-50: 0.985 0.006 85;
  --background-100: 0.968 0.010 82;
  --background-200: 0.935 0.016 80;
  --background-300: 0.885 0.022 78;
  --background-400: 0.80 0.028 74;
  --primary-50: 0.96 0.015 70;
  --primary-100: 0.91 0.030 66;
  --primary-200: 0.84 0.050 62;
  --primary-300: 0.74 0.070 58;
  --primary-400: 0.62 0.085 55;
  --primary-500: 0.50 0.085 52;
  --primary-600: 0.43 0.078 50;
  --primary-700: 0.36 0.068 48;
  --primary-800: 0.30 0.055 47;
  --primary-900: 0.25 0.045 46;
  --primary-950: 0.20 0.038 45;
  --accent-50: 0.97 0.02 55;
  --accent-100: 0.93 0.045 52;
  --accent-300: 0.79 0.105 45;
  --accent-400: 0.70 0.13 43;
  --accent-500: 0.62 0.145 42;
  --accent-600: 0.54 0.135 40;
  --accent-700: 0.46 0.115 39;
  --accent-800: 0.38 0.095 38;
  --secondary-100: 0.93 0.022 82;
  --secondary-900: 0.30 0.027 66;
  --foreground-50: 0.96 0.008 75;
  --foreground-100: 0.92 0.012 72;
  --foreground-400: 0.62 0.025 66;
  --foreground-500: 0.52 0.025 64;
  --foreground-600: 0.44 0.025 62;
  --foreground-700: 0.37 0.024 60;
  --foreground-800: 0.30 0.022 58;
  --foreground-900: 0.24 0.020 55;
  --foreground-950: 0.19 0.018 52;
  --font-heading: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --radius: 0.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: oklch(var(--background-50));
  color: oklch(var(--foreground-950));
  line-height: 1.7;
  padding-bottom: 5.25rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { background: none; border: 0; padding: 0; color: inherit; }
h1, h2, h3, .font-heading { font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.pad { padding-left: 1rem; padding-right: 1rem; }
.narrow { max-width: 48rem; margin-inline: auto; }
.band { padding: 4rem 0; }
.band-muted { background: oklch(var(--background-100)); }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  font-size: 0.925rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
.btn-primary { background: oklch(var(--primary-500)); color: oklch(var(--background-50)); }
.btn-primary:hover { background: oklch(var(--primary-600)); }
.btn-accent { background: oklch(var(--accent-500)); color: oklch(var(--background-50)); }
.btn-accent:hover { background: oklch(var(--accent-600)); }
.btn-outline {
  background: transparent;
  border-color: oklch(var(--primary-300));
  color: oklch(var(--primary-700));
}
.btn-outline:hover { background: oklch(var(--primary-50)); }
.btn-ghost-light {
  background: transparent;
  border-color: oklch(0.985 0.006 85 / 0.45);
  color: oklch(var(--background-50));
}
.btn-ghost-light:hover { background: oklch(0.985 0.006 85 / 0.12); }
.btn-cream { background: oklch(var(--background-50)); color: oklch(var(--accent-700)); }
.btn-cream:hover { background: oklch(var(--background-100)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: oklch(var(--accent-600));
}
.eyebrow.light { color: oklch(var(--accent-300)); }
.rule {
  display: block;
  width: 4rem;
  height: 1px;
  margin: 1rem 0 0;
  background: oklch(var(--primary-400));
}
.section-title { display: flex; flex-direction: column; margin-bottom: 2.5rem; }
.section-title.center { align-items: center; text-align: center; }
.section-title.light .eyebrow { color: oklch(var(--accent-300)); }
.section-title.light h2 { color: oklch(var(--background-50)); }
.section-title.light .rule { background: oklch(var(--accent-400)); }
.section-title.light p { color: oklch(0.92 0.012 72 / 0.72); }
.section-title h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); color: oklch(var(--foreground-950)); }
.section-title p { max-width: 40rem; margin-top: 1.15rem; font-size: 0.95rem; color: oklch(var(--foreground-600)); }
.section-more { margin-top: 2.5rem; text-align: center; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  white-space: nowrap;
}
.pill-khaki { background: oklch(var(--secondary-100)); color: oklch(var(--secondary-900)); }
.pill-accent { background: oklch(var(--accent-100)); color: oklch(var(--accent-800)); }
.meta-date { font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  color: oklch(var(--accent-600));
  font-size: 0.875rem;
}
.card-more i { transition: transform 0.2s; }
.practice-card:hover .card-more i,
.article-card:hover .card-more i,
.case-card:hover .card-more i { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: oklch(0.985 0.006 85 / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(var(--background-200));
  transition: background 0.3s, border-color 0.3s;
}
.header-inner {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid oklch(var(--primary-300));
  color: oklch(var(--primary-600));
  font-size: 1.25rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-firm {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: oklch(var(--foreground-500));
  max-width: 11rem;
  line-height: 1.35;
}
.nav-desktop { display: none; align-items: center; gap: 0.15rem; }
.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: oklch(var(--foreground-700));
}
.nav-link:hover { color: oklch(var(--primary-700)); background: oklch(var(--primary-50)); }
.nav-cta, .header-book {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  border-radius: 0.375rem;
  background: oklch(var(--primary-500));
  color: oklch(var(--background-50));
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-cta:hover, .header-book:hover { background: oklch(var(--primary-600)); }
.header-book { display: none; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: oklch(var(--foreground-700));
}
.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid oklch(var(--background-300));
  font-size: 1.4rem;
}
.nav-mobile {
  background: oklch(var(--background-50));
  border-bottom: 1px solid oklch(var(--background-200));
  padding: 0.75rem 1rem 1rem;
}
.nav-mobile a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  color: oklch(var(--foreground-800));
}
.nav-mobile a:hover { background: oklch(var(--primary-50)); color: oklch(var(--primary-700)); }
.nav-mobile .nav-cta { justify-content: center; width: 100%; margin-top: 0.4rem; }
body.is-home:not(.is-scrolled) .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
body.is-home:not(.is-scrolled) .brand-mark {
  border-color: oklch(0.985 0.006 85 / 0.4);
  color: oklch(var(--background-50));
}
body.is-home:not(.is-scrolled) .brand-name,
body.is-home:not(.is-scrolled) .header-phone { color: oklch(var(--background-50)); }
body.is-home:not(.is-scrolled) .brand-firm { color: oklch(0.985 0.006 85 / 0.72); }
body.is-home:not(.is-scrolled) .nav-link { color: oklch(0.985 0.006 85 / 0.82); }
body.is-home:not(.is-scrolled) .nav-link:hover { color: oklch(var(--background-50)); background: transparent; }
body.is-home:not(.is-scrolled) .nav-toggle {
  border-color: oklch(0.985 0.006 85 / 0.4);
  color: oklch(var(--background-50));
}

/* Hero — full viewport, shade, kicker, dual actions. No stat row. */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: oklch(var(--background-50));
}
.hero-bg, .hero-shade { position: absolute; inset: 0; }
.hero-bg img, .hero-fallback { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-fallback {
  background:
    radial-gradient(ellipse at 75% 15%, oklch(0.46 0.115 39 / 0.55), transparent 52%),
    linear-gradient(165deg, oklch(var(--primary-800)), oklch(var(--foreground-950)) 70%);
}
.hero-shade {
  background: linear-gradient(to bottom, oklch(0.19 0.018 52 / 0.7), oklch(0.19 0.018 52 / 0.55), oklch(0.19 0.018 52 / 0.8));
}
.hero-inner { position: relative; width: 100%; padding-top: 5.5rem; padding-bottom: 3rem; }
.hero-copy { max-width: 52rem; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 100%;
  margin-bottom: 1.4rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid oklch(0.985 0.006 85 / 0.3);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: oklch(0.985 0.006 85 / 0.9);
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.25;
  color: oklch(var(--background-50));
}
.hero-lead {
  margin-top: 1.4rem;
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: oklch(0.92 0.012 72 / 0.82);
}
.hero-actions { margin-top: 2.1rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* About preview */
.about-grid { display: flex; flex-direction: column; gap: 2.5rem; align-items: center; }
.about-photo {
  position: relative;
  width: 100%;
  max-width: 26rem;
  height: 28.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-200));
}
.about-photo img, .photo-fallback { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, oklch(var(--primary-200)), oklch(var(--primary-700)));
  color: oklch(var(--background-50));
  font-size: 2.5rem;
}
.photo-fallback span { font-size: 1rem; font-family: var(--font-heading); }
.about-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background: oklch(0.985 0.006 85 / 0.95);
  border: 1px solid oklch(var(--background-200));
}
.about-caption-name { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; }
.about-caption-title { margin-top: 0.15rem; font-size: 0.75rem; color: oklch(var(--accent-600)); }
.about-copy { width: 100%; }
.about-copy h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.35; }
.about-role { margin-top: 0.85rem; color: oklch(var(--foreground-700)); }
.about-meta { margin-top: 0.25rem; font-size: 0.875rem; color: oklch(var(--foreground-500)); }
.about-lead { margin-top: 1.15rem; color: oklch(var(--foreground-600)); font-size: 0.98rem; }
.about-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }

.practice-grid, .article-grid, .news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}
.practice-card, .article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-50));
  transition: border-color 0.2s;
}
.band-muted .article-card, .news-grid .article-card { background: oklch(var(--background-50)); }
.news-grid .article-card { background: oklch(var(--background-100)); }
.practice-card:hover, .article-card:hover, .case-card:hover, .practice-row:hover { border-color: oklch(var(--primary-300)); }
.practice-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: oklch(var(--primary-50));
  border: 1px solid oklch(var(--primary-200));
  color: oklch(var(--primary-600));
  font-size: 1.4rem;
  margin-bottom: 1.15rem;
}
.practice-card h3, .article-card h2, .article-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
  line-height: 1.45;
  color: oklch(var(--foreground-950));
}
.practice-card p, .article-card p { flex: 1; font-size: 0.9rem; color: oklch(var(--foreground-600)); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; margin-bottom: 0.9rem; }
.practice-card:hover h3, .article-card:hover h2, .article-card:hover h3, .case-row:hover h3, .case-card:hover h2 { color: oklch(var(--primary-700)); }

.case-rows { border-top: 1px solid oklch(var(--background-200)); min-width: 0; }
.case-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem 0.25rem;
  border-bottom: 1px solid oklch(var(--background-200));
  min-width: 0;
  max-width: 100%;
}
.case-row:hover { background: oklch(var(--background-100)); }
.case-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; }
.case-row-body { min-width: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.case-row h3 { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.case-row-result {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: oklch(var(--foreground-600));
  overflow-wrap: anywhere;
}
.case-row-arrow { display: none; flex: none; color: oklch(var(--foreground-400)); }

.case-stack { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.case-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-100));
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.case-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; }
.case-card h2 { margin: 0; font-size: 1.2rem; line-height: 1.45; overflow-wrap: anywhere; }
.case-card p, .case-result {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: oklch(var(--foreground-600));
  overflow-wrap: anywhere;
}
.empty-note { text-align: center; color: oklch(var(--foreground-500)); padding: 3rem 0; }

.practice-list { display: flex; flex-direction: column; gap: 1.25rem; }
.practice-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-100));
}
.practice-row-index { display: flex; align-items: flex-start; gap: 1rem; }
.practice-no {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1;
  color: oklch(var(--background-300));
}
.practice-row .practice-icon { margin-bottom: 0; }
.practice-row-body h2 { margin: 0; font-size: 1.35rem; }
.practice-row-body p { margin-top: 0.65rem; color: oklch(var(--foreground-600)); }
.practice-row-arrow { display: none; color: oklch(var(--foreground-400)); }

/* Process — full-bleed, flex centered, no fixed column count */
.process-band {
  width: 100%;
  padding: 4rem 0;
  background: oklch(var(--primary-900));
  color: oklch(var(--background-50));
}
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}
.step-item {
  flex: 1 1 16.5rem;
  max-width: 22rem;
  min-width: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  background: oklch(0.985 0.006 85 / 0.06);
  border: 1px solid oklch(0.985 0.006 85 / 0.15);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
}
.step-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: oklch(var(--accent-400));
  line-height: 1;
}
.step-item h3 {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  color: oklch(var(--background-50));
}
.step-item p {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: oklch(0.92 0.012 72 / 0.72);
}
.step-item h3,
.step-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cta-band { background: oklch(var(--accent-600)); color: oklch(var(--background-50)); padding: 3.5rem 0; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; text-align: center; }
.cta-copy h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-copy p { margin-top: 0.9rem; max-width: 40rem; color: oklch(0.985 0.006 85 / 0.88); }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; }

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background: oklch(var(--primary-900));
  color: oklch(var(--background-50));
}
.page-hero-photo { position: absolute; inset: 0; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.page-hero-glow { position: absolute; inset: 0; pointer-events: none; }
.page-hero-glow::before,
.page-hero-glow::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.35;
}
.page-hero-glow::before {
  width: 18rem;
  height: 18rem;
  top: -6rem;
  right: -3rem;
  background: oklch(var(--accent-500));
}
.page-hero-glow::after {
  width: 16rem;
  height: 16rem;
  bottom: -4rem;
  left: 22%;
  background: oklch(var(--primary-400));
}
.page-hero-inner { position: relative; padding-top: 7.25rem; padding-bottom: 3rem; }
.page-hero h1 {
  margin: 0.4rem 0 0;
  max-width: 52rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.3;
  color: oklch(var(--background-50));
}
.page-hero-desc {
  margin-top: 1rem;
  max-width: 40rem;
  color: oklch(0.92 0.012 72 / 0.72);
  font-size: 0.95rem;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  font-size: 0.8rem;
  color: oklch(0.92 0.012 72 / 0.62);
}
.crumbs a:hover { color: oklch(var(--background-50)); }
.crumb-sep { display: inline-flex; }
.crumb-current {
  color: oklch(0.92 0.012 72 / 0.92);
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-layout { display: flex; flex-direction: column; gap: 2.5rem; }
.detail-main { min-width: 0; }
.detail-aside { width: 100%; }
.article-lead {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  border-left: 2px solid oklch(var(--accent-400));
  font-size: 1.05rem;
  line-height: 1.8;
  color: oklch(var(--foreground-700));
}
.detail-meta { margin-bottom: 1rem; color: oklch(var(--foreground-500)); font-size: 0.85rem; }
.detail-practice { margin-bottom: 1rem; font-size: 0.9rem; color: oklch(var(--foreground-600)); }
.detail-practice a { color: oklch(var(--primary-700)); }
.alert-soft {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.375rem;
  background: oklch(var(--accent-100));
  color: oklch(var(--accent-800));
  font-size: 0.875rem;
}
.result-box {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: oklch(var(--background-100));
  border: 1px solid oklch(var(--background-200));
}
.result-box strong { display: block; margin-bottom: 0.35rem; }
.result-box p { color: oklch(var(--foreground-700)); }
.author-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: oklch(var(--background-100));
  border: 1px solid oklch(var(--background-200));
}
.author-card img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 999px; }
.author-card strong { display: block; }
.author-title { margin-left: 0.4rem; font-weight: 400; color: oklch(var(--foreground-500)); font-size: 0.85rem; }
.author-card p { font-size: 0.8rem; color: oklch(var(--foreground-500)); }
.detail-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-block { margin-top: 2rem; }
.faq-block h2, .related-block h2, .related-block h3 { margin: 0 0 0.8rem; font-size: 1.2rem; }
.faq-item { padding: 0.9rem 0; border-top: 1px solid oklch(var(--background-200)); }
.faq-item h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.faq-item p { color: oklch(var(--foreground-600)); }
.related-block { margin-top: 2rem; }
.related-list { display: flex; flex-direction: column; }
.related-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid oklch(var(--background-200));
  color: oklch(var(--foreground-700));
  font-size: 0.9rem;
}
.related-item span { flex: 1; }
.related-item em { font-style: normal; font-size: 0.75rem; color: oklch(var(--foreground-400)); }
.related-item i { color: oklch(var(--primary-400)); margin-top: 0.15rem; }
.related-item:hover span { color: oklch(var(--primary-700)); }
.related-lawyer {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-50));
}
.related-lawyer img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 0.375rem; }
.related-lawyer-name { font-weight: 600; }
.related-lawyer-lead { font-size: 0.82rem; color: oklch(var(--foreground-500)); }

.prose { color: oklch(var(--foreground-600)); font-size: 1rem; line-height: 1.9; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3 {
  margin: 1.6rem 0 0.7rem;
  color: oklch(var(--foreground-950));
  line-height: 1.4;
}
.prose h2 { font-size: 1.35rem; }
.prose h3 { font-size: 1.1rem; }
.prose p { margin: 0.8rem 0; }
.prose a { color: oklch(var(--primary-700)); text-decoration: underline; }
.prose ul, .prose ol { margin: 0.8rem 0; padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }
.prose img { border-radius: 0.375rem; }
.prose blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 2px solid oklch(var(--accent-400));
  color: oklch(var(--foreground-700));
}

/* Forms — earth tiles, not a floating white card */
.form-panel h3 {
  margin: 0;
  font-size: 1.35rem;
  color: oklch(var(--foreground-950));
}
.form-sub { margin-top: 0.45rem; font-size: 0.875rem; color: oklch(var(--foreground-600)); }
.form-field { margin-top: 1.1rem; }
.form-field label { display: block; margin-bottom: 0.45rem; font-size: 0.875rem; font-weight: 500; color: oklch(var(--foreground-800)); }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.95rem;
  border-radius: 0.375rem;
  border: 1px solid oklch(var(--background-300));
  background: oklch(var(--background-50));
  color: oklch(var(--foreground-900));
  font-size: 0.9rem;
}
.form-field textarea { min-height: 8rem; resize: vertical; line-height: 1.7; }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: oklch(var(--primary-400));
  box-shadow: 0 0 0 1px oklch(var(--primary-300));
}
.form-check { display: flex; align-items: flex-start; gap: 0.5rem; }
.form-check input { margin-top: 0.3rem; }
.form-check label { margin: 0; font-weight: 400; }
.form-check a { color: oklch(var(--primary-700)); }
.form-btn { width: 100%; margin-top: 1.15rem; }
.form-disclaimer { margin-top: 0.75rem; font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.contact-layout, .consult-layout { display: flex; flex-direction: column; gap: 1.75rem; }
.consult-side { order: 1; }
.consult-form { order: 2; }
.contact-tiles { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-tile {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-100));
}
.tile-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: oklch(var(--primary-50));
  border: 1px solid oklch(var(--primary-200));
  color: oklch(var(--primary-600));
  font-size: 1.2rem;
}
.tile-label { font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.tile-value { margin-top: 0.15rem; font-size: 0.95rem; font-weight: 500; word-break: break-word; }
.tile-sub { margin-top: 0.15rem; font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.contact-form .form-panel,
.detail-aside .form-panel {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-100));
}
.consult-form .form-panel {
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid oklch(var(--primary-300));
  background: oklch(var(--background-100));
  box-shadow: 0 14px 36px oklch(0.30 0.055 47 / 0.08);
}
.consult-note {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: oklch(var(--primary-900));
  color: oklch(var(--background-50));
}
.consult-note h2 { margin: 0; font-size: 1.15rem; }
.consult-note li, .consult-ways li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: oklch(0.92 0.012 72 / 0.82);
}
.consult-note i { color: oklch(var(--accent-400)); margin-top: 0.15rem; }
.consult-phone-box { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid oklch(0.985 0.006 85 / 0.15); }
.consult-phone-box p { font-size: 0.75rem; color: oklch(0.92 0.012 72 / 0.6); }
.consult-phone-box a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 1.15rem;
  color: oklch(var(--background-50));
}
.consult-ways {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-100));
}
.consult-ways h3 { margin: 0; font-size: 1rem; }
.consult-ways i { color: oklch(var(--primary-600)); margin-top: 0.15rem; }
.consult-ways li span { color: oklch(var(--foreground-600)); }
.consult-hours { margin-top: 0.9rem; font-size: 0.8rem; color: oklch(var(--foreground-500)); }

.thanks-page { padding: 7.5rem 0 4rem; }
.thanks-inner { max-width: 40rem; margin: 0 auto; text-align: center; }
.thanks-icon { font-size: 3rem; color: oklch(var(--primary-500)); }
.thanks-page h1 { margin: 0.6rem 0 0; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.thanks-lead { margin-top: 0.8rem; color: oklch(var(--foreground-600)); }
.thanks-actions { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.thanks-wechat { margin-top: 1.5rem; }
.thanks-wechat img { width: 180px; height: 180px; border-radius: 0.375rem; border: 1px solid oklch(var(--background-200)); }
.thanks-hours { margin-top: 2rem; text-align: left; padding: 1.1rem; border-radius: var(--radius); background: oklch(var(--background-100)); border: 1px solid oklch(var(--background-200)); }
.thanks-hours h2 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.thanks-disclaimer { margin-top: 1.25rem; font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.thanks-back { display: inline-block; margin-top: 1rem; color: oklch(var(--primary-700)); font-size: 0.9rem; }
.off-hours-tip { margin-top: 0.75rem; }
.off-hours-tip-inner {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: oklch(var(--accent-800));
}
.off-hours-tip[hidden] { display: none; }

.not-found {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7.5rem 1rem 4rem;
}
.not-found-num {
  font-family: var(--font-heading);
  font-size: clamp(5.5rem, 16vw, 9rem);
  line-height: 0.85;
  font-weight: 700;
  color: oklch(var(--background-200));
}
.not-found h1 { margin: 0.8rem 0 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.not-found p { margin-top: 0.7rem; max-width: 28rem; color: oklch(var(--foreground-500)); }
.not-found-actions { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; }

.trust-bar {
  background: oklch(var(--background-100));
  border-top: 1px solid oklch(var(--background-200));
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.trust-item { display: flex; align-items: center; gap: 0.7rem; }
.trust-item i { font-size: 1.35rem; color: oklch(var(--primary-600)); }
.trust-item strong { display: block; font-size: 0.9rem; }
.trust-item span { font-size: 0.75rem; color: oklch(var(--foreground-500)); }

.site-footer { background: oklch(var(--primary-900)); color: oklch(0.92 0.012 72 / 0.78); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; padding-top: 3rem; padding-bottom: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.site-footer .brand-mark { border-color: oklch(0.985 0.006 85 / 0.3); color: oklch(var(--background-100)); }
.site-footer .brand-name { color: oklch(var(--background-50)); }
.site-footer .brand-firm { color: oklch(0.92 0.012 72 / 0.6); }
.footer-col p { margin-top: 0.35rem; font-size: 0.875rem; }
.footer-col a:hover { color: oklch(var(--background-50)); }
.footer-col h3 { margin: 0 0 0.8rem; font-size: 1rem; color: oklch(var(--background-50)); }
.footer-links { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.875rem; }
.footer-wechat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  color: oklch(var(--accent-300));
  font-size: 0.9rem;
}
.footer-qr { display: block; width: 96px; height: 96px; margin-top: 0.75rem; border-radius: 0.375rem; background: #fff; }
.footer-cta { margin-top: 1rem; }
.footer-tagline { color: oklch(0.92 0.012 72 / 0.65); }
.footer-practices-row {
  padding-bottom: 1.5rem;
  border-top: 1px solid oklch(0.985 0.006 85 / 0.12);
  padding-top: 1.25rem;
}
.footer-practices-row h3 { margin: 0 0 0.75rem; font-size: 1rem; color: oklch(var(--background-50)); }
.footer-practices { display: flex; flex-wrap: wrap; gap: 0.5rem 0.85rem; }
.footer-practices a { font-size: 0.85rem; }
.footer-practices a:hover { color: oklch(var(--accent-300)); }
.footer-bottom {
  padding-top: 1rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid oklch(0.985 0.006 85 / 0.12);
}
.footer-disclaimer, .footer-beian, .footer-tech {
  font-size: 0.75rem;
  color: oklch(0.92 0.012 72 / 0.48);
}
.footer-tech a { color: oklch(0.92 0.012 72 / 0.58); }
.footer-tech a:hover { color: oklch(var(--accent-300)); }

.pc-convert {
  display: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  background: oklch(0.985 0.006 85 / 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid oklch(var(--background-200));
  padding: 0.75rem 0;
}
.pc-convert-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pc-convert-text strong { display: block; font-size: 0.95rem; }
.pc-convert-text span { font-size: 0.8rem; color: oklch(var(--foreground-600)); }
.pc-convert-actions { display: flex; align-items: center; gap: 0.75rem; }
.pc-convert-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: oklch(var(--primary-600));
}
.mobile-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: oklch(0.985 0.006 85 / 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid oklch(var(--background-200));
  padding: 0.35rem 0.2rem calc(0.35rem + env(safe-area-inset-bottom));
}
.mobile-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  padding: 0.4rem 0.15rem;
  color: oklch(var(--foreground-500));
  font-size: 0.68rem;
}
.mobile-bar-item i { font-size: 1.25rem; }
.mobile-bar-item.mobile-cta { color: oklch(var(--primary-600)); font-weight: 600; }

.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: oklch(0.19 0.018 52 / 0.55);
}
.wechat-modal.is-open { display: flex; }
.wechat-modal-box {
  position: relative;
  width: min(100%, 22rem);
  padding: 2rem 1.4rem 1.4rem;
  text-align: center;
  border-radius: var(--radius);
  background: oklch(var(--background-50));
  border: 1px solid oklch(var(--background-200));
}
.wechat-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
  color: oklch(var(--foreground-500));
}
.wechat-modal-icon { font-size: 2.4rem; color: #07c160; }
.wechat-modal-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}
.wechat-modal-desc { margin-top: 0.35rem; font-size: 0.85rem; color: oklch(var(--foreground-600)); }
.wechat-qr {
  width: 180px;
  height: 180px;
  margin: 1rem auto;
  border-radius: 0.375rem;
  border: 1px solid oklch(var(--background-200));
}
.wechat-id-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.7rem;
}
.wechat-id-label { font-size: 0.8rem; color: oklch(var(--foreground-500)); }
.wechat-id-value { font-size: 0.95rem; }
.wechat-id-row button {
  padding: 0.35rem 0.75rem;
  border-radius: 0.375rem;
  background: oklch(var(--primary-500));
  color: oklch(var(--background-50));
  font-size: 0.8rem;
  font-weight: 600;
}
.wechat-id-hint { margin-top: 0.6rem; font-size: 0.8rem; color: oklch(var(--foreground-600)); }
.wechat-id-hint strong { color: oklch(var(--accent-700)); }
.wechat-modal-dismiss {
  width: 100%;
  margin-top: 1rem;
  padding: 0.7rem;
  border-radius: 0.375rem;
  border: 1px solid oklch(var(--background-300));
  color: oklch(var(--foreground-700));
}

.pager { margin-top: 2.25rem; display: flex; justify-content: center; }
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination a, .pagination span {
  display: inline-flex;
  min-width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem;
  border-radius: 0.375rem;
  border: 1px solid oklch(var(--background-300));
  background: oklch(var(--background-50));
  color: oklch(var(--foreground-700));
  font-size: 0.85rem;
}
.pagination a:hover { border-color: oklch(var(--primary-400)); color: oklch(var(--primary-700)); }
.pagination .active span, .pagination .current span {
  background: oklch(var(--primary-500));
  border-color: oklch(var(--primary-500));
  color: oklch(var(--background-50));
}
.pagination .disabled span { color: oklch(var(--foreground-400)); background: oklch(var(--background-100)); }

@media (min-width: 640px) {
  .hero-actions, .about-actions, .cta-actions, .detail-actions, .not-found-actions, .thanks-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .cta-actions, .not-found-actions, .thanks-actions { justify-content: center; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .pad { padding-left: 2.5rem; padding-right: 2.5rem; }
  .band, .process-band { padding: 5.5rem 0; }
  .header-inner { min-height: 5rem; }
  .header-book { display: inline-flex; }
  .brand-name { font-size: 1.25rem; }
  .about-photo { height: 32.5rem; }
  .case-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .case-row-meta {
    width: 12rem;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .case-row-body { flex: 1; min-width: 0; }
  .case-row-arrow { display: block; margin-top: 0.2rem; }
  .practice-row { flex-direction: row; align-items: center; gap: 2rem; padding: 2rem; }
  .practice-row-index { width: 16rem; flex: 0 0 auto; }
  .practice-row-body { flex: 1; }
  .practice-row-arrow { display: block; }
  .page-hero-inner { padding-top: 10rem; padding-bottom: 4rem; }
  .cta-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .pc-convert { display: block; }
  .mobile-bar { display: none; }
  body { padding-bottom: 4.75rem; }
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-desktop .nav-cta { display: none; }
  .nav-toggle { display: none; }
  .practice-grid, .article-grid { grid-template-columns: 1fr 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { flex-direction: row; align-items: center; gap: 4rem; }
  .about-photo { width: 420px; max-width: none; flex: 0 0 auto; }
  .detail-layout { flex-direction: row; align-items: flex-start; gap: 3.5rem; }
  .detail-aside { width: 320px; flex: 0 0 320px; position: sticky; top: 6.5rem; }
  .contact-layout, .consult-layout { flex-direction: row; align-items: flex-start; gap: 3rem; }
  .contact-tiles { width: 400px; flex: 0 0 400px; }
  .contact-form, .consult-form { flex: 1; min-width: 0; }
  .consult-side { width: 360px; flex: 0 0 360px; order: 2; }
  .consult-form { order: 1; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.9fr; }
  .trust-inner { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
}
@media (min-width: 1280px) {
  .header-phone { display: inline-flex; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy { animation: fadeUp 0.7s ease-out both; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: oklch(var(--background-100)); }
::-webkit-scrollbar-thumb { background: oklch(var(--primary-300)); border-radius: 999px; }
