:root {
  --background-50: 0.995 0.002 250;
  --background-100: 0.982 0.005 250;
  --background-200: 0.955 0.009 250;
  --background-300: 0.918 0.013 250;
  --background-400: 0.872 0.017 250;
  --background-500: 0.820 0.019 250;
  --background-600: 0.710 0.021 250;
  --background-700: 0.590 0.021 250;
  --background-800: 0.470 0.019 250;
  --background-900: 0.330 0.017 250;
  --background-950: 0.210 0.014 250;
  --primary-50: 0.972 0.014 252;
  --primary-100: 0.936 0.028 252;
  --primary-200: 0.868 0.050 252;
  --primary-300: 0.766 0.074 252;
  --primary-400: 0.630 0.093 252;
  --primary-500: 0.455 0.100 253;
  --primary-600: 0.398 0.094 253;
  --primary-700: 0.330 0.080 253;
  --primary-800: 0.262 0.064 253;
  --primary-900: 0.204 0.049 253;
  --primary-950: 0.140 0.036 253;
  --accent-50: 0.972 0.020 82;
  --accent-100: 0.940 0.050 82;
  --accent-200: 0.892 0.082 82;
  --accent-300: 0.834 0.110 80;
  --accent-400: 0.782 0.130 78;
  --accent-500: 0.722 0.140 75;
  --accent-600: 0.628 0.128 72;
  --accent-700: 0.518 0.108 70;
  --accent-800: 0.408 0.088 68;
  --accent-900: 0.318 0.068 66;
  --accent-950: 0.220 0.048 64;
  --secondary-50: 0.972 0.008 210;
  --secondary-100: 0.938 0.015 210;
  --secondary-200: 0.882 0.024 210;
  --secondary-300: 0.802 0.034 210;
  --secondary-400: 0.682 0.045 210;
  --secondary-500: 0.552 0.050 210;
  --secondary-600: 0.462 0.046 210;
  --secondary-700: 0.382 0.040 210;
  --secondary-800: 0.302 0.033 210;
  --secondary-900: 0.232 0.025 210;
  --secondary-950: 0.162 0.018 210;
  --foreground-50: 0.970 0.006 250;
  --foreground-100: 0.930 0.010 250;
  --foreground-200: 0.868 0.014 250;
  --foreground-300: 0.778 0.018 250;
  --foreground-400: 0.660 0.022 250;
  --foreground-500: 0.552 0.024 250;
  --foreground-600: 0.462 0.026 250;
  --foreground-700: 0.382 0.028 250;
  --foreground-800: 0.300 0.030 250;
  --foreground-900: 0.222 0.030 250;
  --foreground-950: 0.158 0.028 250;
  --font-heading: "Noto Serif SC", "Playfair Display", serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
  --font-label: "Noto Sans SC", system-ui, sans-serif;
}

* { 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));
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4.75rem;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
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: min(1200px, calc(100% - 2rem)); margin-inline: auto; }
.wrap-mid { width: min(960px, calc(100% - 2rem)); }
@media (min-width: 768px) {
  .wrap, .wrap-mid { width: min(1200px, calc(100% - 5rem)); }
  .wrap-mid { width: min(960px, calc(100% - 5rem)); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.75rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.875rem;
  font-family: var(--font-label);
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-sm { height: 2.5rem; padding: 0 1.15rem; }
.btn-accent { background: oklch(var(--accent-500)); color: oklch(var(--primary-950)); }
.btn-accent:hover { background: oklch(var(--accent-400)); }
.btn-primary { background: oklch(var(--primary-800)); color: oklch(var(--background-50)); }
.btn-primary:hover { background: oklch(var(--primary-700)); }
.btn-ghost { color: oklch(var(--background-50)); border-color: oklch(var(--background-50) / 0.35); }
.btn-ghost:hover { background: oklch(var(--background-50) / 0.1); }
.btn-outline { color: oklch(var(--foreground-800)); border-color: oklch(var(--foreground-300)); }
.btn-outline:hover { border-color: oklch(var(--primary-700)); color: oklch(var(--primary-700)); }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-family: var(--font-label);
  color: oklch(var(--accent-600));
}
.kicker-light { color: oklch(var(--accent-400)); }
.kicker-line { width: 2rem; height: 1px; background: currentColor; display: inline-block; flex: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .5s, border-color .5s;
}
html.is-scrolled .site-header,
html:not(.has-dark-top) .site-header,
html.is-menu-open .site-header {
  background: oklch(var(--background-50) / 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: oklch(var(--background-200));
}
.header-bar {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1440px, calc(100% - 2rem));
  margin-inline: auto;
}
@media (min-width: 768px) { .header-bar { height: 5rem; width: min(1440px, calc(100% - 5rem)); } }
.brand, .footer-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid oklch(var(--background-50) / 0.4);
  background: oklch(var(--primary-900) / 0.4);
  color: oklch(var(--accent-400));
  font-size: 1.25rem;
  overflow: hidden;
}
@media (min-width: 768px) { .brand-mark { width: 2.75rem; height: 2.75rem; } }
html.is-scrolled .brand-mark,
html:not(.has-dark-top) .brand-mark,
html.is-menu-open .brand-mark {
  border-color: oklch(var(--primary-700));
  background: oklch(var(--primary-800));
}
.brand-logo { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: oklch(var(--background-50));
}
@media (min-width: 768px) { .brand-name { font-size: 1.125rem; } }
.brand-firm {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: oklch(var(--background-200) / 0.8);
}
html.is-scrolled .brand-name,
html:not(.has-dark-top) .brand-name,
html.is-menu-open .brand-name { color: oklch(var(--foreground-950)); }
html.is-scrolled .brand-firm,
html:not(.has-dark-top) .brand-firm,
html.is-menu-open .brand-firm { color: oklch(var(--foreground-500)); }
.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-link {
  position: relative;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  color: oklch(var(--background-100) / 0.9);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width .3s;
}
.nav-link.is-active::after, .nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: oklch(var(--accent-400)); }
html.is-scrolled .nav-desktop .nav-link,
html:not(.has-dark-top) .nav-desktop .nav-link,
html.is-menu-open .nav-desktop .nav-link { color: oklch(var(--foreground-700)); }
html.is-scrolled .nav-desktop .nav-link.is-active,
html:not(.has-dark-top) .nav-desktop .nav-link.is-active { color: oklch(var(--primary-700)); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: none; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: oklch(var(--background-100) / 0.9); }
html.is-scrolled .header-phone,
html:not(.has-dark-top) .header-phone { color: oklch(var(--foreground-700)); }
.nav-cta { display: none; }
.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid oklch(var(--background-50) / 0.4);
  background: transparent;
  color: oklch(var(--background-50));
  font-size: 1.25rem;
  cursor: pointer;
}
html.is-scrolled .nav-toggle,
html:not(.has-dark-top) .nav-toggle,
html.is-menu-open .nav-toggle {
  border-color: oklch(var(--background-300));
  color: oklch(var(--foreground-900));
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1200px) { .header-phone { display: inline-flex; } }
.nav-mobile { background: oklch(var(--background-50)); border-bottom: 1px solid oklch(var(--background-200)); }
.nav-mobile-inner { width: min(1440px, calc(100% - 2rem)); margin: 0 auto; padding: 0.75rem 0 1rem; display: flex; flex-direction: column; }
.nav-mobile .nav-link { color: oklch(var(--foreground-700)); padding: 0.75rem 0; border-bottom: 1px solid oklch(var(--background-100)); }
.nav-mobile .nav-link.is-active { color: oklch(var(--primary-700)); font-weight: 500; }
.nav-mobile .nav-cta { display: flex; margin-top: 0.75rem; }

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: oklch(var(--background-50));
  background: oklch(var(--primary-950));
}
@media (min-width: 768px) { .hero { min-height: 760px; } }
.hero-media { position: absolute; inset: 0; background: linear-gradient(115deg, oklch(var(--primary-950)), oklch(var(--primary-800)) 58%, oklch(var(--primary-900))); }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  max-width: none;
  animation: soft-zoom 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-shade, .hero-shade-top, .page-hero-shade, .cta-shade { position: absolute; inset: 0; }
.hero-shade { background: linear-gradient(to right, oklch(var(--primary-950) / 0.92), oklch(var(--primary-950) / 0.78) 46%, oklch(var(--primary-900) / 0.55)); }
.hero-shade-top { background: linear-gradient(to top, oklch(var(--primary-950) / 0.85), transparent 46%, oklch(var(--primary-950) / 0.45)); }
.hero-inner { position: relative; z-index: 1; padding-top: 7rem; padding-bottom: 5rem; }
.hero-copy { max-width: 48rem; animation: fade-up .7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero h1 { font-size: 1.875rem; line-height: 1.22; color: oklch(var(--background-50)); max-width: 18em; }
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.4rem; } }
.hero-lead { margin-top: 1.5rem; max-width: 36rem; font-size: 0.875rem; line-height: 1.75; color: oklch(var(--background-200) / 0.85); }
@media (min-width: 768px) { .hero-lead { font-size: 1rem; } }
.hero-actions, .cta-actions, .intro-actions, .detail-actions, .thanks-actions, .not-found-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-actions { margin-top: 2.25rem; }
@media (min-width: 640px) {
  .hero-actions, .cta-actions, .intro-actions, .detail-actions, .thanks-actions, .not-found-actions { flex-direction: row; flex-wrap: wrap; }
}
.hero-chips { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.hero-chip { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: oklch(var(--background-200) / 0.75); }
.hero-chip i { color: oklch(var(--accent-400)); }

.page-hero {
  position: relative;
  overflow: hidden;
  background: oklch(var(--primary-900));
  color: oklch(var(--background-50));
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; max-width: none; }
.page-hero-shade { background: linear-gradient(to right, oklch(var(--primary-950) / 0.88), oklch(var(--primary-900) / 0.72)); }
.page-hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, oklch(var(--accent-400) / 0.18), transparent 42%),
    radial-gradient(circle at 82% 70%, oklch(var(--secondary-400) / 0.2), transparent 46%);
}
.page-hero-deco::after {
  content: "\f0b7";
  font-family: "remixicon";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13rem;
  color: oklch(var(--background-50));
  opacity: 0.06;
  display: none;
}
@media (min-width: 1280px) { .page-hero-deco::after { display: block; } }
.page-hero-inner { position: relative; z-index: 1; padding: 7.5rem 0 3rem; }
@media (min-width: 768px) { .page-hero-inner { padding: 9rem 0 4rem; } }
.page-hero h1 { font-size: 1.875rem; max-width: 20em; color: oklch(var(--background-50)); }
@media (min-width: 768px) { .page-hero h1 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 3rem; } }
.page-hero-desc { margin-top: 1.25rem; max-width: 40rem; font-size: 0.875rem; line-height: 1.75; color: oklch(var(--background-200) / 0.8); }
@media (min-width: 768px) { .page-hero-desc { font-size: 1rem; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: 1.25rem; font-size: 0.75rem; color: oklch(var(--background-300) / 0.75); }
.crumbs a:hover { color: oklch(var(--accent-400)); }
.crumbs .crumb-current { color: oklch(var(--background-100)); max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs i { color: oklch(var(--background-300) / 0.5); }

.band { padding: 4rem 0; background: oklch(var(--background-50)); }
@media (min-width: 768px) { .band { padding: 6rem 0; } }
.band-mist { background: oklch(var(--background-100)); }
.band-tight { padding-top: 0; }
.band-ink { background: oklch(var(--primary-950)); color: oklch(var(--background-100)); position: relative; overflow: hidden; }
.section-head { max-width: 40rem; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .kicker { justify-content: center; }
.section-head h2, .intro-copy h2, .about-body h2, .cta-copy h2 { font-size: 1.5rem; }
@media (min-width: 768px) { .section-head h2, .intro-copy h2, .about-body h2, .cta-copy h2 { font-size: 1.875rem; } }
.band-ink .section-head h2 { color: oklch(var(--background-50)); }
.section-desc { margin-top: 1rem; font-size: 0.875rem; line-height: 1.75; color: oklch(var(--foreground-600)); }
@media (min-width: 768px) { .section-desc { font-size: 1rem; } }
.band-ink .section-desc { color: oklch(var(--background-200) / 0.8); }
.section-toolbar { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .section-toolbar { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.section-toolbar .btn { flex: none; }

.intro-grid, .about-layout, .detail-layout, .contact-layout, .consult-layout, .cta-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .intro-grid, .about-layout { grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: center; }
  .about-layout { align-items: start; }
  .detail-layout { grid-template-columns: 1.6fr 0.9fr; align-items: start; }
  .contact-layout, .consult-layout, .cta-grid { grid-template-columns: 1.35fr 0.9fr; align-items: start; }
}
.portrait { position: relative; }
.portrait-corner {
  position: absolute;
  left: -1rem;
  top: -1rem;
  width: 6rem;
  height: 6rem;
  border-left: 1px solid oklch(var(--accent-400) / 0.6);
  border-top: 1px solid oklch(var(--accent-400) / 0.6);
  border-top-left-radius: 0.5rem;
}
.portrait-frame {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: 0.5rem;
  overflow: hidden;
  background: oklch(var(--background-200));
}
@media (min-width: 1024px) { .portrait-frame { margin-inline: 0; } }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(160deg, oklch(var(--primary-800)), oklch(var(--primary-950)));
  color: oklch(var(--accent-400));
  font-size: 2.5rem;
}
.portrait-fallback span { font-size: 0.875rem; color: oklch(var(--background-100)); font-family: var(--font-heading); }
.intro-role, .intro-license, .intro-firm { margin-top: 0.45rem; font-size: 0.875rem; color: oklch(var(--foreground-600)); }
.intro-license { color: oklch(var(--accent-700)); }
.intro-lead { margin-top: 1.25rem; font-size: 0.9375rem; line-height: 1.8; color: oklch(var(--foreground-700)); }
.intro-actions { margin-top: 2rem; }
.about-side { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 1024px) { .about-side { position: sticky; top: 6.5rem; } }
.about-id, .side-note {
  background: oklch(var(--primary-900));
  color: oklch(var(--background-100));
  border-radius: 0.5rem;
  padding: 1.25rem 1.35rem;
}
.about-id h2, .side-note h2, .aside-dark h2 { font-size: 1.05rem; color: oklch(var(--background-50)); display: flex; align-items: center; gap: 0.4rem; }
.about-id ul, .side-note ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.about-id li, .side-note li, .aside-list li, .aside-line {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.6;
}
.about-id i, .side-note i { color: oklch(var(--accent-400)); margin-top: 0.15rem; }
.about-body .prose { margin-top: 1.5rem; }

.practice-grid, .case-grid, .contact-tiles { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
  .practice-grid, .contact-tiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .practice-grid.is-home { grid-template-columns: 1fr 1fr 1fr; }
  .case-grid.is-home { grid-template-columns: 1fr 1fr 1fr; }
  .contact-tiles { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.practice-card, .case-card, .contact-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid oklch(var(--background-200));
  background: oklch(var(--background-50));
  transition: border-color .2s, background .2s;
}
.practice-card:hover { border-color: oklch(var(--primary-300)); background: oklch(var(--primary-50) / 0.5); }
.card-icon, .tile-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: oklch(var(--primary-100));
  color: oklch(var(--primary-700));
  font-size: 1.4rem;
  transition: background .2s, color .2s;
}
.practice-card:hover .card-icon { background: oklch(var(--primary-800)); color: oklch(var(--accent-400)); }
.practice-card h2, .practice-card h3, .case-card h2, .case-card h3 { margin-top: 1.15rem; font-size: 1.15rem; }
.card-summary { margin-top: 0.85rem; font-size: 0.875rem; line-height: 1.7; color: oklch(var(--foreground-600)); flex: 1; }
.card-more { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; color: oklch(var(--primary-700)); }
.card-more i { transition: transform .2s; }
.practice-card:hover .card-more i, .case-card:hover .card-more i, .news-home-item:hover .card-more i { transform: translateX(4px); }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.pill, .meta-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: oklch(var(--foreground-500));
}
.pill { padding: 0.2rem 0.6rem; border-radius: 999px; background: oklch(var(--secondary-100)); color: oklch(var(--secondary-800)); }

.case-card { background: oklch(var(--primary-900) / 0.72); border-color: oklch(var(--primary-800)); color: oklch(var(--background-50)); }
.case-card.is-light { background: oklch(var(--background-100)); border-color: oklch(var(--background-200)); color: oklch(var(--foreground-950)); }
.case-card:hover { border-color: oklch(var(--accent-500) / 0.6); }
.case-card.is-light:hover { border-color: oklch(var(--primary-300)); }
.case-card h3, .case-card h2 { color: inherit; }
.case-card .card-summary { color: oklch(var(--background-200) / 0.75); }
.case-card.is-light .card-summary { color: oklch(var(--foreground-600)); }
.case-card .meta-date { color: oklch(var(--background-300) / 0.7); }
.case-card.is-light .meta-date { color: oklch(var(--foreground-500)); }
.card-foot {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid oklch(var(--primary-800));
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: oklch(var(--accent-400));
  line-height: 1.6;
}
.case-card.is-light .card-foot { border-top-color: oklch(var(--background-200)); color: oklch(var(--accent-700)); }
.case-card .card-more { color: oklch(var(--background-200) / 0.7); font-size: 0.75rem; }
.case-card.is-light .card-more { color: oklch(var(--primary-700)); }

.news-home { display: grid; gap: 0 2.5rem; }
@media (min-width: 1024px) { .news-home { grid-template-columns: 1fr 1fr; } }
.news-home-item { display: block; padding: 1.5rem 0; border-bottom: 1px solid oklch(var(--background-200)); }
.news-home-item h3 { margin-top: 0.85rem; font-size: 1.15rem; transition: color .2s; }
.news-home-item:hover h3 { color: oklch(var(--primary-700)); }
.news-list-vertical { border-top: 1px solid oklch(var(--background-200)); }
.news-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.75rem 0;
  border-bottom: 1px solid oklch(var(--background-200));
}
.news-row h2 { margin-top: 0.85rem; font-size: 1.25rem; transition: color .2s; }
.news-row:hover h2 { color: oklch(var(--primary-700)); }
.news-row .card-summary { max-width: 46rem; }
.news-row-go {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid oklch(var(--background-300));
  color: oklch(var(--foreground-600));
}
@media (min-width: 768px) { .news-row-go { display: inline-flex; } }
.news-row:hover .news-row-go { border-color: oklch(var(--primary-700)); color: oklch(var(--primary-700)); }

.cta-band { position: relative; overflow: hidden; background: oklch(var(--primary-950)); color: oklch(var(--background-50)); }
.cta-photo { position: absolute; inset: 0; background-size: cover; background-position: center top; }
.cta-shade { background: oklch(var(--primary-950) / 0.85); }
.cta-grid { position: relative; z-index: 1; padding: 4rem 0; }
@media (min-width: 768px) { .cta-grid { padding: 6rem 0; } }
.cta-copy p { margin-top: 1.25rem; max-width: 36rem; font-size: 0.9375rem; line-height: 1.75; color: oklch(var(--background-200) / 0.8); }
.cta-actions { margin-top: 2rem; }
.visit-card { background: oklch(var(--background-50)); color: oklch(var(--foreground-800)); border-radius: 0.5rem; padding: 1.5rem; }
.visit-card h3 { font-size: 1.125rem; }
.visit-card ul { margin-top: 1.15rem; display: flex; flex-direction: column; gap: 0.9rem; }
.visit-card li { display: flex; gap: 0.65rem; font-size: 0.875rem; line-height: 1.65; color: oklch(var(--foreground-600)); }
.visit-card i { color: oklch(var(--primary-700)); margin-top: 0.15rem; }
.visit-card .card-more { margin-top: 1.25rem; }
.visit-license { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid oklch(var(--background-200)); font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.invite-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: oklch(var(--primary-800));
  color: oklch(var(--background-50));
  border-radius: 0.5rem;
  padding: 1.75rem 1.5rem;
}
@media (min-width: 768px) { .invite-bar { flex-direction: row; align-items: center; justify-content: space-between; padding: 2rem 2.5rem; } }
.invite-bar h2 { font-size: 1.25rem; color: oklch(var(--background-50)); }
.invite-bar p { margin-top: 0.45rem; font-size: 0.875rem; color: oklch(var(--background-200) / 0.8); }
.contact-tile h3 { margin-top: 1.15rem; font-size: 0.95rem; color: oklch(var(--foreground-500)); font-family: var(--font-label); font-weight: 500; }
.tile-value { margin-top: 0.45rem; font-size: 0.875rem; line-height: 1.6; color: oklch(var(--foreground-900)); word-break: break-word; }
.tile-hint { margin-top: 0.35rem; font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.contact-tile .btn { margin-top: 0.85rem; align-self: flex-start; }
.contact-layout, .consult-layout { margin-top: 2rem; }
.consult-form > h2 { margin-bottom: 1.25rem; font-size: 1.35rem; }
.consult-aside, .detail-aside { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .detail-aside { position: sticky; top: 6.5rem; } }
.aside-dark {
  background: oklch(var(--primary-900));
  color: oklch(var(--background-200) / 0.88);
  border-radius: 0.5rem;
  padding: 1.35rem 1.4rem;
}
.aside-dark p, .aside-list { margin-top: 0.85rem; font-size: 0.875rem; line-height: 1.7; }
.aside-list { display: flex; flex-direction: column; gap: 0.8rem; }
.aside-list i, .aside-line i, .aside-phone i { color: oklch(var(--accent-400)); }
.aside-dark .cta-actions { margin-top: 1.25rem; }
.aside-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  color: oklch(var(--accent-400));
  font-weight: 600;
}
.aside-line { margin-top: 0.7rem; }
.side-note { background: oklch(var(--background-100)); color: oklch(var(--foreground-800)); border: 1px solid oklch(var(--background-200)); }
.side-note h2 { color: oklch(var(--foreground-950)); }
.side-note i { color: oklch(var(--accent-600)); }

.form-panel {
  background: oklch(var(--background-100));
  border: 1px solid oklch(var(--background-200));
  border-radius: 0.5rem;
  padding: 1.35rem 1.25rem 1.5rem;
}
.consult-form .form-panel {
  border-color: oklch(var(--primary-300));
  box-shadow: 0 12px 32px oklch(var(--primary-950) / 0.06);
}
.form-title { font-size: 1.15rem; }
.form-sub { margin-top: 0.4rem; font-size: 0.8125rem; line-height: 1.6; color: oklch(var(--foreground-600)); }
.form-field { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label { font-size: 0.8125rem; color: oklch(var(--foreground-700)); }
.form-field input, .form-field textarea {
  width: 100%;
  border: 1px solid oklch(var(--background-300));
  background: oklch(var(--background-50));
  border-radius: 0.375rem;
  padding: 0.7rem 0.8rem;
  font-size: 0.875rem;
  color: oklch(var(--foreground-950));
}
.form-field textarea { min-height: 6.5rem; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid oklch(var(--accent-400) / 0.7); border-color: oklch(var(--accent-500)); }
.form-check { flex-direction: row; align-items: flex-start; gap: 0.5rem; }
.form-check input { width: auto; margin-top: 0.2rem; }
.form-check a { color: oklch(var(--primary-700)); text-decoration: underline; }
.form-btn { width: 100%; margin-top: 1rem; }
.form-disclaimer { margin-top: 0.75rem; font-size: 0.75rem; line-height: 1.6; color: oklch(var(--foreground-500)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.steps-band { width: 100%; padding: 4rem 0; background: oklch(var(--background-100)); }
@media (min-width: 768px) { .steps-band { padding: 6rem 0; } }
.steps-band .section-head { margin-bottom: 2.5rem; }
.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;
  padding: 1.75rem 1.25rem;
  border-radius: 0.5rem;
  background: oklch(var(--background-50));
  border: 1px solid oklch(var(--background-200));
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: oklch(var(--accent-500));
  color: oklch(var(--primary-950));
  font-family: var(--font-heading);
  font-weight: 600;
}
.step-item h3, .step-item p { overflow-wrap: anywhere; word-break: break-word; }
.step-item h3 { margin-top: 1rem; font-size: 1.05rem; }
.step-item p { margin-top: 0.6rem; font-size: 0.875rem; line-height: 1.7; color: oklch(var(--foreground-600)); }

.trust-bar { background: oklch(var(--background-50)); border-top: 1px solid oklch(var(--background-200)); }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.trust-item { flex: 1 1 13rem; max-width: 20rem; min-width: 0; display: flex; align-items: flex-start; gap: 0.75rem; }
.trust-item i {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: oklch(var(--primary-100));
  color: oklch(var(--primary-700));
  flex: none;
}
.trust-item strong, .trust-item span, .trust-item a { display: block; overflow-wrap: anywhere; }
.trust-item strong { font-size: 0.875rem; color: oklch(var(--primary-800)); }
.trust-item span, .trust-item a { margin-top: 0.15rem; font-size: 0.8125rem; color: oklch(var(--foreground-600)); }
.trust-item a { color: oklch(var(--primary-700)); }

.site-footer { background: oklch(var(--primary-950)); color: oklch(var(--background-300) / 0.85); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 0.8fr 1.15fr; } }
.footer-brand { margin-bottom: 1rem; }
.footer-brand .brand-mark { background: oklch(var(--primary-800)); border-color: transparent; }
.site-footer .footer-brand .brand-name { color: oklch(var(--background-50)); }
.site-footer .footer-brand .brand-firm { color: oklch(var(--background-300) / 0.7); }
.footer-license, .footer-blurb { font-size: 0.875rem; line-height: 1.7; margin-top: 0.35rem; }
.site-footer h3 { font-size: 1rem; color: oklch(var(--background-50)); margin-bottom: 1.1rem; }
.footer-links, .footer-nap-list { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a, .footer-nap-list a, .footer-nap-list span { font-size: 0.875rem; }
.footer-links a:hover, .footer-nap a:hover, .footer-practices a:hover { color: oklch(var(--accent-400)); }
.footer-nap-list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.875rem; line-height: 1.6; }
.footer-nap-list i { color: oklch(var(--accent-400)); 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-practices-row { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid oklch(var(--primary-800)); }
.footer-practices { display: flex; flex-wrap: wrap; gap: 0.55rem 1.25rem; }
.footer-practices a { font-size: 0.875rem; }
.footer-bottom { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid oklch(var(--primary-800)); display: flex; flex-direction: column; gap: 0.4rem; }
.footer-bottom p { font-size: 0.75rem; color: oklch(var(--background-300) / 0.6); line-height: 1.6; }
.footer-tech { font-size: 0.75rem; }
.footer-tech a { color: oklch(var(--background-300) / 0.55); }
.footer-tech a:hover { color: oklch(var(--accent-400)); }

.pc-convert { display: none; }
@media (min-width: 768px) {
  .pc-convert {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: oklch(var(--primary-950) / 0.96);
    border-top: 1px solid oklch(var(--primary-800));
    color: oklch(var(--background-50));
  }
  body { padding-bottom: 4.25rem; }
}
.pc-convert-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.pc-convert-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.pc-convert-text span { font-size: 0.75rem; color: oklch(var(--background-100) / 0.65); }
.pc-convert-actions { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.pc-convert-phone { display: inline-flex; align-items: center; gap: 0.35rem; color: oklch(var(--accent-400)); font-weight: 600; }
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  background: oklch(var(--background-50) / 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid oklch(var(--background-200));
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 768px) { .mobile-bar { display: none; } }
.mobile-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 3.4rem;
  border: 0;
  background: transparent;
  color: oklch(var(--foreground-500));
  font-size: 11px;
  cursor: pointer;
  padding: 0.4rem 0.15rem;
}
.mobile-bar-item i { font-size: 1.15rem; }
.mobile-bar-item.is-active, .mobile-bar-item.mobile-cta { color: oklch(var(--primary-700)); }

.wechat-modal { display: none; position: fixed; inset: 0; z-index: 80; background: oklch(var(--primary-950) / 0.55); padding: 1.5rem; }
.wechat-modal.is-open { display: flex; align-items: center; justify-content: center; }
.wechat-modal-box {
  position: relative;
  width: min(100%, 22rem);
  background: oklch(var(--background-50));
  border-radius: 0.5rem;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  border: 1px solid oklch(var(--background-200));
  box-shadow: 0 18px 50px oklch(var(--primary-950) / 0.2);
}
.wechat-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: oklch(var(--foreground-500));
  cursor: pointer;
  font-size: 1.25rem;
}
.wechat-modal-icon { font-size: 2rem; color: oklch(var(--primary-700)); }
.wechat-modal-title { margin-top: 0.45rem; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; }
.wechat-modal-desc { margin-top: 0.4rem; font-size: 0.8125rem; color: oklch(var(--foreground-600)); }
.wechat-qr { width: 180px; height: 180px; object-fit: contain; margin: 1rem auto 0; display: block; }
.wechat-id-row { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.45rem; }
.wechat-id-label { font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.wechat-id-value { font-size: 0.95rem; }
.wechat-id-row button, .wechat-modal-dismiss {
  border: 1px solid oklch(var(--primary-700));
  background: oklch(var(--primary-800));
  color: oklch(var(--background-50));
  border-radius: 0.375rem;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-size: 0.8125rem;
}
.wechat-modal-dismiss { margin-top: 1rem; background: transparent; color: oklch(var(--foreground-700)); border-color: oklch(var(--background-300)); }
.wechat-id-hint { margin-top: 0.7rem; font-size: 0.75rem; color: oklch(var(--foreground-600)); }
.wechat-id-hint strong { color: oklch(var(--accent-800)); }
@media (min-width: 768px) {
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}

.off-hours-tip { margin-top: 0.85rem; }
.off-hours-tip-inner {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  border-radius: 0.375rem;
  background: oklch(var(--accent-50));
  border: 1px solid oklch(var(--accent-200));
  color: oklch(var(--foreground-800));
  font-size: 0.8125rem;
  line-height: 1.6;
  text-align: left;
}
.off-hours-tip i { color: oklch(var(--accent-700)); margin-top: 0.1rem; }

.related-band { padding: 1rem 0 4rem; background: oklch(var(--background-50)); }
.related-lawyer, .related-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid oklch(var(--background-200));
}
.related-lawyer img, .author-card img { width: 64px; height: 80px; object-fit: cover; border-radius: 0.375rem; flex: none; }
.related-lawyer-name, .author-card strong { font-family: var(--font-heading); font-weight: 600; }
.related-lawyer p, .author-card p { font-size: 0.8125rem; color: oklch(var(--foreground-600)); margin-top: 0.2rem; }
.related-block { margin-top: 1.5rem; }
.related-block h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.related-item span { flex: 1; min-width: 0; }
.related-item em { font-style: normal; font-size: 0.75rem; color: oklch(var(--accent-700)); }
.related-item i { color: oklch(var(--foreground-400)); }

.detail-meta { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; padding-bottom: 1.1rem; border-bottom: 1px solid oklch(var(--background-200)); font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.detail-meta a { color: oklch(var(--primary-700)); }
.author-card { display: flex; gap: 0.85rem; align-items: center; margin-top: 1.25rem; padding: 0.9rem; border-radius: 0.5rem; background: oklch(var(--background-100)); border: 1px solid oklch(var(--background-200)); }
.article-lead { margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid oklch(var(--accent-400)); font-family: var(--font-heading); font-style: italic; line-height: 1.8; color: oklch(var(--foreground-800)); }
.fact-row { display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .fact-row { grid-template-columns: 1fr 1fr; } }
.fact { background: oklch(var(--background-100)); border: 1px solid oklch(var(--background-200)); border-radius: 0.5rem; padding: 0.9rem 1rem; }
.fact p { font-size: 0.75rem; color: oklch(var(--foreground-500)); }
.fact strong { display: block; margin-top: 0.35rem; font-size: 0.875rem; font-weight: 600; line-height: 1.5; }
.fact a { color: oklch(var(--primary-700)); }
.fact-result { background: oklch(var(--primary-900)); border-color: oklch(var(--primary-900)); }
.fact-result p { color: oklch(var(--accent-400)); }
.fact-result strong { color: oklch(var(--background-50)); font-family: var(--font-heading); }
.alert-soft {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: oklch(var(--accent-50));
  border: 1px solid oklch(var(--accent-200));
  font-size: 0.8125rem;
  line-height: 1.65;
  color: oklch(var(--foreground-700));
}
.alert-soft i { color: oklch(var(--accent-700)); margin-top: 0.1rem; }
.detail-actions { margin-top: 1.5rem; }
.faq-block { margin-top: 2rem; }
.faq-block h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.faq-item { padding: 0.9rem 0; border-top: 1px solid oklch(var(--background-200)); }
.faq-item h3 { font-size: 1rem; }
.faq-item p { margin-top: 0.4rem; font-size: 0.875rem; line-height: 1.7; color: oklch(var(--foreground-600)); }
.reading { width: min(800px, calc(100% - 2rem)); }
@media (min-width: 768px) { .reading { width: min(800px, calc(100% - 5rem)); } }
.prose { font-size: 0.9375rem; line-height: 1.9; color: oklch(var(--foreground-700)); }
.prose h2, .prose h3 { margin: 1.4rem 0 0.6rem; color: oklch(var(--foreground-950)); }
.prose h2 { font-size: 1.25rem; }
.prose h3 { font-size: 1.05rem; }
.prose p, .prose ul, .prose ol { margin: 0.75rem 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: oklch(var(--primary-700)); text-decoration: underline; }
.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-800)); }
.empty-note { padding: 3rem 1rem; text-align: center; color: oklch(var(--foreground-500)); background: oklch(var(--background-100)); border: 1px solid oklch(var(--background-200)); border-radius: 0.5rem; }

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

.thanks-inner { max-width: 40rem; margin-inline: auto; text-align: center; }
.thanks-icon { font-size: 3rem; color: oklch(var(--accent-600)); }
.thanks-lead { margin-top: 1rem; font-size: 1rem; line-height: 1.7; }
.thanks-actions { margin-top: 1.5rem; justify-content: center; }
.thanks-wechat { margin-top: 1.5rem; }
.thanks-wechat img { margin-inline: auto; }
.thanks-hours { margin-top: 1.75rem; text-align: left; background: oklch(var(--background-100)); border: 1px solid oklch(var(--background-200)); border-radius: 0.5rem; padding: 1rem 1.1rem; }
.thanks-hours h2 { font-size: 1rem; }
.thanks-hours p { margin-top: 0.4rem; font-size: 0.875rem; color: oklch(var(--foreground-600)); }
.thanks-disclaimer { margin-top: 1rem; font-size: 0.75rem; color: oklch(var(--foreground-500)); line-height: 1.6; }
.thanks-inner .card-more { margin-top: 1.25rem; }

.not-found {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: oklch(var(--primary-950));
  color: oklch(var(--background-50));
  overflow: hidden;
}
.not-found-inner { position: relative; z-index: 1; text-align: center; padding: 8rem 0 5rem; }
.not-found-code { font-family: var(--font-heading); font-size: 4rem; font-weight: 600; color: oklch(var(--accent-500)); }
@media (min-width: 768px) { .not-found-code { font-size: 6rem; } }
.not-found h1 { margin-top: 1rem; font-size: 1.5rem; color: oklch(var(--background-50)); }
.not-found p { margin-top: 0.85rem; font-size: 0.875rem; color: oklch(var(--background-300) / 0.75); }
.not-found-actions { margin-top: 2rem; justify-content: center; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes soft-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
