:root {
  --bg-50: oklch(0.985 0.006 85);
  --bg-100: oklch(0.965 0.011 84);
  --bg-200: oklch(0.931 0.016 83);
  --bg-300: oklch(0.881 0.021 82);
  --pri-50: oklch(0.968 0.012 72);
  --pri-100: oklch(0.93 0.024 70);
  --pri-300: oklch(0.76 0.062 66);
  --pri-400: oklch(0.645 0.082 63);
  --pri-500: oklch(0.52 0.086 60);
  --pri-600: oklch(0.44 0.075 58);
  --pri-700: oklch(0.372 0.062 56);
  --pri-800: oklch(0.302 0.05 54);
  --pri-900: oklch(0.24 0.04 52);
  --pri-950: oklch(0.185 0.03 50);
  --acc-100: oklch(0.952 0.042 80);
  --acc-200: oklch(0.902 0.072 78);
  --acc-300: oklch(0.835 0.1 76);
  --acc-400: oklch(0.748 0.122 74);
  --acc-500: oklch(0.665 0.132 72);
  --acc-600: oklch(0.572 0.12 70);
  --acc-700: oklch(0.482 0.102 68);
  --acc-900: oklch(0.312 0.062 64);
  --sec-100: oklch(0.94 0.015 65);
  --sec-500: oklch(0.562 0.032 65);
  --sec-800: oklch(0.302 0.026 62);
  --sec-900: oklch(0.232 0.022 61);
  --fg-400: oklch(0.602 0.02 62);
  --fg-500: oklch(0.482 0.021 60);
  --fg-600: oklch(0.402 0.021 58);
  --fg-700: oklch(0.322 0.021 56);
  --fg-800: oklch(0.252 0.02 55);
  --fg-950: oklch(0.142 0.013 52);
  --font-heading: "Noto Serif SC", "Playfair Display", serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
  --font-latin: "Playfair Display", "Noto Serif SC", serif;
  --header-h: 5rem;
  --radius: 0.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg-50);
  color: var(--fg-950);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 5.75rem;
}
img { max-width: 100%; height: auto; }
button, input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .wrap { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .wrap { padding-left: 3rem; padding-right: 3rem; }
  body { padding-bottom: 4.75rem; }
  .mobile-bar { display: none; }
}
@media (max-width: 1023px) {
  .pc-convert { display: none; }
}

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

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up 0.7s ease-out both; }
.hero-kicker { animation-delay: 0.02s; }
.hero h1 { animation-delay: 0.1s; }
.hero-tagline { animation-delay: 0.18s; }
.hero-desc { animation-delay: 0.26s; }
.hero-actions { animation-delay: 0.34s; }
.hero-chips { animation-delay: 0.42s; }

.kicker-line {
  display: inline-block;
  width: 2.5rem;
  height: 2px;
  background: var(--acc-500);
  flex: 0 0 auto;
}
.eyebrow, .hero-kicker, .form-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.eyebrow-latin {
  font-family: var(--font-latin);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acc-700);
}
.eyebrow-light .kicker-line,
.hero-kicker .kicker-line { background: var(--acc-300); }
.eyebrow-light .eyebrow-latin,
.hero-kicker .eyebrow-latin { color: var(--acc-200); }
.hero-kicker .eyebrow-latin {
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  font-size: 0.875rem;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-accent {
  background: var(--acc-500);
  color: var(--pri-950);
}
.btn-accent:hover { background: var(--acc-400); }
.btn-primary {
  background: var(--pri-500);
  color: var(--bg-50);
}
.btn-primary:hover { background: var(--pri-600); }
.btn-outline {
  background: transparent;
  border-color: var(--pri-300);
  color: var(--pri-700);
}
.btn-outline:hover { background: var(--pri-50); }
.btn-ghost-light {
  background: transparent;
  border-color: oklch(0.985 0.006 85 / 0.4);
  color: var(--bg-50);
}
.btn-ghost-light:hover { background: oklch(0.985 0.006 85 / 0.1); }
.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.8125rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
  color: var(--pri-600);
  font-size: 0.875rem;
}
.text-link:hover { color: var(--pri-700); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: oklch(0.985 0.006 85 / 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid oklch(0.931 0.016 83 / 0.7);
  transition: background 0.3s ease, border-color 0.3s ease;
}
html.is-home:not(.is-scrolled):not(.nav-open) .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid var(--pri-300);
  color: var(--pri-600);
  font-size: 1.25rem;
  flex: 0 0 auto;
}
.brand-logo { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.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;
  letter-spacing: 0.04em;
  color: var(--fg-950);
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--sec-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14rem;
}
html.is-home:not(.is-scrolled):not(.nav-open) .brand-mark {
  border-color: oklch(0.985 0.006 85 / 0.4);
  color: var(--bg-50);
}
html.is-home:not(.is-scrolled):not(.nav-open) .brand-name { color: var(--bg-50); }
html.is-home:not(.is-scrolled):not(.nav-open) .brand-sub { color: oklch(0.985 0.006 85 / 0.7); }

.nav-desktop { display: none; align-items: center; gap: 0.15rem; }
.nav-link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  color: var(--fg-700);
  border-radius: 0.375rem;
}
.nav-link:hover, .nav-link.is-active { color: var(--pri-600); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: var(--pri-500);
  transform: translateX(-50%);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.4rem;
  padding: 0.6rem 1.15rem;
  border-radius: 0.375rem;
  background: var(--pri-500);
  color: var(--bg-50);
  font-size: 0.875rem;
}
.nav-cta:hover { background: var(--pri-600); }
html.is-home:not(.is-scrolled):not(.nav-open) .nav-link { color: oklch(0.985 0.006 85 / 0.78); }
html.is-home:not(.is-scrolled):not(.nav-open) .nav-link:hover,
html.is-home:not(.is-scrolled):not(.nav-open) .nav-link.is-active { color: var(--bg-50); }
html.is-home:not(.is-scrolled):not(.nav-open) .nav-link.is-active::after { background: oklch(0.985 0.006 85 / 0.8); }
html.is-home:not(.is-scrolled):not(.nav-open) .nav-cta { background: var(--bg-50); color: var(--pri-800); }
html.is-home:not(.is-scrolled):not(.nav-open) .nav-cta:hover { background: var(--bg-100); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--pri-700);
}
html.is-home:not(.is-scrolled):not(.nav-open) .header-phone { color: var(--bg-50); }
.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid var(--bg-300);
  background: transparent;
  color: var(--fg-800);
  font-size: 1.25rem;
  cursor: pointer;
}
html.is-home:not(.is-scrolled):not(.nav-open) .nav-toggle {
  border-color: oklch(0.985 0.006 85 / 0.4);
  color: var(--bg-50);
}
.nav-mobile {
  background: var(--bg-50);
  border-top: 1px solid oklch(0.931 0.016 83 / 0.7);
  padding: 0.75rem 1.25rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile .nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.8rem 0.9rem;
  background: var(--bg-100);
  color: var(--fg-700);
}
.nav-mobile .nav-link.is-active { background: var(--pri-100); color: var(--pri-700); }
.nav-mobile .nav-cta {
  grid-column: 1 / -1;
  justify-content: center;
  margin: 0;
  padding: 0.85rem;
  background: var(--pri-500);
  color: var(--bg-50);
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .header-phone { display: inline-flex; }
  .brand-sub { max-width: 18rem; }
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--bg-50);
}
@media (min-width: 768px) {
  .hero { min-height: 760px; }
}
.hero-bg, .hero-fallback, .hero-shade-y, .hero-shade-x {
  position: absolute;
  inset: 0;
}
.hero-bg {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.hero-fallback {
  background:
    radial-gradient(ellipse at 18% 42%, oklch(0.44 0.075 58 / 0.55), transparent 52%),
    linear-gradient(155deg, var(--pri-800), var(--pri-950));
}
.hero-shade-y {
  background: linear-gradient(to bottom, oklch(0 0 0 / 0.45), oklch(0 0 0 / 0.3) 45%, oklch(0 0 0 / 0.5));
}
.hero-shade-x {
  background: linear-gradient(to right, oklch(0.185 0.03 50 / 0.4), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 6rem; padding-bottom: 3rem; }
.hero-copy { max-width: 48rem; }
.hero h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  color: var(--bg-50);
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3.75rem; }
}
.hero-tagline {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 300;
  color: oklch(0.965 0.011 84 / 0.92);
}
@media (min-width: 768px) {
  .hero-tagline { font-size: 1.5rem; }
}
.hero-desc {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: oklch(0.931 0.016 83 / 0.82);
}
@media (min-width: 768px) {
  .hero-desc { font-size: 1rem; }
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
.hero-chips {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-size: 0.8rem;
  color: oklch(0.931 0.016 83 / 0.75);
}
.hero-chips i { color: var(--acc-300); margin-right: 0.35rem; }

.band { padding: 4rem 0; }
@media (min-width: 768px) {
  .band { padding: 6rem 0; }
}
.band-muted {
  background: var(--bg-100);
  border-top: 1px solid oklch(0.931 0.016 83 / 0.7);
  border-bottom: 1px solid oklch(0.931 0.016 83 / 0.7);
}
.section-head { max-width: 40rem; }
.section-head h2, .cta-band h2 { font-size: 1.5rem; }
@media (min-width: 768px) {
  .section-head h2, .cta-band h2 { font-size: 2.25rem; }
}
.section-head p, .about-lead {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--fg-600);
  line-height: 1.8;
}
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .section-toolbar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .section-toolbar .btn { flex: 0 0 auto; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
  }
}
.portrait-wrap { position: relative; }
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pri-100);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top;
}
.photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--pri-700);
  background: linear-gradient(160deg, var(--pri-100), var(--bg-200));
  font-size: 2.5rem;
}
.photo-fallback span { font-family: var(--font-heading); font-size: 1.1rem; }
.portrait-corner {
  position: absolute;
  width: 6rem;
  height: 6rem;
  pointer-events: none;
}
.portrait-corner-tl {
  top: -1rem;
  left: -1rem;
  border-top: 1px solid oklch(0.748 0.122 74 / 0.6);
  border-left: 1px solid oklch(0.748 0.122 74 / 0.6);
  border-top-left-radius: 0.5rem;
}
.portrait-corner-br {
  right: -1rem;
  bottom: -1rem;
  border-right: 1px solid oklch(0.645 0.082 63 / 0.5);
  border-bottom: 1px solid oklch(0.645 0.082 63 / 0.5);
  border-bottom-right-radius: 0.5rem;
}
.lawyer-meta {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--fg-700);
  font-size: 0.95rem;
}

.practice-grid, .article-grid, .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.25rem;
}
.practice-card, .article-card, .news-card, .case-stack-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--bg-50);
  border: 1px solid oklch(0.931 0.016 83 / 0.7);
  transition: border-color 0.2s ease;
}
.practice-card-muted, .news-card { background: var(--bg-100); }
.band-muted .practice-card, .band-muted .article-card { background: var(--bg-50); }
.practice-card:hover, .article-card:hover, .news-card:hover, .case-stack-card:hover { border-color: var(--pri-300); }
.card-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--pri-100);
  color: var(--pri-600);
  font-size: 1.4rem;
}
.practice-card h3, .article-card h3, .news-card h2, .case-stack-card h2, .practice-card h2 {
  margin-top: 1.15rem;
  font-size: 1.15rem;
  color: var(--fg-950);
}
.practice-card p, .article-card p, .news-card p, .case-stack-card p {
  margin-top: 0.85rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--fg-600);
}
.card-more {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--pri-600);
}
.practice-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.practice-index {
  font-family: var(--font-latin);
  font-size: 1.5rem;
  color: var(--bg-300);
}
.card-meta, .case-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--sec-500);
}
.pill {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--sec-100);
  color: var(--sec-900);
}
.pill-accent { background: var(--acc-100); color: var(--acc-900); }
.meta-date { letter-spacing: 0.06em; }

.case-rows { border-top: 1px solid oklch(0.931 0.016 83 / 0.7); }
.case-row {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid oklch(0.931 0.016 83 / 0.7);
}
.case-row:hover { background: oklch(0.965 0.011 84 / 0.7); }
.case-row h3 { font-size: 1.15rem; }
.case-row p { margin-top: 0.45rem; font-size: 0.875rem; color: var(--fg-600); }
.case-row-end {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--pri-600);
}
.result-text, .result-inline { color: var(--pri-600); font-size: 0.875rem; }
@media (min-width: 1024px) {
  .case-row { flex-direction: row; align-items: center; gap: 2rem; padding: 2rem 1rem; }
  .case-row-meta { width: 13rem; flex: 0 0 auto; }
  .case-row-body { flex: 1; min-width: 0; }
  .case-row-end { flex: 0 0 auto; }
}
.case-stack { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) {
  .news-card:first-child {
    grid-column: 1 / -1;
    background: var(--pri-900);
    border-color: transparent;
    padding: 2rem 2.2rem;
  }
  .news-card:first-child h2 { color: var(--bg-50); font-size: 1.7rem; }
  .news-card:first-child p, .news-card:first-child .meta-date { color: oklch(0.931 0.016 83 / 0.8); }
  .news-card:first-child .card-more { color: var(--acc-200); }
  .news-card:first-child .pill { background: var(--acc-500); color: var(--pri-950); }
}

.list-cta {
  margin-top: 3.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--pri-900);
  color: var(--bg-50);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.list-cta h2 { font-size: 1.35rem; }
.list-cta p { margin-top: 0.6rem; font-size: 0.875rem; color: oklch(0.931 0.016 83 / 0.8); }
@media (min-width: 768px) {
  .list-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem; }
}

.cta-band { background: var(--pri-900); color: var(--bg-50); padding: 4rem 0; }
@media (min-width: 768px) { .cta-band { padding: 5rem 0; } }
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cta-band p { margin-top: 1rem; max-width: 36rem; color: oklch(0.931 0.016 83 / 0.82); }
@media (min-width: 1024px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.page-hero {
  position: relative;
  background: var(--pri-900);
  color: var(--bg-50);
  overflow: hidden;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.page-hero-shade {
  position: absolute;
  inset: 0;
  background: oklch(0.185 0.03 50 / 0.72);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 8.25rem 0 3.25rem;
}
@media (min-width: 768px) {
  .page-hero-inner { padding: 9.5rem 0 4.5rem; }
}
.page-hero h1 { font-size: 1.85rem; color: var(--bg-50); max-width: 52rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-hero-desc {
  margin-top: 1.15rem;
  max-width: 40rem;
  font-size: 0.95rem;
  color: oklch(0.931 0.016 83 / 0.82);
}
.crumbs {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: oklch(0.881 0.021 82 / 0.75);
}
.crumbs a:hover { color: var(--bg-50); }
.crumb-current {
  color: var(--bg-100);
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reading { max-width: 52rem; }
.prose { font-size: 1rem; line-height: 1.9; color: var(--fg-700); }
.prose h2, .prose h3 { margin: 1.6rem 0 0.7rem; color: var(--fg-950); }
.prose p, .prose ul, .prose ol { margin: 0.8rem 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose a { color: var(--pri-600); text-decoration: underline; }
.prose img { border-radius: var(--radius); }

.contact-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
}
.contact-tile {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-100);
  border: 1px solid oklch(0.931 0.016 83 / 0.7);
}
.tile-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--pri-100);
  color: var(--pri-600);
  font-size: 1.2rem;
}
.tile-label {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sec-500);
}
.tile-value { margin-top: 0.45rem; font-size: 0.95rem; color: var(--fg-800); line-height: 1.6; word-break: break-word; }
.tile-note { margin-top: 0.3rem; font-size: 0.75rem; color: var(--fg-500); }
.contact-layout, .consult-layout, .detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; }
  .consult-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 3rem; align-items: start; }
  .detail-layout { grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.85fr); gap: 3rem; align-items: start; }
  .detail-aside, .consult-aside { position: sticky; top: 6.25rem; }
}
.visit-row { display: flex; gap: 0.9rem; margin-top: 1.25rem; }
.visit-note { margin-top: 1.25rem; font-size: 0.875rem; color: var(--fg-600); }
.contact-aside .btn { margin-top: 1.25rem; }

.form-panel { min-width: 0; }
.form-title { font-size: 1.35rem; color: var(--fg-950); }
.form-sub, .form-disclaimer { margin-top: 0.6rem; font-size: 0.85rem; color: var(--fg-600); }
.form-field { margin-top: 1.1rem; }
.form-field label { display: block; margin-bottom: 0.45rem; font-size: 0.875rem; color: var(--fg-700); }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid var(--bg-300);
  background: var(--bg-50);
  color: var(--fg-950);
  font-size: 0.875rem;
}
.form-field textarea { min-height: 7.5rem; resize: vertical; }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--pri-400);
  box-shadow: 0 0 0 1px var(--pri-300);
}
.form-check { display: flex; align-items: flex-start; gap: 0.55rem; }
.form-check input { margin-top: 0.25rem; accent-color: var(--pri-600); }
.form-check label { margin: 0; }
.form-check a { color: var(--pri-600); text-decoration: underline; }
.form-btn { margin-top: 1.15rem; }
.contact-form-wrap .form-panel,
.detail-aside .form-panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-100);
  border: 1px solid oklch(0.931 0.016 83 / 0.7);
}
.consult-card .form-panel {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-100);
  border: 1px solid var(--pri-300);
  box-shadow: 0 12px 32px oklch(0.302 0.05 54 / 0.08);
}
@media (min-width: 768px) {
  .consult-card .form-panel, .contact-form-wrap .form-panel { padding: 2.15rem; }
}
.detail-aside .form-panel { padding: 1.15rem 1.2rem 1.3rem; }
.detail-aside .form-title { font-size: 1.15rem; }
.detail-aside .form-field textarea { min-height: 5.5rem; }

.side-dark, .side-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.side-dark { background: var(--pri-900); color: var(--bg-50); }
.side-dark h2, .side-card h2 { font-size: 1.1rem; }
.side-dark p, .side-dark li, .side-note { margin-top: 0.7rem; font-size: 0.875rem; color: oklch(0.931 0.016 83 / 0.78); }
.side-dark ul { margin-top: 0.8rem; }
.side-dark li { display: flex; gap: 0.6rem; align-items: flex-start; }
.side-dark i { color: var(--acc-300); }
.side-card {
  background: var(--bg-100);
  border: 1px solid oklch(0.931 0.016 83 / 0.7);
  color: var(--fg-950);
}
.side-card .side-note { color: var(--fg-600); }
.side-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  color: var(--pri-700);
  font-family: var(--font-heading);
}
.side-ghost { margin-top: 1rem; }
.detail-meta { margin-bottom: 1rem; }
.detail-meta span { display: inline-flex; align-items: center; gap: 0.3rem; margin-right: 1rem; }
.author-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin: 1rem 0;
  padding: 0.9rem;
  border-radius: var(--radius);
  background: var(--bg-100);
  border: 1px solid oklch(0.931 0.016 83 / 0.7);
}
.author-card img { width: 4rem; height: 5rem; object-fit: cover; border-radius: 0.35rem; }
.author-card p { font-size: 0.8rem; color: var(--fg-600); }
.detail-practice { margin: 0.8rem 0; font-size: 0.9rem; }
.detail-practice a, .side-note a { color: var(--pri-600); }
.article-lead {
  margin: 1rem 0 1.25rem;
  padding: 1.1rem 1.15rem;
  border-left: 2px solid var(--acc-500);
  background: var(--pri-50);
  color: var(--fg-700);
  border-radius: 0 0.4rem 0.4rem 0;
}
.result-box {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--pri-50);
  border: 1px solid var(--pri-100);
}
.result-box p:last-child { margin-top: 0.35rem; color: var(--pri-700); font-family: var(--font-heading); }
.alert-soft {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 0.375rem;
  background: var(--bg-100);
  border: 1px solid oklch(0.931 0.016 83 / 0.8);
  font-size: 0.85rem;
  color: var(--fg-600);
}
.faq-block { margin-top: 2rem; }
.faq-item { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--bg-200); }
.faq-item p { margin-top: 0.4rem; color: var(--fg-600); font-size: 0.92rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.related-block { margin-top: 1.75rem; }
.related-block h3 { margin-bottom: 0.8rem; font-size: 1.05rem; }
.related-list { display: flex; flex-direction: column; }
.related-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bg-200);
  font-size: 0.92rem;
}
.related-item span { flex: 1; min-width: 0; }
.related-item em { font-style: normal; color: var(--pri-600); font-size: 0.8rem; }
.related-lawyer {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--bg-50);
  border: 1px solid oklch(0.931 0.016 83 / 0.7);
}
.related-lawyer img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 0.35rem; }
.related-lawyer-name { font-family: var(--font-heading); }
.related-lawyer-lead { font-size: 0.8rem; color: var(--fg-600); }

.empty-note { color: var(--fg-500); padding: 2rem 0; }

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

.steps-band {
  background: var(--bg-100);
  border-top: 1px solid oklch(0.931 0.016 83 / 0.7);
  border-bottom: 1px solid oklch(0.931 0.016 83 / 0.7);
  padding: 4rem 0;
}
@media (min-width: 768px) { .steps-band { padding: 5.5rem 0; } }
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 2rem;
}
.step-item {
  flex: 1 1 16.5rem;
  max-width: 22rem;
  min-width: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-50);
  border: 1px solid oklch(0.931 0.016 83 / 0.7);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.375rem;
  background: var(--acc-500);
  color: var(--pri-950);
  font-family: var(--font-latin);
  font-size: 1.1rem;
}
.step-item h3 { margin-top: 0.9rem; font-size: 1.05rem; }
.step-item p { margin-top: 0.55rem; font-size: 0.875rem; color: var(--fg-600); }
.step-item h3, .step-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.trust-bar {
  background: var(--bg-50);
  border-top: 1px solid oklch(0.931 0.016 83 / 0.7);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.5rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.trust-item {
  flex: 1 1 12rem;
  max-width: 18rem;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.trust-item i { color: var(--pri-600); font-size: 1.3rem; margin-top: 0.15rem; }
.trust-item strong { display: block; font-size: 0.92rem; }
.trust-item span { display: block; font-size: 0.78rem; color: var(--fg-600); word-break: break-word; }

.site-footer {
  background: var(--pri-900);
  color: oklch(0.931 0.016 83 / 0.82);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.footer-col { flex: 1 1 14rem; min-width: 0; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand .brand-mark { border-color: oklch(0.965 0.011 84 / 0.3); color: var(--bg-50); }
.footer-brand .brand-name { color: var(--bg-50); }
.footer-col h3 { color: var(--bg-50); font-size: 1rem; margin-bottom: 1rem; }
.footer-col p, .footer-links a, .footer-nap-list { font-size: 0.875rem; line-height: 1.7; }
.footer-tagline { margin-top: 0.8rem; }
.footer-links li { margin: 0.45rem 0; }
.footer-links a:hover, .footer-practices a:hover, .footer-nap-list a:hover { color: var(--bg-50); }
.footer-nap-list li { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0.55rem 0; }
.footer-nap-list i { color: var(--acc-300); margin-top: 0.15rem; }
.footer-wechat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  font-size: 0.875rem;
}
.footer-cta { margin-top: 1rem; }
.footer-practices-row {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid oklch(0.965 0.011 84 / 0.15);
}
.footer-practices-row h3 { color: var(--bg-50); font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer-practices { display: flex; flex-wrap: wrap; gap: 0.45rem 1.2rem; }
.footer-practices a { font-size: 0.85rem; }
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid oklch(0.965 0.011 84 / 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: oklch(0.881 0.021 82 / 0.7);
}
.footer-tech { font-size: 0.72rem; color: oklch(0.881 0.021 82 / 0.55); }
.footer-tech a { color: inherit; text-decoration: underline; }

.pc-convert {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: oklch(0.24 0.04 52 / 0.96);
  color: var(--bg-50);
  border-top: 1px solid oklch(0.835 0.1 76 / 0.35);
}
.pc-convert-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.pc-convert-text { display: flex; flex-direction: column; }
.pc-convert-text span { font-size: 0.78rem; color: oklch(0.931 0.016 83 / 0.75); }
.pc-convert-actions { display: flex; align-items: center; gap: 0.9rem; }
.pc-convert-phone { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--acc-200); }

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  background: oklch(0.985 0.006 85 / 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--bg-200);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.45rem 0.15rem 0.55rem;
  border: 0;
  background: transparent;
  color: var(--fg-500);
  font-size: 0.68rem;
  cursor: pointer;
}
.mobile-bar-item i {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-size: 1.1rem;
}
.mobile-cta { color: var(--pri-600); }
.mobile-cta i { background: var(--pri-500); color: var(--bg-50); }

.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: oklch(0.185 0.03 50 / 0.55);
  padding: 1.25rem;
}
.wechat-modal.is-open { display: flex; align-items: center; justify-content: center; }
.wechat-modal-box {
  position: relative;
  width: min(100%, 22rem);
  padding: 2rem 1.4rem 1.4rem;
  border-radius: var(--radius);
  background: var(--bg-50);
  border: 1px solid var(--bg-200);
  text-align: center;
  box-shadow: 0 18px 48px oklch(0.185 0.03 50 / 0.28);
}
.wechat-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.375rem;
  background: var(--bg-100);
  color: var(--fg-700);
  cursor: pointer;
}
.wechat-modal-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--pri-100);
  color: var(--pri-600);
  font-size: 1.6rem;
}
.wechat-modal-title { font-family: var(--font-heading); font-size: 1.25rem; }
.wechat-modal-desc { margin-top: 0.4rem; font-size: 0.85rem; color: var(--fg-600); }
.wechat-qr { width: 180px; height: 180px; margin: 0.9rem auto 0; object-fit: contain; }
.wechat-modal-dismiss {
  margin-top: 0.4rem;
  border: 1px solid var(--pri-300);
  background: transparent;
  color: var(--pri-700);
  border-radius: 0.375rem;
  padding: 0.45rem 1.2rem;
  cursor: pointer;
}
.wechat-id-label { font-size: 0.8rem; color: var(--fg-600); }
.thanks-wechat { margin-top: 1.25rem; text-align: center; }
.thanks-wechat img { width: 180px; height: 180px; object-fit: contain; }

@media (min-width: 768px) {
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}

.thanks-inner { max-width: 40rem; text-align: center; margin: 0 auto; }
.thanks-icon { font-size: 3rem; color: var(--pri-600); }
.thanks-lead { margin-top: 0.8rem; font-size: 1.05rem; }
.thanks-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.thanks-hours { margin-top: 1.8rem; text-align: left; }
.thanks-disclaimer { margin-top: 1rem; font-size: 0.8rem; color: var(--fg-500); }
.off-hours-tip { margin-top: 0.8rem; }
.off-hours-tip-inner {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  border-radius: 0.375rem;
  background: var(--acc-100);
  color: var(--acc-900);
  font-size: 0.85rem;
}

.not-found {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.25rem 3rem;
}
.not-found-code {
  position: absolute;
  font-family: var(--font-latin);
  font-size: 7rem;
  line-height: 1;
  color: var(--bg-200);
  user-select: none;
}
@media (min-width: 768px) { .not-found-code { font-size: 11rem; } }
.not-found-inner { position: relative; z-index: 1; }
.not-found-inner p { margin-top: 0.8rem; color: var(--fg-600); }
.not-found-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
