:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f5f6;
  --surface-deep: #111419;
  --surface-dark: #1a1d22;
  --surface-dark-soft: rgba(18, 23, 34, 0.72);
  --ink: #17191d;
  --ink-soft: #656a72;
  --ink-light: rgba(255, 255, 255, 0.74);
  --line: rgba(27, 31, 39, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --brand: #9b2028;
  --brand-dark: #72151c;
  --brand-soft: rgba(141, 35, 44, 0.1);
  --gold: #b49a74;
  --shadow: 0 16px 40px rgba(17, 23, 34, 0.06);
  --shadow-heavy: 0 28px 80px rgba(7, 11, 19, 0.28);
  --radius: 4px;
  --container: 1280px;
  --transition: 220ms ease;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

/* Non-JavaScript fallback: exposes the same core firm information to visitors and crawlers. */
.seo-fallback {
  width: min(960px, calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 128px 0 72px;
}

.seo-fallback h1,
.seo-fallback h2 {
  line-height: 1.35;
}

.seo-fallback h1 {
  margin: 0 0 24px;
  font-size: 36px;
}

.seo-fallback h2 {
  margin-top: 32px;
  font-size: 22px;
}

.seo-fallback address {
  font-style: normal;
}

.seo-fallback nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  color: var(--brand-dark);
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-main {
  min-height: 100vh;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.site-header.is-home {
  background: transparent;
}

.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 35px rgba(16, 22, 31, 0.08);
  backdrop-filter: blur(16px);
}

.utility-bar {
  background: rgba(10, 12, 15, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.is-solid .utility-bar,
.site-header.is-scrolled .utility-bar {
  background: var(--surface-deep);
}

.utility-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.utility-copy,
.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.utility-links a {
  transition: color var(--transition);
}

.utility-links a:hover {
  color: #fff;
}

.utility-links .utility-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0;
  padding: 5px 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.utility-phone span {
  color: rgba(255, 255, 255, 0.64);
}

.utility-phone strong {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.main-nav-shell {
  transition: background var(--transition);
}

.main-nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo-shell {
  display: block;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
  transition: background var(--transition), box-shadow var(--transition);
}

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
  transition: filter var(--transition);
}

.site-header.is-home:not(.is-scrolled) .brand-logo-shell {
  background: transparent;
  box-shadow: none;
}

.site-header.is-home:not(.is-scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}

.brand-mark,
.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 54px;
  padding: 0 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-copy,
.footer-brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong,
.footer-brand-copy strong {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.brand-copy small,
.footer-brand-copy small {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}

.site-header.is-solid .nav-link,
.site-header.is-scrolled .nav-link {
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 12px 16px;
  color: #fff;
  font-size: 15px;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 8px;
  left: 18px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
}

.site-header.is-solid .menu-toggle,
.site-header.is-scrolled .menu-toggle {
  border-color: rgba(27, 31, 39, 0.16);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.site-header.is-solid .menu-toggle span,
.site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.hero-home {
  position: relative;
}

.hero-slider {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  min-height: inherit;
}

.hero-slide,
.page-hero {
  position: relative;
  min-height: 760px;
  color: #fff;
}

.page-hero {
  background: var(--hero-image) center / cover no-repeat;
  box-shadow: inset 0 0 0 1000px rgba(7, 9, 12, 0.42);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease, transform 700ms ease;
  transform: scale(1.02);
}

.hero-slide-media {
  position: absolute;
  inset: -32px;
  background: var(--hero-image) center / cover no-repeat;
  transform: scale(1.02);
  transform-origin: center;
}

.hero-slide:first-child .hero-slide-media {
  transform: rotate(-0.4deg) scale(1.055);
}

.hero-slide::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 3, 5, 0.74), rgba(4, 6, 9, 0.64) 56%, rgba(4, 6, 9, 0.7));
  opacity: 0;
  transition: opacity 2000ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-hero::before {
  background: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide.is-active::before {
  opacity: 1;
}

.hero-slider:not(.is-ready) .hero-slide.is-active::before {
  opacity: 0;
}

.hero-slide-media {
  filter: saturate(1.02) brightness(1.04);
  transition: transform 7000ms cubic-bezier(0.16, 1, 0.3, 1), filter 900ms ease;
}

.hero-slider.is-ready .hero-slide.is-active .hero-slide-media {
  transform: scale(1.06);
  filter: saturate(0.94) brightness(0.82);
}

.hero-slide-inner,
.page-hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-slide-inner {
  justify-content: center;
}

.hero-text {
  width: min(900px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-slider.is-ready .hero-slide.is-active .hero-text > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider.is-ready .hero-slide.is-active .hero-text > :nth-child(1) { transition-delay: 2000ms; }
.hero-slider.is-ready .hero-slide.is-active .hero-text > :nth-child(2) { transition-delay: 2100ms; }
.hero-slider.is-ready .hero-slide.is-active .hero-text > :nth-child(3) { transition-delay: 2220ms; }
.hero-slider.is-ready .hero-slide.is-active .hero-text > :nth-child(4) { transition-delay: 2320ms; }
.hero-slider.is-ready .hero-slide.is-active .hero-text > :nth-child(5) { transition-delay: 2440ms; }

.has-js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.has-js [data-reveal="fade"] {
  transform: none;
}

.has-js [data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-hero-inner {
  width: min(var(--container), calc(100% - 64px));
  display: grid;
  grid-template-columns: 150px minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.page-hero .section-kicker {
  margin-bottom: 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 54px;
  height: 1px;
  background: currentColor;
}

.section-kicker.light,
.light-text .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.hero-text h1,
.page-hero h1 {
  margin: 0 0 20px;
  font-size: 64px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-text h1 {
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.46);
}

.page-hero h1 {
  font-size: 52px;
  line-height: 1.28;
  text-wrap: balance;
}

.hero-text p,
.page-hero p {
  margin: 0;
  max-width: 720px;
  font-size: 17px;
  color: var(--ink-light);
}

.hero-text p {
  margin-right: auto;
  margin-left: auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.hero-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 24px;
  color: #fff;
}

.hero-phone span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.hero-phone strong {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-text .section-kicker::before {
  display: none;
}

.hero-text .section-kicker {
  letter-spacing: 0.24em;
}

.hero-text .hero-actions {
  justify-content: center;
}

.primary-btn,
.secondary-btn,
.text-link,
.hero-arrow,
.hero-dot,
.filter-chip {
  transition: all var(--transition);
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
}

.primary-btn {
  background: var(--brand);
  color: #fff;
}

.primary-btn:hover {
  background: var(--brand-dark);
}

.secondary-btn {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.secondary-btn-dark {
  border-color: rgba(27, 31, 39, 0.14);
  color: var(--ink);
}

.secondary-btn-dark:hover {
  background: rgba(27, 31, 39, 0.05);
}

.text-link {
  color: var(--brand);
  font-weight: 700;
}

.text-link:hover {
  transform: translateX(2px);
}

.hero-controls {
  position: absolute;
  right: clamp(24px, 5vw, 48px);
  bottom: 36px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--brand);
}

.hero-stat-strip {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  background: rgba(10, 12, 15, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stat-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(660px, calc(100% - 180px));
  margin-left: max(0px, calc((100vw - var(--container)) / 2));
}

.hero-stat-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 74px;
  padding: 16px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item strong {
  color: #fff;
  font-size: 26px;
  font-weight: 500;
}

.hero-stat-item span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--surface-alt);
}

.section-showcase,
.section-dark-panel {
  background: linear-gradient(180deg, #171c28 0%, #10141f 100%);
  color: #fff;
}

.section-team-preview {
  background: #f8f6f2;
}

.section-head-row,
.section-heading-spaced,
.dark-panel-grid,
.news-layout,
.split-panel,
.contact-layout,
.about-grid {
  display: grid;
  gap: 28px;
}

.section-head-row,
.section-heading-spaced {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2,
.section-heading-spaced h2,
.panel-copy h2,
.cta-card h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.16;
  font-weight: 500;
}

.home-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  gap: 80px;
  align-items: end;
}

.home-about-title h2 {
  margin: 0;
  max-width: 760px;
  font-size: 60px;
  line-height: 1.2;
  font-weight: 500;
}

.home-about-copy p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
}

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

.home-value {
  padding: 34px 34px 8px 0;
  border-right: 1px solid var(--line);
}

.home-value + .home-value {
  padding-left: 34px;
}

.home-value:last-child {
  border-right: 0;
}

.home-value > span {
  color: var(--brand);
  font-size: 12px;
}

.home-value h3 {
  margin: 16px 0 10px;
  font-size: 24px;
  font-weight: 500;
}

.home-value p {
  margin: 0;
  color: var(--ink-soft);
}

.section-lead,
.light-text p,
.feature-card p,
.practice-preview-card p,
.news-list-item p,
.featured-news-body p,
.prose-card p,
.fact-item span,
.panel-copy p,
.value-card p,
.team-body p,
.case-card p,
.insight-card p,
.contact-card p,
.form-message,
.footer-links,
.footer-brand-block p {
  color: var(--ink-soft);
}

.light-text p,
.section-showcase .showcase-card span,
.section-dark-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-grid,
.practice-preview-grid,
.showcase-grid,
.insight-grid,
.value-grid,
.capability-grid,
.team-preview-grid,
.case-grid {
  display: grid;
  gap: 28px;
}

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

.feature-card,
.practice-preview-card,
.featured-news-card,
.news-list-item,
.prose-card,
.fact-list-card,
.capability-card,
.value-card,
.team-card,
.case-card,
.insight-card,
.contact-card,
.contact-form,
.protocol-warning,
.team-toolbar-card,
.cta-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.feature-card,
.practice-preview-card,
.news-list-item,
.prose-card,
.fact-list-card,
.value-card,
.capability-card,
.team-body,
.case-card,
.insight-card,
.contact-card,
.contact-form,
.protocol-warning,
.team-toolbar-card,
.cta-card {
  padding: 34px;
}

.feature-card h3,
.practice-preview-card h3,
.featured-news-body h3,
.news-list-item h3,
.value-card h3,
.team-card h3,
.case-card h3,
.insight-card h3,
.contact-card h3,
.contact-form h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

.news-layout {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.featured-news-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
}

.featured-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}

.featured-news-body {
  padding: 38px;
}

.featured-news-date,
.news-date-block,
.case-location,
.insight-category,
.team-group {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-news-date {
  margin-bottom: 18px;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-list-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: start;
  gap: 18px;
}

.section-news {
  background: #f4f5f6;
}

.section-news .featured-news-card,
.section-news .news-list-item {
  border: 0;
}

.section-news .news-list-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.section-news .news-list-item:first-child {
  padding-top: 0;
}

.section-news .news-list-item h3 {
  font-size: 21px;
  font-weight: 500;
}

.section-news .news-list-item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-practice {
  background: var(--surface-deep);
  color: #fff;
}

.home-practice .section-heading-spaced {
  margin-bottom: 46px;
}

.home-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.home-practice-item {
  position: relative;
  min-height: 210px;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background var(--transition), border-color var(--transition), transform 300ms ease;
}

.home-practice-item:hover {
  background: var(--brand);
  transform: translateY(-4px);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js [data-reveal],
  .hero-text > * {
    opacity: 1;
    transform: none;
  }
}

.home-practice-index {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.home-practice-item h3 {
  margin: 36px 0 10px;
  color: #fff;
  font-size: 27px;
  font-weight: 500;
}

.home-practice-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.home-practice-arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 22px;
}

.home-practice-more {
  display: inline-flex;
  margin-top: 34px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
}

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

.showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: #fff;
  font-size: 15px;
}

.practice-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.practice-preview-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.practice-preview-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--surface-deep);
  color: #fff;
  font-weight: 700;
}

.practice-preview-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.team-card {
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.team-card.is-hidden {
  display: none;
}

.team-avatar {
  aspect-ratio: 1 / 1.15;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.22));
}

.team-avatar img,
.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--surface-deep);
  color: #fff;
  font-family: Georgia, "Songti SC", serif;
  font-size: 72px;
}

.team-body strong,
.panel-strong,
.case-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.team-focus {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--brand);
}

.team-card-compact .team-body {
  padding: 24px;
}

.team-card-compact {
  min-height: 480px;
  border: 0;
  background: #222;
}

.team-card-compact .team-avatar {
  height: 100%;
  aspect-ratio: auto;
}

.team-card-compact .team-avatar img {
  transition: transform 500ms ease;
}

.team-card-compact:hover .team-avatar img {
  transform: scale(1.035);
}

.team-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--brand);
  font-size: 13px;
}

.team-card-action b {
  font-size: 16px;
  font-weight: 400;
  transition: transform var(--transition);
}

.team-card:hover .team-card-action b {
  transform: translate(3px, -3px);
}

.team-card-compact .team-card-action {
  color: rgba(255, 255, 255, 0.86);
}

.lawyer-hero {
  padding: 176px 0 96px;
  background: var(--surface-alt);
}

.lawyer-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 14px;
}

.lawyer-back-link:hover,
.lawyer-phone-link:hover,
.lawyer-team-link:hover {
  color: var(--brand);
}

.lawyer-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: start;
}

.lawyer-profile-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface-deep);
}

.lawyer-profile-media img,
.lawyer-profile-media .team-avatar-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawyer-profile-media .team-avatar-fallback {
  font-size: 120px;
}

.lawyer-profile-copy {
  padding-top: 14px;
}

.lawyer-profile-copy h1 {
  margin: 8px 0 8px;
  font-size: 76px;
  line-height: 1.1;
  font-weight: 500;
}

.lawyer-title {
  margin: 0;
  color: var(--brand);
  font-size: 20px;
}

.lawyer-lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 2;
}

.lawyer-meta-list {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.lawyer-meta-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.lawyer-meta-row span,
.detail-label {
  color: var(--ink-soft);
  font-size: 13px;
}

.lawyer-meta-row strong {
  font-weight: 500;
}

.lawyer-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 84px;
  align-items: start;
}

.lawyer-detail-main h2 {
  margin: 12px 0 24px;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 500;
}

.lawyer-detail-intro {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
}

.lawyer-detail-block {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.lawyer-detail-block p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 2;
}

.lawyer-focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.lawyer-focus-list li {
  padding: 10px 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 14px;
}

.lawyer-detail-aside {
  display: grid;
  gap: 16px;
}

.lawyer-contact-card {
  padding: 32px;
  background: var(--surface-deep);
  color: #fff;
}

.lawyer-contact-card h2 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
}

.lawyer-contact-card p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.68);
}

.lawyer-phone-link {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.lawyer-team-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 16px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.lawyer-team-link span:first-child {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 13px;
}

.lawyer-team-link strong {
  font-weight: 500;
}

.lawyer-team-link span:last-child {
  grid-column: 2;
  grid-row: 2;
  color: var(--brand);
  font-size: 22px;
}

.empty-state-card {
  padding: 52px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.empty-state-card h2 {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 500;
}

.empty-state-card p {
  margin: 0 0 26px;
  color: var(--ink-soft);
}

.team-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 72px 24px 24px;
  background: linear-gradient(transparent, rgba(8, 10, 13, 0.92));
  color: #fff;
}

.team-overlay span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.team-overlay h3 {
  margin: 6px 0;
  color: #fff;
  font-size: 28px;
  font-weight: 500;
}

.team-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.home-perspectives {
  background: #f4f5f6;
}

.home-perspective-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
}

.home-case-feature {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  color: #fff;
}

.home-case-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-case-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 12, 15, 0.92));
}

.home-case-overlay > span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.home-case-overlay h3 {
  margin: 12px 0;
  max-width: 580px;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 500;
}

.home-case-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.home-insight-list {
  border-top: 1px solid var(--line);
}

.home-insight-item {
  display: block;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.home-insight-item > span {
  color: var(--brand);
  font-size: 12px;
}

.home-insight-item h3 {
  margin: 8px 0;
  font-size: 23px;
  line-height: 1.45;
  font-weight: 500;
}

.home-insight-item p {
  margin: 0;
  color: var(--ink-soft);
}

.insight-grid,
.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-card {
  background: linear-gradient(180deg, #fff 0%, #fbf9f5 100%);
}

.about-grid,
.split-panel {
  grid-template-columns: 1.08fr 0.92fr;
}

.fact-list-card {
  display: grid;
  gap: 0;
}

.fact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.fact-item:first-child {
  padding-top: 0;
}

.fact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-item strong {
  display: block;
  margin-bottom: 8px;
}

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

.capability-card {
  background: linear-gradient(180deg, #fff 0%, #f7f3ed 100%);
}

.capability-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 42px;
  color: var(--brand);
}

.service-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(27, 31, 39, 0.1);
  background: #fff;
}

.dark-panel-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.timeline-list {
  display: grid;
  gap: 0;
}

.timeline-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline-item strong {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
}

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

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

.news-full-card {
  min-height: 250px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.news-full-card h3 {
  margin: 18px 0 12px;
  font-size: 26px;
  line-height: 1.35;
}

.news-full-card p {
  margin: 0;
  color: var(--ink-soft);
}

.news-full-date {
  color: var(--brand);
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  background: var(--surface-deep);
  color: #fff;
  font-size: 13px;
}

.contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 24px;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label,
.team-search {
  display: grid;
  gap: 8px;
}

.team-toolbar-card {
  display: grid;
  gap: 22px;
}

.team-search input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(27, 31, 39, 0.12);
  background: #fff;
  padding: 15px 16px;
  color: var(--ink);
}

.team-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-chip {
  border: 1px solid rgba(27, 31, 39, 0.12);
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #fff;
  border-top: 3px solid var(--brand);
}

.site-footer {
  padding: 68px 0 32px;
  background: var(--surface-deep);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}

.footer-brand-block {
  display: grid;
  gap: 16px;
}

.footer-brand-block p,
.footer-links {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.46);
  font-size: 14px;
}

.protocol-warning {
  width: min(760px, calc(100% - 40px));
  margin: 180px auto 120px;
}

@media (max-width: 1200px) {
  .feature-grid,
  .practice-preview-grid,
  .showcase-grid,
  .team-preview-grid,
  .team-grid,
  .insight-grid,
  .value-grid,
  .case-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-stat-inner {
    margin-left: 32px;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 6px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .site-header.is-home .site-nav {
    background: rgba(18, 23, 34, 0.98);
  }

  .site-header.is-home .site-nav .nav-link {
    color: #fff;
  }

  .site-header.is-home .site-nav .nav-link.is-active,
  .site-header.is-home .site-nav .nav-link:hover {
    color: #fff;
  }

  .site-header.is-home .site-nav .nav-link::after {
    background: var(--gold);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .section-head-row,
  .section-heading-spaced,
  .news-layout,
  .about-grid,
  .split-panel,
  .dark-panel-grid,
  .contact-layout,
  .home-about-grid,
  .home-perspective-layout {
    grid-template-columns: 1fr;
  }

  .lawyer-profile,
  .lawyer-detail-layout {
    grid-template-columns: 1fr;
  }

  .lawyer-profile {
    gap: 38px;
  }

  .lawyer-profile-media {
    max-width: 520px;
  }

  .lawyer-detail-layout {
    gap: 48px;
  }

  .page-hero-inner {
    width: min(var(--container), calc(100% - 36px));
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 28px;
  }

  .page-hero-inner > p {
    grid-column: 2;
  }

  .hero-text h1 {
    font-size: 54px;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .section-heading h2,
  .section-heading-spaced h2,
  .panel-copy h2,
  .cta-card h2 {
    font-size: 42px;
  }

  .home-about-title h2 {
    font-size: 50px;
  }

  .featured-news-card {
    grid-template-columns: 1fr;
  }

  .home-values {
    margin-top: 48px;
  }

  .home-case-feature {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .utility-bar {
    display: none;
  }

  .hero-slider,
  .hero-slide {
    min-height: 680px;
  }

  .page-hero {
    min-height: 600px;
  }

  .hero-slide-inner {
    padding-top: 100px;
    padding-bottom: 128px;
  }

  .page-hero-inner {
    padding-top: 120px;
    padding-bottom: 80px;
    width: min(var(--container), calc(100% - 36px));
    display: block;
  }

  .page-hero .section-kicker {
    margin-bottom: 18px;
  }

  .feature-grid,
  .practice-preview-grid,
  .showcase-grid,
  .team-grid,
  .insight-grid,
  .value-grid,
  .capability-grid,
  .news-full-grid,
  .case-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .hero-text h1 {
    font-size: 38px;
    line-height: 1.2;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .section-heading h2,
  .section-heading-spaced h2,
  .panel-copy h2,
  .cta-card h2,
  .home-about-title h2 {
    font-size: 36px;
  }

  .hero-text p,
  .page-hero p {
    font-size: 15px;
  }

  .lawyer-hero {
    padding: 124px 0 68px;
  }

  .lawyer-profile-copy h1 {
    font-size: 48px;
  }

  .lawyer-lead {
    font-size: 16px;
  }

  .lawyer-detail-main h2 {
    font-size: 34px;
  }

  .empty-state-card {
    padding: 28px 24px;
  }

  .hero-stat-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100% - 92px);
    margin-left: 0;
  }

  .hero-stat-item {
    display: grid;
    gap: 0;
    min-height: 68px;
    padding: 10px 12px;
  }

  .hero-stat-item strong {
    font-size: 20px;
  }

  .hero-stat-item span {
    font-size: 11px;
  }

  .hero-controls {
    right: 14px;
    bottom: 16px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
  }

  .hero-dots {
    display: none;
  }

  .home-about-grid {
    gap: 26px;
  }

  .home-about-title h2 {
    font-size: 38px;
  }

  .home-values {
    grid-template-columns: 1fr;
  }

  .home-value,
  .home-value + .home-value {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .home-practice-item {
    min-height: 164px;
    padding: 24px;
  }

  .home-practice-item h3 {
    margin-top: 22px;
  }

  .team-card-compact {
    min-height: 330px;
  }

  .team-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .team-overlay {
    padding: 54px 14px 14px;
  }

  .team-overlay h3 {
    font-size: 22px;
  }

  .team-overlay p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-case-feature {
    min-height: 430px;
  }

  .home-case-overlay {
    padding: 28px;
  }

  .home-case-overlay h3 {
    font-size: 26px;
  }

  .news-list-item {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .footer-bottom,
  .contact-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-card,
  .practice-preview-card,
  .news-list-item,
  .news-full-card,
  .prose-card,
  .fact-list-card,
  .value-card,
  .capability-card,
  .team-body,
  .case-card,
  .insight-card,
  .contact-card,
  .contact-form,
  .protocol-warning,
  .team-toolbar-card,
  .cta-card {
    padding: 24px;
  }
}
