:root {
  --paper: #f8f6f3;
  --warm: #f8e0c2;
  --white: #ffffff;
  --ink: #050505;
  --graphite: #231815;
  --muted: #6d675f;
  --line: rgba(35, 24, 21, .13);
  --soft-line: rgba(35, 24, 21, .08);
  --orange: #ff8a12;
  --orange-deep: #d96d00;
  --blue: #25358d;
  --green: #0f6b5d;
  --shadow: 0 20px 58px rgba(35, 24, 21, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #111;
  color: var(--ink);
  font-family: Inter, "SF Pro Display", "Noto Sans CJK SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.page-shell {
  min-height: 100vh;
  padding: 34px 24px;
  background:
    linear-gradient(135deg, rgba(245, 144, 29, .15), transparent 22%),
    linear-gradient(225deg, rgba(37, 53, 141, .12), transparent 28%),
    linear-gradient(135deg, #101010, #1d1d1d 52%, #090909);
}

.site-frame {
  position: relative;
  overflow: hidden;
  width: min(1460px, 100%);
  margin: 0 auto;
  background: #fbfcfd;
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .3);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 286px 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 0;
  padding: 56px 76px 0;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.brand img {
  display: block;
  width: 230px;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
  color: rgba(35, 24, 21, .72);
  font-size: 13px;
  font-weight: 560;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  transition: transform .18s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: var(--graphite);
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-cta,
.lang {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.nav-cta {
  padding: 0 16px;
  border: 1px solid rgba(35, 24, 21, .12);
  background: rgba(255, 255, 255, .62);
  color: rgba(35, 24, 21, .72);
}

.lang {
  min-width: 40px;
  border: 1px solid rgba(35, 24, 21, .12);
  color: var(--white);
  background: var(--graphite);
}

.menu-button {
  display: none;
  gap: 4px;
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.mobile-panel,
.search-panel {
  display: none;
}

.mobile-panel.open,
.search-panel.open {
  display: block;
}

.mobile-panel {
  position: fixed;
  inset: 108px 40px auto;
  z-index: 60;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-panel a {
  display: block;
  padding: 14px 10px;
  color: var(--graphite);
  font-size: 15px;
  font-weight: 760;
}

.search-panel {
  position: fixed;
  top: 124px;
  right: max(40px, calc((100vw - min(1460px, 100vw - 48px)) / 2 + 76px));
  z-index: 61;
  width: min(460px, calc(100vw - 40px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-panel label {
  display: block;
  margin-bottom: 12px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 850;
}

.search-panel div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-panel input {
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--ink);
  font-size: 14px;
}

.search-panel button {
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 18px;
  background: var(--graphite);
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
}

.hero {
  --mx: 72%;
  --my: 34%;
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 138px 76px 94px;
  color: var(--ink);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(245, 144, 29, .17), transparent 18%),
    linear-gradient(100deg, rgba(37, 53, 141, .08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #faf8f5 60%, #f2ede6 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 76px;
  right: 76px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), rgba(37, 53, 141, .46), rgba(15, 107, 93, .38), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
}

.eyebrow {
  color: rgba(35, 24, 21, .46);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 560;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  margin-top: 28px;
  max-width: 900px;
  color: #231815;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(62px, 6.5vw, 104px);
  line-height: 1.1;
  font-weight: 500;
  word-break: keep-all;
}

.hero-lead {
  max-width: 760px;
  margin-top: 34px;
  color: rgba(35, 24, 21, .72);
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.36;
  font-weight: 520;
}

.hero-text {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(35, 24, 21, .60);
  font-size: 17px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 50px;
}

.button {
  position: relative;
  overflow: hidden;
  min-width: 168px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 560;
  backdrop-filter: blur(18px);
}

.button.primary {
  background:
    linear-gradient(135deg, rgba(245, 144, 29, .96), rgba(37, 53, 141, .76) 66%, rgba(15, 107, 93, .68));
  color: var(--white);
  box-shadow: 0 18px 42px rgba(37, 53, 141, .14), 0 12px 34px rgba(245, 144, 29, .16);
}

.button.secondary {
  border: 1px solid rgba(35, 24, 21, .13);
  color: rgba(35, 24, 21, .82);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .84), rgba(247, 251, 253, .70)),
    linear-gradient(135deg, rgba(245, 144, 29, .12), rgba(37, 53, 141, .09));
  box-shadow: 0 18px 38px rgba(35, 24, 21, .07);
}

.hero-meta {
  display: grid;
  width: min(760px, 100%);
  margin-top: 66px;
  border-top: 1px solid rgba(35, 24, 21, .12);
}

.hero-meta > span {
  position: relative;
  min-height: 70px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(35, 24, 21, .08);
  border-radius: 0;
  padding: 18px 0;
  background: transparent;
  color: var(--graphite);
  font-size: 18px;
  font-weight: 580;
}

.hero-meta > span::before {
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 720;
}

.hero-meta > span:nth-child(1)::before { content: "01"; }
.hero-meta > span:nth-child(2)::before { content: "02"; }
.hero-meta > span:nth-child(3)::before { content: "03"; }

.section {
  padding: 108px 76px;
  scroll-margin-top: 92px;
}

.section-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 26px;
  max-width: 1020px;
  margin-bottom: 36px;
}

.section-head.wide {
  max-width: 1160px;
}

.section-index {
  color: var(--orange);
  font-size: 15px;
  font-weight: 900;
}

h2 {
  color: #231815;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 1.18;
  font-weight: 500;
}

.section-head p:not(.section-index) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 520;
}

.position {
  background: var(--white);
}

.position-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.position-grid article,
.flow-grid article,
.article-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 24px;
}

.position-grid article {
  min-height: 230px;
}

.position-grid span,
.article-grid span,
.flow-grid span {
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 900;
}

.position-grid h3,
.flow-grid h3,
.article-grid h3 {
  margin-top: 18px;
  color: var(--graphite);
  font-size: 24px;
  line-height: 1.32;
  font-weight: 900;
}

.position-grid p,
.flow-grid p,
.article-grid p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.services {
  background: var(--white);
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

.service-item {
  min-height: 238px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: #fbfcfd;
  color: var(--graphite);
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease;
}

.service-item:hover,
.service-item.active {
  transform: none;
  background: var(--white);
  box-shadow: inset 0 -3px 0 var(--orange);
}

.service-item span {
  display: block;
  color: var(--graphite);
  font-size: 23px;
  line-height: 1.32;
  font-weight: 900;
}

.service-item small {
  display: block;
  margin-top: 24px;
  color: rgba(35, 24, 21, .58);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 560;
}

.service-detail {
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(320px, .55fr);
  gap: 34px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--graphite);
  box-shadow: none;
}

.detail-tag {
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 900;
  grid-column: 1;
}

.service-detail h3 {
  grid-column: 1;
  margin-top: 18px;
  font-size: 30px;
  line-height: 1.32;
  font-weight: 900;
}

.service-detail p:not(.detail-tag) {
  grid-column: 1;
  margin-top: 18px;
  color: rgba(35, 24, 21, .60);
  font-size: 16px;
  line-height: 1.85;
}

.service-detail ul {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-top: 1px solid var(--soft-line);
  color: rgba(35, 24, 21, .72);
  font-size: 15px;
  line-height: 1.6;
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  background: var(--orange);
}

.ai-section {
  background: linear-gradient(180deg, #f7f9fb 0%, #fff 100%);
}

.ai-workbench {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.intake-panel,
.chat-panel,
.developer-shell,
.code-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(35, 24, 21, .08);
}

.intake-panel {
  padding: 22px;
}

.panel-title {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 900;
}

.panel-title + .persona-list,
.panel-title + .prompt-list {
  margin-top: 12px;
}

.persona-list {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.persona,
.prompt-list button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf5;
  color: var(--graphite);
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
}

.persona {
  padding: 0 12px;
}

.persona.active {
  border-color: rgba(245, 144, 29, .74);
  background: var(--orange);
  color: var(--white);
}

.prompt-list {
  display: grid;
  gap: 8px;
}

.prompt-list button {
  padding: 10px 14px;
  line-height: 1.45;
}

.chat-panel {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
  overflow: hidden;
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: #fffaf5;
}

.chat-head span,
.chat-head strong {
  display: block;
}

.chat-head span {
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-head strong {
  margin-top: 4px;
  color: var(--graphite);
  font-size: 18px;
  font-weight: 900;
}

.chat-head em {
  min-width: 72px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(37, 53, 141, .09);
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.chat-stream {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(35, 24, 21, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    #fffdf9;
  overflow-y: auto;
}

.message {
  max-width: min(760px, 88%);
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.message.user {
  justify-self: end;
  border-color: rgba(245, 144, 29, .42);
  background: #fff4e7;
}

.message span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 900;
}

.message p {
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.7;
}

.chat-form {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
}

.chat-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 900;
}

.chat-form div {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 10px;
}

.chat-form textarea {
  min-width: 0;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.6;
}

.chat-form button {
  min-height: 68px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.developer {
  background: #fff;
}

.developer-shell {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, .95fr);
  gap: 22px;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 144, 29, .18), transparent 28%),
    linear-gradient(135deg, #231815, #15110f 72%);
}

.api-copy {
  padding: 8px 6px 8px 8px;
  color: var(--white);
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: min(520px, 100%);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.segmented button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.segmented button.active {
  background: var(--orange);
  color: var(--white);
}

.api-copy h3 {
  margin-top: 30px;
  max-width: 620px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.16;
  font-weight: 900;
}

.api-copy p {
  max-width: 620px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.8;
}

.dev-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.dev-points span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 0 11px;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 820;
}

.code-panel {
  overflow: hidden;
  background: #15110f;
  box-shadow: none;
}

.code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.code-head span {
  color: #ffbd84;
  font-size: 13px;
  font-weight: 900;
}

.code-head button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

code {
  color: #fff2e6;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.75;
}

.code-panel p {
  padding: 0 20px 20px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 760;
}

.operating-map {
  background: #f8fafb;
}

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

.flow-grid article {
  min-height: 240px;
  position: relative;
}

.flow-grid article::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), rgba(37, 53, 141, .62), rgba(15, 107, 93, .54));
}

.team {
  background: var(--white);
}

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

.lawyer-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}

.lawyer-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(.94);
}

.lawyer-card div {
  padding: 18px;
}

.lawyer-card h3 {
  color: var(--graphite);
  font-size: 22px;
  font-weight: 900;
}

.lawyer-card p {
  margin-top: 8px;
  min-height: 46px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 620;
}

.experience-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.experience-band span {
  min-height: 66px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 850;
}

.insights {
  background: var(--white);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-grid article {
  min-height: 246px;
  box-shadow: 0 18px 45px rgba(35, 24, 21, .06);
}

.site-footer {
  padding: 54px 76px 26px;
  background: var(--graphite);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr minmax(260px, .8fr) 150px;
  gap: 42px;
  align-items: start;
}

.footer-main img {
  max-width: 210px;
  height: auto;
  background: var(--white);
  border-radius: var(--radius);
}

.footer-main p {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.8;
}

address {
  display: grid;
  gap: 12px;
  font-style: normal;
}

address strong,
.qr-block span {
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

address a,
address span {
  color: rgba(255, 255, 255, .74);
  font-size: 15px;
  line-height: 1.6;
}

.qr-block {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.qr-block img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  padding: 6px;
  background: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .52);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    padding: 36px 42px 0;
  }

  .header-actions {
    justify-content: end;
  }

  .service-detail,
  .ai-workbench,
  .developer-shell {
    grid-template-columns: 1fr;
  }

  .position-grid,
  .service-list,
  .flow-grid,
  .team-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail ul {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 0;
  }

  .site-frame {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  .site-header {
    gap: 12px;
    min-height: 68px;
    padding: 22px 18px 0;
  }

  .mobile-panel {
    inset: 76px 18px auto;
  }

  .search-panel {
    top: 82px;
    right: 18px;
    width: calc(100vw - 36px);
  }

  .brand img {
    width: 142px;
  }

  .nav-cta,
  .lang {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    display: block;
    width: 100%;
    min-height: auto;
    padding: 118px 18px 56px;
    background:
      radial-gradient(circle at 72% 20%, rgba(245, 144, 29, .18), transparent 25%),
      linear-gradient(180deg, #fff 0%, #faf8f5 62%, #f2ede6 100%);
  }

  .hero-content,
  .section-head,
  .section-head > div {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    min-width: 0;
  }

  .hero-content > * {
    max-width: 100%;
  }

  .hero::after {
    left: 18px;
    right: 18px;
  }

  h1 {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    font-size: 46px;
    line-height: 1.1;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-lead {
    display: block;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    font-size: 23px;
    line-height: 1.34;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-text,
  .section-head p:not(.section-index) {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    font-size: 15px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .button {
    width: min(100%, calc(100vw - 36px));
    min-width: 0;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-meta {
    margin-top: 42px;
  }

  .hero-meta > span {
    min-height: 58px;
    grid-template-columns: 34px 1fr;
    font-size: 15px;
  }

  .section {
    padding: 72px 18px;
  }

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

  h2 {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    font-size: 34px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .position-grid,
  .service-list,
  .service-detail,
  .flow-grid,
  .team-grid,
  .article-grid,
  .experience-band,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .service-detail h3,
  .api-copy h3 {
    font-size: 26px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .chat-head,
  .chat-form div {
    grid-template-columns: 1fr;
  }

  .chat-head {
    display: grid;
    align-items: start;
  }

  .chat-form div {
    display: grid;
  }

  .chat-form button {
    min-height: 48px;
  }

  .message {
    max-width: 100%;
  }

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

  .developer-shell {
    padding: 16px;
  }

  .code-head {
    align-items: start;
    flex-direction: column;
  }

  .footer-bottom {
    display: grid;
  }
}

/* Mankun visual refinement */
.site-header {
  grid-template-columns: 286px 1fr auto;
  padding: 56px 76px 0;
}

.desktop-nav a {
  display: grid;
  gap: 5px;
  min-width: 78px;
  color: rgba(35, 24, 21, .72);
  text-align: center;
}

.desktop-nav a span {
  font-size: 13px;
  font-weight: 560;
  line-height: 1.2;
}

.desktop-nav a small {
  color: rgba(35, 24, 21, .38);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  min-height: 700px;
  padding: 122px 76px 70px;
  background:
    radial-gradient(circle at 72% 34%, rgba(245, 144, 29, .18), transparent 19%),
    linear-gradient(100deg, rgba(37, 53, 141, .08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #faf8f5 60%, #f2ede6 100%);
}

.hero-content {
  max-width: 920px;
}

h1 {
  max-width: 860px;
  color: #231815;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(58px, 6.1vw, 98px);
  font-weight: 500;
  line-height: 1.12;
}

.hero-text {
  max-width: 680px;
  margin-top: 38px;
  color: rgba(35, 24, 21, .66);
  font-size: 18px;
  line-height: 2;
}

.button.primary {
  background:
    linear-gradient(135deg, rgba(245, 144, 29, .96), rgba(37, 53, 141, .78) 60%, rgba(15, 107, 93, .70));
}

.hero-index {
  display: grid;
  width: min(820px, 100%);
  margin-top: 66px;
  border-top: 1px solid rgba(35, 24, 21, .12);
}

.hero-index > p {
  margin: 0;
  padding: 0 0 18px;
  color: rgba(35, 24, 21, .44);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-index a {
  display: grid;
  grid-template-columns: 42px 128px 1fr;
  gap: 18px;
  align-items: baseline;
  min-height: 72px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(35, 24, 21, .08);
  color: inherit;
}

.hero-index a::before {
  content: none;
}

.hero-index span {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.72;
}

.hero-index strong {
  color: #231815;
  font-size: 18px;
  font-weight: 580;
}

.hero-index small {
  color: rgba(35, 24, 21, .54);
  font-size: 13px;
  line-height: 1.72;
}

.section {
  padding: 108px 76px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 52px;
  align-items: end;
  max-width: none;
  margin-bottom: 52px;
}

.section-index {
  display: none;
}

.section-head h2 {
  color: #231815;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(40px, 4.4vw, 68px);
  font-weight: 500;
  line-height: 1.18;
}

.section-head p:not(.section-index) {
  max-width: 650px;
  margin-top: 22px;
  color: rgba(35, 24, 21, .58);
  font-size: 16px;
  line-height: 1.92;
}

.story-section {
  padding-top: 108px;
  padding-bottom: 86px;
  background: #fff;
}

.position-grid {
  gap: 1px;
  border: 1px solid rgba(35, 24, 21, .1);
  background: rgba(35, 24, 21, .1);
}

.position-grid article {
  min-height: 252px;
  border: 0;
  border-radius: 0;
  background: #fbfcfd;
  padding: 30px;
}

.service-section {
  padding-top: 108px;
  padding-bottom: 84px;
  background: #fff;
}

.service-industries {
  display: grid;
  justify-items: center;
  margin: -16px auto 70px;
  text-align: center;
}

.service-industries strong {
  color: var(--orange-deep);
  font-size: 16px;
  font-weight: 760;
}

.service-industries p {
  margin-top: 16px;
  color: rgba(35, 24, 21, .58);
  font-size: 15px;
  line-height: 1.8;
}

.service-industries div {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
  width: min(960px, 100%);
  margin-top: 22px;
}

.service-industries span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: rgba(35, 24, 21, .62);
  font-size: 13px;
  font-weight: 560;
  box-shadow: 0 14px 34px rgba(35, 24, 21, .05);
}

.service-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(35, 24, 21, .1);
  background: rgba(35, 24, 21, .1);
}

.service-item {
  min-height: 262px;
  padding: 28px;
  background: #fff;
}

.service-item span {
  font-size: 24px;
  font-weight: 650;
}

.service-item small {
  margin-top: 28px;
  color: rgba(35, 24, 21, .58);
  font-size: 15px;
  line-height: 1.8;
}

.service-detail {
  margin-top: 24px;
  padding: 32px 0 0;
  border-top: 1px solid rgba(35, 24, 21, .12);
}

.ai-section {
  background:
    linear-gradient(120deg, rgba(245, 144, 29, .08), transparent 28%),
    linear-gradient(180deg, #f8fafb, #fff);
}

.developer-shell {
  border-radius: 8px;
}

.flow-grid {
  gap: 1px;
  border: 1px solid rgba(35, 24, 21, .1);
  background: rgba(35, 24, 21, .1);
}

.flow-grid article {
  border: 0;
  border-radius: 0;
  background: #fff;
}

.team-section,
.insights-section {
  padding-top: 122px;
  padding-bottom: 118px;
  background: #fff;
}

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

.lawyer-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 30px;
  min-height: 344px;
  padding: 22px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 8px;
  background: #fbfcfd;
}

.lawyer-card img {
  min-height: 300px;
  border-radius: 6px;
}

.lawyer-card h3 {
  margin-top: 18px;
  font-size: 32px;
  font-weight: 560;
}

.experience-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-grid article {
  display: grid;
  align-content: start;
  min-height: 486px;
  padding: 24px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 8px;
  background: #fbfcfd;
  box-shadow: none;
}

.article-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 22px 0 22px;
  border-radius: 6px;
  background: #f2ede6;
  filter: saturate(.92);
}

.article-grid span {
  order: -2;
}

.article-grid img {
  order: -1;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 38px 42px 0;
  }

  .desktop-nav {
    display: none;
  }

  .team-grid,
  .service-list,
  .position-grid,
  .flow-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .page-shell {
    padding: 0;
  }

  .site-frame {
    border-radius: 0;
  }

  .site-header {
    padding: 28px 18px 0;
  }

  .hero {
    padding: 118px 18px 60px;
    min-height: 650px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-index a {
    grid-template-columns: 34px 1fr;
  }

  .hero-index small {
    grid-column: 2;
  }

  .section {
    padding: 76px 18px;
  }

  .section-head {
    display: grid;
    gap: 10px;
  }

  .section-head h2 {
    font-size: 38px;
  }

  .section-head p:not(.section-index) {
    max-width: 100%;
    white-space: normal;
  }

  .service-industries {
    justify-items: start;
    text-align: left;
  }

  .service-industries div,
  .service-list,
  .position-grid,
  .flow-grid,
  .team-grid,
  .article-grid,
  .experience-band {
    grid-template-columns: 1fr;
  }

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

  .lawyer-card img {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  html,
  body,
  .page-shell,
  .site-frame,
  main,
  .hero,
  .section,
  .site-footer {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero-content,
  .hero-content > *,
  .section-head,
  .section-head > *,
  .section-head > div > *,
  .position-grid,
  .service-layout,
  .service-list,
  .service-detail,
  .ai-workbench,
  .developer-shell,
  .flow-grid,
  .team-grid,
  .experience-band,
  .article-grid,
  .footer-main {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    min-width: 0 !important;
  }

  .button,
  .service-item,
  .intake-panel,
  .chat-panel,
  .code-panel,
  .lawyer-card,
  .article-grid article,
  .position-grid article,
  .flow-grid article {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  h1,
  h2,
  h3,
  p,
  a,
  button,
  span,
  small,
  li {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-all;
  }
}

/* v1.1.1 service simplification, detail pages, and footer contact refinement */
#services {
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 138, 18, .055), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfbfb 100%) !important;
}

#services .section-head {
  margin-bottom: 34px !important;
}

#services .section-head p {
  max-width: 1000px !important;
  white-space: nowrap;
}

.service-industries {
  width: min(100%, 1060px);
  margin: 0 auto 54px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.service-industries::before,
.service-industries::after {
  content: none !important;
  display: none !important;
}

.service-industries strong {
  display: block;
  margin-bottom: 18px !important;
  color: var(--orange-deep) !important;
  font-size: 16px !important;
  font-weight: 760 !important;
  text-align: left !important;
}

.service-industries p {
  display: none !important;
}

.service-industries div {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 10px 12px !important;
}

.service-industries span {
  width: auto !important;
  min-width: 0 !important;
  padding: 8px 14px !important;
  border: 1px solid rgba(35, 24, 21, .12) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: none !important;
  color: rgba(35, 24, 21, .62) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

.motion-ready .service-industries span:not(:hover) {
  opacity: 1 !important;
  animation: none !important;
}

.service-industries span::after {
  content: none !important;
  display: none !important;
}

.service-industries span:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 138, 18, .34) !important;
  background: rgba(255, 255, 255, .96) !important;
  color: #231815 !important;
}

.service-layout {
  width: min(100%, 1060px) !important;
  margin: 0 auto !important;
}

.service-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 48px !important;
  border: 0 !important;
  background: transparent !important;
}

.service-item {
  min-height: 0 !important;
  padding: 28px 0 34px !important;
  border: 0 !important;
  border-top: 1px solid rgba(35, 24, 21, .10) !important;
  background: transparent !important;
  box-shadow: none !important;
  grid-template-rows: auto auto auto 1fr !important;
}

.service-item:focus,
.service-item:focus-visible {
  outline: 1px solid rgba(255, 138, 18, .42) !important;
  outline-offset: 8px !important;
}

.service-item .service-id,
.service-item strong {
  display: inline !important;
  margin: 0 !important;
  font-size: clamp(20px, 1.75vw, 25px) !important;
  line-height: 1.35 !important;
  vertical-align: baseline;
}

.service-item .service-id {
  margin-right: 12px !important;
  color: var(--orange-deep) !important;
  font-weight: 760 !important;
}

.service-item strong {
  color: #231815 !important;
  font-weight: 760 !important;
}

.service-item small {
  margin-top: 18px !important;
  color: rgba(35, 24, 21, .62) !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

.service-item ul {
  margin-top: 17px !important;
  gap: 6px !important;
}

.service-item::after {
  opacity: 0 !important;
  transform: scaleX(.24) !important;
}

.service-item:hover,
.service-item.active {
  transform: translateY(-4px) !important;
  color: inherit !important;
}

.service-item:hover::after,
.service-item.active::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

.service-item.active:not(:hover)::after {
  opacity: 0 !important;
}

.lawyer-rail {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: center !important;
}

.lawyer-rail button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 58px !important;
  padding: 10px 18px !important;
  border-color: rgba(35, 24, 21, .11) !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: none !important;
}

.lawyer-rail button::before,
.lawyer-rail button::after {
  content: none !important;
  display: none !important;
}

.lawyer-rail img {
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  object-position: center top !important;
  background: #edf0f3 !important;
}

.lawyer-rail button.active,
.lawyer-rail button:hover {
  border-color: rgba(255, 138, 18, .36) !important;
  background: rgba(255, 138, 18, .035) !important;
  transform: translateY(-2px) !important;
}

.footer-contact-panel {
  align-content: end !important;
}

.footer-contact-panel address {
  margin-top: clamp(42px, 6vw, 88px) !important;
  gap: 14px !important;
}

.footer-contact-panel address a,
.footer-contact-panel address .contact-row {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  color: rgba(35, 24, 21, .60) !important;
  line-height: 1.55 !important;
}

.footer-contact-panel address a::before,
.footer-contact-panel address span::before {
  content: none !important;
  display: none !important;
}

.footer-contact-panel address a > span,
.footer-contact-panel address .contact-row > span {
  padding: 0 !important;
  border: 0 !important;
}

.contact-icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  border: 1px solid rgba(255, 138, 18, .24);
  border-radius: 999px;
  color: var(--orange-deep);
  background: rgba(255, 255, 255, .68);
}

.profile-page,
.article-page {
  width: min(1120px, calc(100vw - 48px));
}

.profile-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.profile-meta span,
.article-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(35, 24, 21, .10);
  border-radius: 999px;
  color: rgba(35, 24, 21, .58);
  font-size: 12px;
  font-weight: 680;
}

.profile-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.profile-panel,
.article-panel,
.article-callout {
  padding: 24px;
  border: 1px solid rgba(35, 24, 21, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.profile-panel h2,
.article-panel h2,
.article-callout h2,
.article-section h2 {
  margin: 0 0 14px;
  color: #231815;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 760;
}

.profile-panel ul,
.article-panel ul,
.article-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-panel li,
.article-panel li,
.article-section li {
  position: relative;
  padding-left: 16px;
  color: rgba(35, 24, 21, .66);
  line-height: 1.8;
}

.profile-panel li::before,
.article-panel li::before,
.article-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--orange-deep);
}

.profile-note,
.article-lead {
  margin-top: 28px !important;
  color: rgba(35, 24, 21, .72) !important;
  font-size: 18px !important;
  line-height: 1.95 !important;
}

.article-page article {
  max-width: 900px;
}

.article-page article > img {
  margin: 34px 0 8px;
}

.article-toc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(35, 24, 21, .10);
  border-radius: 8px;
  background: rgba(35, 24, 21, .08);
}

.article-toc a {
  padding: 18px 20px;
  background: rgba(255, 255, 255, .86);
  color: rgba(35, 24, 21, .68);
  font-size: 14px;
  font-weight: 720;
}

.article-section {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(35, 24, 21, .10);
}

.article-section p,
.article-callout p {
  margin-top: 14px !important;
}

.article-callout {
  margin-top: 38px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 138, 18, .08), transparent 28%),
    rgba(255, 255, 255, .78);
}

@media (max-width: 980px) {
  #services .section-head p {
    white-space: normal;
  }

  .service-list,
  .profile-grid,
  .article-grid {
    grid-template-columns: 1fr !important;
  }

  .article-toc {
    grid-template-columns: 1fr;
  }

  .lawyer-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .service-industries {
    margin-bottom: 34px !important;
  }

  .service-industries span {
    font-size: 12px !important;
    padding: 7px 11px !important;
  }

  .service-item {
    padding: 24px 0 30px !important;
  }

  .lawyer-rail button {
    min-height: 52px !important;
    padding: 8px 12px !important;
  }

  .footer-contact-panel address {
    margin-top: 20px !important;
  }

  .profile-grid,
  .article-grid {
    gap: 12px;
  }

  .profile-panel,
  .article-panel,
  .article-callout {
    padding: 18px;
  }
}

/* Mankun motion layer */
.motion-ready .site-frame {
  animation: frame-in 680ms cubic-bezier(.2, .75, .25, 1) both;
}

.motion-ready .site-header {
  animation: nav-drop 620ms cubic-bezier(.2, .75, .25, 1) 90ms both;
}

.hero {
  --mx: 72%;
  --my: 34%;
  transition: background 360ms ease;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(245, 144, 29, .18), transparent 20%),
    radial-gradient(circle at calc(var(--mx) - 16%) calc(var(--my) + 18%), rgba(37, 53, 141, .10), transparent 24%);
  opacity: .86;
  transition: opacity 260ms ease;
}

.hero-content {
  animation: hero-copy-in 780ms cubic-bezier(.2, .75, .25, 1) 160ms both;
}

.hero-content h1 {
  animation: hero-title-in 900ms cubic-bezier(.2, .75, .25, 1) 220ms both;
}

.hero-text,
.hero-actions {
  animation: hero-copy-in 760ms cubic-bezier(.2, .75, .25, 1) both;
}

.hero-text {
  animation-delay: 360ms;
}

.hero-actions {
  animation-delay: 480ms;
}

.button,
.nav-cta,
.icon-button,
.lang,
.service-item,
.persona,
.prompt-list button,
.segmented button,
.code-head button,
.chat-form button {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 8%, rgba(255, 255, 255, .38), transparent 42%);
  opacity: 0;
  transform: translateX(-115%);
}

.button:hover,
.nav-cta:hover,
.icon-button:hover,
.lang:hover,
.chat-form button:hover,
.code-head button:hover {
  transform: translateY(-2px);
}

.button:hover::before {
  opacity: 1;
  animation: button-sheen 980ms ease;
}

.desktop-nav a::after {
  left: 20%;
  right: 20%;
  opacity: 0;
  transform: scaleX(.6);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.mobile-panel.open,
.search-panel.open {
  animation: panel-in 220ms ease both;
}

.service-industries span,
.experience-band span {
  animation: industry-float 5.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -230ms);
}

.position-grid article,
.service-item,
.flow-grid article,
.lawyer-card,
.article-grid article,
.intake-panel,
.chat-panel,
.developer-shell,
.code-panel {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.position-grid article::after,
.service-item::after,
.flow-grid article::before,
.lawyer-card::after,
.article-grid article::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(37, 53, 141, .68), rgba(15, 107, 93, .58));
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: left;
  transition: opacity 220ms ease, transform 220ms ease;
}

.position-grid article:hover,
.service-item:hover,
.service-item.active,
.flow-grid article:hover,
.lawyer-card:hover,
.article-grid article:hover {
  z-index: 2;
  transform: translateY(-4px);
  border-color: rgba(245, 144, 29, .18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(251, 252, 253, .96)),
    radial-gradient(circle at 12% 0%, rgba(245, 144, 29, .075), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(37, 53, 141, .10), transparent 44%);
  box-shadow: 0 26px 64px rgba(35, 24, 21, .105);
}

.position-grid article:hover::after,
.service-item:hover::after,
.service-item.active::after,
.flow-grid article:hover::before,
.lawyer-card:hover::after,
.article-grid article:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-item.active {
  box-shadow: none;
}

.lawyer-card img,
.article-grid img {
  transition: transform 420ms ease, filter 420ms ease;
}

.lawyer-card:hover img,
.article-grid article:hover img {
  transform: scale(1.035);
  filter: saturate(1.02);
}

.article-grid img {
  animation: slow-drift 16s ease-in-out infinite alternate;
}

.message {
  animation: message-in 260ms ease both;
}

.content-swap {
  animation: content-swap 360ms cubic-bezier(.2, .75, .25, 1) both;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms ease var(--reveal-delay, 0ms), transform 720ms ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes frame-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes nav-drop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes button-sheen {
  0% {
    transform: translateX(-115%);
  }
  100% {
    transform: translateX(115%);
  }
}

@keyframes industry-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes slow-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1.8%, -1%, 0);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes content-swap {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Service proof, cards, team, and content hub refinement */
.service-section {
  padding-top: 108px;
  padding-bottom: 54px;
}

.service-item {
  grid-template-rows: auto auto auto;
  min-height: 286px;
  padding: 24px 28px 22px;
}

.service-item .service-id {
  display: inline-block;
  color: var(--orange-deep);
  font-size: 15px;
  font-weight: 780;
  line-height: 1;
}

.service-item strong {
  display: inline;
  margin: 0 0 0 14px;
  color: #231815;
  font-size: clamp(20px, 1.65vw, 23px);
  line-height: 1.22;
  font-weight: 560;
  vertical-align: baseline;
}

.service-item small {
  display: block;
  margin-top: 16px;
  color: rgba(35, 24, 21, .58);
  font-size: 14px;
  line-height: 1.62;
}

.service-item ul {
  gap: 7px;
  margin-top: 16px;
}

.proof-section {
  position: relative;
  padding-top: 62px;
  padding-bottom: 92px;
  background:
    radial-gradient(circle at 86% 18%, rgba(37, 53, 141, .11), transparent 26%),
    radial-gradient(circle at 12% 74%, rgba(245, 144, 29, .05), transparent 25%),
    linear-gradient(180deg, #f8fafb 0%, #fff 100%);
}

.section-head.compact {
  align-items: start;
}

.proof-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.proof-stat-grid article {
  position: relative;
  min-height: 188px;
  padding: 28px 20px 24px;
  overflow: visible;
  border: 1px solid rgba(35, 24, 21, .045);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(250, 252, 253, .92)),
    radial-gradient(circle at 98% 100%, rgba(37, 53, 141, .055), transparent 42%);
  box-shadow: 0 18px 44px rgba(35, 24, 21, .055);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.proof-stat-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .35), transparent 44%);
  opacity: .72;
  pointer-events: none;
}

.proof-stat-grid article::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 144, 29, 0), rgba(245, 144, 29, .62), rgba(37, 53, 141, .48), rgba(15, 107, 93, 0));
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: left;
  transition: opacity 220ms ease, transform 220ms ease;
}

.proof-stat-grid article:hover,
.proof-stat-grid article:focus {
  z-index: 5;
  border-color: rgba(245, 144, 29, .2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(248, 251, 253, .96)),
    radial-gradient(circle at 12% 0%, rgba(245, 144, 29, .07), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(37, 53, 141, .12), transparent 44%);
  box-shadow: 0 26px 64px rgba(35, 24, 21, .105);
  transform: translateY(-4px);
}

.proof-stat-grid article:hover::after,
.proof-stat-grid article:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

.proof-stat-grid strong {
  position: relative;
  z-index: 1;
  display: block;
  color: transparent;
  background: linear-gradient(120deg, #231815, #25358d 64%, #d86d00);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.proof-stat-grid span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: #231815;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.45;
}

.proof-stat-grid p {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: rgba(35, 24, 21, .54);
  font-size: 12px;
  line-height: 1.7;
}

.stat-detail-panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  z-index: 12;
  display: grid;
  width: min(330px, calc(100vw - 72px));
  gap: 7px;
  padding: 16px 16px 17px;
  border: 1px solid rgba(35, 24, 21, .075);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 251, 253, .96)),
    radial-gradient(circle at 14% 0%, rgba(245, 144, 29, .08), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(37, 53, 141, .11), transparent 44%);
  box-shadow: 0 24px 72px rgba(35, 24, 21, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(.985);
  transform-origin: 50% 100%;
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.stat-detail-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(35, 24, 21, .075);
  border-bottom: 1px solid rgba(35, 24, 21, .075);
  background: rgba(255, 255, 255, .96);
  transform: translateX(-50%) rotate(45deg);
}

.proof-stat-grid article:first-child .stat-detail-panel {
  left: 0;
  transform: translate(0, 8px) scale(.985);
}

.proof-stat-grid article:first-child .stat-detail-panel::after {
  left: 52px;
}

.proof-stat-grid article:last-child .stat-detail-panel {
  right: 0;
  left: auto;
  transform: translate(0, 8px) scale(.985);
}

.proof-stat-grid article:last-child .stat-detail-panel::after {
  right: 52px;
  left: auto;
}

.proof-stat-grid article:hover .stat-detail-panel,
.proof-stat-grid article:focus .stat-detail-panel {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.proof-stat-grid article:first-child:hover .stat-detail-panel,
.proof-stat-grid article:first-child:focus .stat-detail-panel,
.proof-stat-grid article:last-child:hover .stat-detail-panel,
.proof-stat-grid article:last-child:focus .stat-detail-panel {
  transform: translate(0, 0) scale(1);
}

.stat-detail-panel b {
  position: relative;
  z-index: 1;
  display: block;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(35, 24, 21, .08);
  color: #231815;
  font-size: 13px;
  font-weight: 700;
}

.stat-detail-panel small {
  position: relative;
  z-index: 1;
  display: block;
  padding-left: 12px;
  color: rgba(35, 24, 21, .66);
  font-size: 11px;
  line-height: 1.5;
}

.stat-detail-panel small::before {
  content: "";
  position: absolute;
  left: 0;
  top: .64em;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
}

.lawyer-showcase {
  display: grid;
  gap: 18px;
}

.lawyer-pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.lawyer-card.feature-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 30px;
  min-height: 344px;
  padding: 22px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 8px;
  background: #fbfcfd;
}

.portrait-button {
  width: 100%;
  min-height: 300px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #f0ede8;
  cursor: pointer;
}

.portrait-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95);
  transition: transform 260ms ease;
}

.lawyer-card:hover .portrait-button img {
  transform: scale(1.035);
}

.lawyer-card.feature-card > div > span,
.team-support span {
  color: rgba(35, 24, 21, .54);
  font-size: 13px;
  line-height: 1.6;
}

.lawyer-card.feature-card h3 {
  margin-top: 18px;
  color: #231815;
  font-size: 32px;
  font-weight: 560;
}

.lawyer-card.feature-card p {
  margin-top: 20px;
  min-height: 0;
  color: rgba(35, 24, 21, .62);
  font-size: 15px;
  line-height: 1.86;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.focus-list small {
  padding: 6px 10px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 999px;
  color: rgba(35, 24, 21, .62);
  font-size: 12px;
}

.profile-link {
  display: inline-block;
  margin-top: 28px;
  color: #231815;
  font-size: 14px;
  font-weight: 650;
}

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

.lawyer-rail button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  background: #fff;
  color: rgba(35, 24, 21, .66);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.lawyer-rail button:hover,
.lawyer-rail button.active {
  transform: translateY(-2px);
  border-color: rgba(245, 144, 29, .28);
  color: #231815;
  background: #fffaf5;
}

.lawyer-rail img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
}

.team-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(35, 24, 21, .1);
  background: rgba(35, 24, 21, .1);
}

.team-support article {
  padding: 22px 24px;
  background: #fff;
}

.team-support h3 {
  margin-top: 10px;
  color: #231815;
  font-size: 24px;
  font-weight: 560;
}

.team-support p {
  margin-top: 12px;
  color: rgba(35, 24, 21, .62);
  font-size: 14px;
  line-height: 1.75;
}

.content-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.content-hub article {
  display: grid;
  align-content: start;
  min-height: 486px;
  padding: 24px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(250, 252, 253, .9)),
    radial-gradient(circle at 100% 0%, rgba(37, 53, 141, .06), transparent 34%);
  box-shadow: 0 20px 48px rgba(35, 24, 21, .045);
}

.content-hub article > span {
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 760;
}

.content-hub button {
  display: grid;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, padding-left 180ms ease;
}

.content-hub button:hover {
  color: var(--orange-deep);
}

.content-hub strong {
  color: rgba(35, 24, 21, .76);
  font-size: 15px;
  font-weight: 540;
  line-height: 1.5;
}

.content-hub small {
  color: rgba(35, 24, 21, .42);
  font-size: 13px;
  white-space: nowrap;
}

.content-hub .insight-feature {
  gap: 14px;
  margin-top: 22px;
  min-height: 258px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--soft-line);
}

.insight-feature img {
  width: 100%;
  aspect-ratio: 1.82 / 1;
  border-radius: 6px;
  object-fit: cover;
  filter: saturate(.92);
  animation: slow-drift 16s ease-in-out infinite alternate;
}

.content-hub .insight-feature strong {
  color: #231815;
  font-size: 18px;
  line-height: 1.45;
}

.content-hub .insight-row {
  grid-template-columns: 1fr auto;
  gap: 16px;
  min-height: 66px;
  padding: 14px 0;
  border-bottom: 1px solid var(--soft-line);
}

.content-hub .insight-row:hover {
  padding-left: 8px;
}

@media (max-width: 1120px) {
  .proof-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lawyer-pair,
  .content-hub {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .proof-stat-grid,
  .lawyer-pair,
  .lawyer-rail,
  .team-support,
  .content-hub {
    grid-template-columns: 1fr;
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
  }

  .lawyer-card.feature-card {
    grid-template-columns: 1fr;
  }

  .portrait-button {
    min-height: 0;
  }
}

/* Homepage service cards and industry motion refinement */
.service-industries {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 22px 24px 30px;
  border-radius: 8px;
}

.service-industries::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(245, 144, 29, .06), transparent 32%),
    linear-gradient(245deg, rgba(37, 53, 141, .055), transparent 34%),
    rgba(255, 255, 255, .52);
  opacity: .92;
}

.service-industries::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -34%;
  width: 28%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .72), transparent);
  animation: sheen-pass 7.2s ease-in-out infinite;
}

.service-industries span {
  position: relative;
  overflow: hidden;
  opacity: 1;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.motion-ready .service-industries span:not(:hover) {
  opacity: 0;
  animation:
    industry-float 5.2s ease-in-out infinite,
    bubble-fade 680ms ease forwards;
  animation-delay:
    calc(var(--i, 0) * -230ms),
    calc(var(--i, 0) * 52ms);
}

.service-industries span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, .7), transparent 48%);
  opacity: 0;
  transform: translateX(-120%);
}

.service-industries span:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 144, 29, .28);
  color: #231815;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 42px rgba(35, 24, 21, .09);
}

.service-industries span:hover::after {
  opacity: 1;
  animation: button-sheen 900ms ease;
}

.service-item {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  min-height: 318px;
}

.service-item .service-id {
  display: block;
  color: var(--orange-deep);
  font-size: 15px;
  font-weight: 780;
  line-height: 1;
}

.service-item strong {
  display: block;
  margin-top: 26px;
  color: #231815;
  font-size: 25px;
  line-height: 1.28;
  font-weight: 650;
}

.service-item small {
  margin-top: 18px;
}

.service-item ul {
  display: grid;
  gap: 7px;
  align-self: start;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-item li {
  position: relative;
  padding-left: 15px;
  color: rgba(35, 24, 21, .62);
  font-size: 13px;
  line-height: 1.55;
}

.service-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
}

.service-item span:not(.service-id) {
  font-size: inherit;
}

.ai-hero {
  min-height: 620px;
}

@keyframes sheen-pass {
  0%,
  42% {
    transform: translateX(0);
    opacity: 0;
  }
  52% {
    opacity: .75;
  }
  72%,
  100% {
    transform: translateX(520%);
    opacity: 0;
  }
}

@keyframes bubble-fade {
  from {
    opacity: 0;
    filter: blur(6px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .reveal,
  .service-industries span {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Annotation polish pass: header, proof metrics, services, team, insights, footer */
.header-actions {
  gap: 12px;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(36px, auto));
  align-items: center;
  min-height: 40px;
  padding: 3px;
  border: 1px solid rgba(35, 24, 21, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(16px);
}

.language-toggle a {
  min-width: 36px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(35, 24, 21, .56);
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.language-toggle a:hover {
  color: #231815;
}

.language-toggle a.active {
  background: #231815;
  color: #fff;
}

.nav-cta {
  min-width: 118px;
  padding: 0 18px;
  color: #231815;
  background: rgba(255, 255, 255, .72);
}

.service-section {
  padding-bottom: 70px;
}

.service-industries {
  margin: -14px auto 46px;
  padding: 18px 22px 24px;
}

.service-industries p {
  margin-top: 10px;
  line-height: 1.62;
}

.service-industries div {
  gap: 9px 12px;
  margin-top: 16px;
}

.service-industries span {
  min-height: 34px;
}

.service-list {
  margin-top: 0;
}

.service-item {
  min-height: 268px;
  padding: 22px 26px 20px;
  box-shadow: none;
}

.service-item strong {
  margin-top: 22px;
  font-size: 23px;
}

.service-item small {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.58;
}

.service-item ul {
  gap: 6px;
  margin-top: 14px;
}

.service-item li {
  line-height: 1.48;
}

.service-item.active {
  transform: none;
  border-color: transparent;
  background: #fff;
  box-shadow: none;
}

.service-item.active::after {
  opacity: 0;
  transform: scaleX(.35);
}

.service-item:hover {
  z-index: 2;
  transform: translateY(-4px);
  border-color: rgba(245, 144, 29, .18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(251, 252, 253, .96)),
    radial-gradient(circle at 12% 0%, rgba(245, 144, 29, .075), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(37, 53, 141, .10), transparent 44%);
  box-shadow: 0 26px 64px rgba(35, 24, 21, .105);
}

.service-item:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

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

.proof-stat-grid article {
  min-height: 198px;
}

.lawyer-card.feature-card {
  grid-template-columns: 164px 1fr;
  gap: 24px;
  min-height: 286px;
  padding: 18px;
}

.portrait-button {
  align-self: start;
  height: 230px;
  min-height: 230px;
}

.lawyer-card.feature-card h3 {
  margin-top: 12px;
  font-size: 28px;
}

.lawyer-card.feature-card p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.72;
}

.focus-list {
  margin-top: 16px;
}

.profile-link {
  margin-top: 20px;
}

.lawyer-card.feature-card .portrait-button img {
  min-height: 0;
}

.content-hub article {
  min-height: 462px;
}

.insight-feature img {
  aspect-ratio: 1.92 / 1;
  filter: saturate(.96) contrast(1.02);
}

.content-hub article:nth-child(1) .insight-feature img {
  object-position: center 46%;
}

.content-hub article:nth-child(2) .insight-feature img {
  object-position: center 58%;
}

.content-hub article:nth-child(3) .insight-feature img {
  object-position: center 52%;
}

.site-footer {
  padding: 76px 76px 28px;
  border-top: 1px solid rgba(35, 24, 21, .08);
  background:
    radial-gradient(circle at 86% 16%, rgba(245, 144, 29, .07), transparent 26%),
    linear-gradient(180deg, #fff 0%, #fbfcfd 72%, #f7f8f9 100%);
  color: #231815;
}

.footer-main {
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, .82fr);
  gap: clamp(56px, 7vw, 110px);
  align-items: start;
}

.footer-about {
  max-width: 760px;
}

.footer-about > span {
  display: block;
  color: rgba(35, 24, 21, .62);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-about h2 {
  margin-top: 18px;
  color: #231815;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 500;
  line-height: 1.12;
}

.footer-main p {
  max-width: none;
  margin-top: 28px;
  color: rgba(35, 24, 21, .66);
  font-size: 16px;
  line-height: 2;
}

.footer-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.footer-locations small {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(35, 24, 21, .64);
  background: rgba(255, 255, 255, .74);
  font-size: 13px;
  font-weight: 650;
}

.footer-locations small::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--orange);
}

.footer-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 34px;
  align-items: start;
  padding-top: 9px;
}

.footer-contact-panel address {
  gap: 0;
  border-top: 1px solid rgba(35, 24, 21, .12);
}

.footer-contact-panel address strong {
  padding: 22px 0 16px;
  border-bottom: 1px solid rgba(35, 24, 21, .08);
}

.footer-contact-panel address a,
.footer-contact-panel address span {
  padding: 14px 0;
  border-bottom: 1px solid rgba(35, 24, 21, .08);
  color: rgba(35, 24, 21, .62);
  font-size: 14px;
  line-height: 1.55;
}

address strong,
.qr-block span {
  color: #231815;
}

.qr-block img {
  width: 118px;
  height: 118px;
  border: 1px solid rgba(35, 24, 21, .08);
  border-radius: 8px;
}

.footer-bottom {
  margin-top: 68px;
  border-top-color: rgba(35, 24, 21, .08);
  color: rgba(35, 24, 21, .42);
}

@media (max-width: 1120px) {
  .proof-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lawyer-card.feature-card {
    grid-template-columns: 150px 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-contact-panel {
    grid-template-columns: minmax(0, 1fr) 128px;
  }

  .portrait-button {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .language-toggle,
  .nav-cta {
    display: none;
  }

  .proof-stat-grid {
    grid-template-columns: 1fr;
  }

  .service-industries {
    margin-bottom: 34px;
    padding: 18px;
  }

  .service-item {
    min-height: auto;
  }

  .lawyer-card.feature-card {
    grid-template-columns: 1fr;
  }

  .portrait-button {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .site-footer {
    padding: 54px 18px 24px;
  }

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

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

  .footer-main p {
    font-size: 15px;
  }

  .qr-block {
    justify-items: start;
  }
}

/* Final footer and AI brand-color overrides */
footer#contact .footer-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr) !important;
  gap: clamp(56px, 7vw, 108px) !important;
  align-items: start !important;
}

footer#contact .footer-contact-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 128px !important;
  gap: 34px !important;
  align-items: start !important;
}

footer#contact .footer-main > .footer-about {
  max-width: 760px;
}

footer#contact .footer-main img[src*="mankun-logo"] {
  display: none !important;
}

.ai-hero .button.primary {
  border: 1px solid rgba(245, 144, 29, .56);
  background:
    linear-gradient(135deg, #f5901d 0%, #e87f12 48%, #b95500 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(245, 144, 29, .18), 0 10px 28px rgba(35, 24, 21, .10);
}

.ai-hero .button.primary:hover {
  border-color: rgba(245, 144, 29, .72);
  box-shadow: 0 22px 54px rgba(245, 144, 29, .22), 0 12px 32px rgba(35, 24, 21, .12);
}

@media (max-width: 1120px) {
  footer#contact .footer-main {
    grid-template-columns: 1fr !important;
    gap: 38px !important;
  }
}

@media (max-width: 760px) {
  footer#contact .footer-contact-panel {
    grid-template-columns: 1fr !important;
  }
}

/* Final section-heading alignment and service content pass */
main > .section > .section-head {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  gap: 34px !important;
  align-items: start !important;
  max-width: 1120px !important;
  margin: 0 0 48px !important;
}

main > .section > .section-head .section-index {
  display: block !important;
  margin: .58em 0 0 !important;
  color: var(--orange-deep) !important;
  font-size: 14px !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
}

main > .section > .section-head > div {
  min-width: 0;
}

main > .section > .section-head h2 {
  margin: 0 !important;
}

main > .section > .section-head p:not(.section-index) {
  max-width: 760px !important;
  margin-top: 18px !important;
}

.service-section .section-head {
  margin-bottom: 34px !important;
}

.service-industries {
  margin-top: 0 !important;
}

.service-item {
  min-height: 292px;
}

.service-item:focus,
.service-item:focus-visible {
  outline: none;
}

.service-item ul {
  gap: 5px;
}

.team-section {
  padding-bottom: 112px;
}

.experience-band {
  display: none !important;
}

@media (max-width: 760px) {
  main > .section > .section-head {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: 12px !important;
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    margin-bottom: 34px !important;
  }

  main > .section > .section-head .section-index {
    margin-top: .78em !important;
    font-size: 12px !important;
  }

  main > .section > .section-head h2,
  main > .section > .section-head p:not(.section-index) {
    width: auto !important;
    max-width: 100% !important;
  }
}

/* v1.1.1 final cascade guard */
#services {
  background: radial-gradient(circle at 76% 14%, rgba(255, 138, 18, .055), transparent 28%), linear-gradient(180deg, #fff 0%, #fbfbfb 100%) !important;
}

#services .section-head {
  margin-bottom: 34px !important;
}

#services .section-head p {
  max-width: 1000px !important;
  white-space: nowrap;
}

.service-industries {
  width: min(100%, 1060px) !important;
  margin: 0 auto 54px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.service-industries::before,
.service-industries::after,
.service-industries span::after {
  content: none !important;
  display: none !important;
}

.service-industries strong {
  display: block !important;
  margin-bottom: 18px !important;
  color: var(--orange-deep) !important;
  font-size: 16px !important;
  text-align: left !important;
}

.service-industries p {
  display: none !important;
}

.service-industries div {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 10px 12px !important;
}

.service-industries span {
  width: auto !important;
  min-width: 0 !important;
  padding: 8px 14px !important;
  border: 1px solid rgba(35, 24, 21, .12) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: none !important;
  color: rgba(35, 24, 21, .62) !important;
  font-size: 13px !important;
}

.motion-ready .service-industries span:not(:hover) {
  opacity: 1 !important;
  animation: none !important;
}

.service-layout,
.service-list {
  width: min(100%, 1060px) !important;
  margin: 0 auto !important;
  border: 0 !important;
  background: transparent !important;
}

.service-list {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 48px !important;
}

.service-item {
  min-height: 0 !important;
  padding: 28px 0 34px !important;
  border: 0 !important;
  border-top: 1px solid rgba(35, 24, 21, .10) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.service-item .service-id,
.service-item strong {
  display: inline !important;
  margin: 0 !important;
  font-size: clamp(20px, 1.75vw, 25px) !important;
  line-height: 1.35 !important;
}

.service-item .service-id {
  margin-right: 12px !important;
}

.service-item.active:not(:hover)::after {
  opacity: 0 !important;
}

.lawyer-rail {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.lawyer-rail button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 58px !important;
  padding: 10px 18px !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: none !important;
}

.lawyer-rail button::before,
.lawyer-rail button::after {
  content: none !important;
  display: none !important;
}

.lawyer-rail img {
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.footer-contact-panel address {
  margin-top: clamp(42px, 6vw, 88px) !important;
}

.footer-contact-panel address a,
.footer-contact-panel address .contact-row {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
}

.footer-contact-panel address a::before,
.footer-contact-panel address span::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 980px) {
  #services .section-head p {
    white-space: normal;
  }

  .service-list {
    grid-template-columns: 1fr !important;
  }

  .lawyer-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Final homepage refinement pass: navigation, spacing, partners, team, insights, footer */
.desktop-nav {
  gap: clamp(18px, 2vw, 30px);
}

.desktop-nav a span {
  white-space: nowrap;
}

.header-actions .nav-cta {
  display: none !important;
}

.button.primary {
  border: 1px solid rgba(216, 109, 0, .24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .42), rgba(245, 144, 29, .78) 46%, rgba(184, 96, 18, .78)),
    linear-gradient(135deg, #f7c987, #d8842a);
  color: #fff;
  box-shadow: 0 18px 40px rgba(184, 96, 18, .13), 0 8px 26px rgba(35, 24, 21, .08);
}

.button.primary::before {
  opacity: .28;
}

main > .section {
  padding-top: 78px;
  padding-bottom: 78px;
}

main > .section + .section {
  margin-top: 0;
}

main > .section > .section-head {
  display: block !important;
  max-width: 1120px !important;
  margin: 0 0 34px !important;
}

main > .section > .section-head .section-index {
  display: none !important;
}

main > .section > .section-head p:not(.section-index) {
  max-width: none !important;
  margin-top: 12px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-section {
  padding-bottom: 64px !important;
}

.service-item {
  display: block !important;
  min-height: 268px;
}

.service-item .service-id,
.service-item strong {
  display: inline;
  margin: 0;
  vertical-align: baseline;
}

.service-item .service-id {
  margin-right: 12px;
  color: var(--orange-deep);
  font-size: 22px;
  font-weight: 620;
}

.service-item strong {
  color: #231815;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 650;
}

.service-item small {
  margin-top: 18px;
}

.partners-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(245, 144, 29, .065), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.partner-wall {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.partner-wall img {
  display: block;
  width: 100%;
  height: clamp(68px, 6vw, 84px);
  min-height: 0;
  object-fit: contain;
  padding: 8px 10px;
  border: 1px solid rgba(35, 24, 21, .08);
  border-radius: 6px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 32px rgba(35, 24, 21, .035);
  filter: saturate(.96);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.partner-wall img:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 144, 29, .22);
  box-shadow: 0 18px 42px rgba(35, 24, 21, .08);
}

.team-section {
  padding-top: 78px;
  padding-bottom: 82px;
}

.lawyer-showcase {
  position: relative;
}

.lawyer-card.feature-card {
  cursor: pointer;
}

.team-controls {
  position: absolute;
  left: -56px;
  right: -56px;
  top: 50%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.team-controls button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(35, 24, 21, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: #231815;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 12px 30px rgba(35, 24, 21, .08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.team-controls button:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 144, 29, .3);
  background: #fffaf5;
}

.insights-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.content-hub a {
  color: inherit;
}

.content-hub .insight-feature,
.content-hub .insight-row {
  display: grid;
  width: 100%;
  text-align: left;
  transition: color 180ms ease, padding-left 180ms ease;
}

.content-hub .insight-feature:hover,
.content-hub .insight-row:hover {
  color: var(--orange-deep);
}

.insight-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #f6f4ef;
}

.insight-image-wrap > img {
  display: block;
}

.insight-image-wrap em {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-width: 92px;
  max-width: 112px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(10px);
}

.insight-image-wrap em img {
  width: 100%;
  height: auto;
}

.insight-image-wrap em {
  display: none !important;
}

.insight-image-wrap::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 138, 18, .58);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 138, 18, .92) 0 3px, transparent 3.5px),
    rgba(255, 255, 255, .08);
  box-shadow: 0 8px 22px rgba(255, 138, 18, .16);
  backdrop-filter: blur(6px);
}

.site-footer {
  padding: 74px 76px 30px !important;
  background:
    radial-gradient(circle at 78% 20%, rgba(245, 144, 29, .055), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f9fafb 100%) !important;
}

footer#contact .footer-main {
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, .75fr) 132px !important;
  gap: clamp(34px, 5vw, 72px) !important;
  max-width: 1160px;
  margin: 0 auto;
}

footer#contact .footer-main > .footer-about {
  max-width: 640px;
}

.footer-contact-panel {
  display: contents !important;
}

.footer-contact-panel address {
  display: grid;
  gap: 12px;
  border-top: 0 !important;
}

.footer-contact-panel address strong {
  padding: 0 0 10px !important;
  border-bottom: 0 !important;
}

.footer-contact-panel address a,
.footer-contact-panel address span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 !important;
  border-bottom: 0 !important;
}

.footer-contact-panel address a::before,
.footer-contact-panel address span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(245, 144, 29, .72);
}

.qr-block {
  align-self: end;
  justify-items: center;
  padding-top: 52px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1160px;
  margin: 50px auto 0 !important;
  padding-top: 18px;
  text-align: center;
}

@media (max-width: 1120px) {
  .partner-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  footer#contact .footer-main {
    grid-template-columns: 1fr !important;
  }

  .footer-contact-panel {
    display: grid !important;
    grid-template-columns: 1fr 132px !important;
  }
}

@media (max-width: 760px) {
  main > .section {
    padding: 58px 18px;
  }

  .site-footer {
    padding: 58px 18px 24px !important;
  }

  footer#contact .footer-main {
    max-width: 100%;
  }

  main > .section > .section-head p:not(.section-index) {
    white-space: normal;
  }

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

  .service-item .service-id,
  .service-item strong {
    font-size: 20px;
  }

  .team-controls {
    position: static;
    order: -1;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 14px;
    transform: none;
    pointer-events: auto;
  }

  .footer-contact-panel {
    grid-template-columns: 1fr !important;
  }

  .qr-block {
    align-self: start;
    justify-items: start;
    padding-top: 14px;
  }
}

body.subpage {
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 144, 29, .10), transparent 30%),
    linear-gradient(135deg, #111, #1a1a1a);
  color: #231815;
}

.profile-page,
.article-page {
  width: min(1060px, calc(100vw - 48px));
  margin: 34px auto;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 10%, rgba(245, 144, 29, .07), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.back-link {
  display: inline-flex;
  margin-bottom: 42px;
  color: rgba(35, 24, 21, .62);
  font-size: 14px;
  font-weight: 650;
}

.profile-hero {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.profile-hero > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: #f0ede8;
}

.profile-hero span,
.article-page article > span {
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 760;
}

.profile-hero h1,
.article-page h1 {
  margin-top: 14px;
  color: #231815;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.15;
  font-weight: 500;
}

.profile-hero p,
.article-page p {
  margin-top: 22px;
  color: rgba(35, 24, 21, .66);
  font-size: 17px;
  line-height: 1.95;
}

.profile-body {
  margin-top: 58px;
  padding-top: 32px;
  border-top: 1px solid rgba(35, 24, 21, .10);
}

.profile-body h2 {
  font-size: 30px;
}

.profile-body ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: rgba(35, 24, 21, .66);
  line-height: 1.9;
}

.article-page article {
  max-width: 820px;
  margin: 0 auto;
}

.article-page article > img {
  width: 100%;
  margin-top: 34px;
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(35, 24, 21, .12);
}

@media (max-width: 760px) {
  .profile-page,
  .article-page {
    width: min(100vw - 24px, 100%);
    margin: 12px auto;
    padding: 28px 18px;
    border-radius: 18px;
  }

  .profile-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-hero > img {
    max-width: 240px;
  }
}

/* v1.1.0 brand typography, navigation, and mobile overflow pass */
.desktop-nav {
  gap: clamp(22px, 2.7vw, 44px);
}

.desktop-nav > a,
.desktop-nav .nav-dropdown > a {
  display: grid;
  gap: 5px;
  min-width: 78px;
  padding: 10px 0;
  color: rgba(35, 24, 21, .76);
  text-align: center;
}

.desktop-nav a span {
  font-weight: 700;
}

.desktop-nav a small {
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
}

.nav-submenu {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  min-width: 150px;
  padding: 10px;
  border: 1px solid rgba(35, 24, 21, .10);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 48px rgba(35, 24, 21, .10);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.nav-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  display: block;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(35, 24, 21, .72);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.nav-submenu a::after {
  content: none;
}

.nav-submenu a:hover {
  color: #231815;
  background: rgba(255, 138, 18, .08);
}

.hero-content {
  width: min(1080px, 100%);
  max-width: 1080px;
}

.hero-content h1,
main#top .hero h1 {
  max-width: 1080px;
  font-size: clamp(52px, 5.05vw, 68px);
  line-height: 1.14;
  font-weight: 520;
  letter-spacing: 0;
}

.hero-content h1 span {
  display: block;
  white-space: nowrap;
}

.hero-text {
  font-weight: 520;
}

.button,
.desktop-nav a,
.language-toggle a,
.service-item strong,
.lawyer-card h3,
.content-hub strong,
.footer-contact-panel address strong {
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, #ff9a26 0%, #f1840a 56%, #d96d00 100%);
  box-shadow: 0 18px 42px rgba(255, 138, 18, .18), 0 10px 28px rgba(35, 24, 21, .10);
}

@media (max-width: 1120px) {
  .hero-content h1,
  main#top .hero h1 {
    font-size: clamp(42px, 6.6vw, 62px);
  }
}

@media (max-width: 760px) {
  html,
  body,
  .page-shell,
  .site-frame,
  main,
  .hero,
  .section,
  .site-footer {
    width: 100% !important;
    max-width: 100% !important;
  }

  .desktop-nav {
    display: none;
  }

  .hero-content h1,
  main#top .hero h1 {
    max-width: calc(100vw - 36px) !important;
    font-size: clamp(38px, 10vw, 48px);
  }

  .hero-content h1 span {
    white-space: normal;
  }

  .site-footer {
    padding: 58px 18px 24px !important;
  }

  footer#contact .footer-main,
  footer#contact .footer-about,
  footer#contact .footer-contact-panel {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* v1.2.1 homepage interaction and typography refinement */
main > .section > .section-head {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

main > .section > .section-head > div,
main > .section > .section-head h2,
main > .section > .section-head p:not(.section-index) {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

main > .section > .section-head p:not(.section-index) {
  max-width: 1080px !important;
}

.service-industries {
  text-align: center !important;
}

.service-industries strong {
  text-align: center !important;
}

.service-industries div {
  position: relative !important;
  isolation: isolate;
  justify-content: center !important;
  padding: 8px 0 !important;
}

.service-industries div::before {
  content: "" !important;
  position: absolute;
  inset: -26px 8%;
  z-index: -1;
  display: block !important;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 138, 18, .16), transparent 24%),
    radial-gradient(circle at 80% 50%, rgba(37, 53, 141, .10), transparent 24%);
  filter: blur(18px);
  opacity: .72;
  animation: mk-service-glow 7.2s ease-in-out infinite alternate;
}

.service-industries span {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 220ms cubic-bezier(.2, .72, .22, 1), border-color 220ms ease, box-shadow 220ms ease, color 220ms ease, background 220ms ease !important;
  animation: mk-service-pill-in 720ms cubic-bezier(.2, .72, .22, 1) both !important;
  animation-delay: calc(var(--i, 0) * 42ms) !important;
}

.service-industries span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .78) 45%, transparent 66%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 200ms ease;
}

.motion-ready .service-industries span:not(:hover) {
  opacity: 1 !important;
  animation-name: mk-service-pill-in !important;
}

.service-industries span:hover {
  transform: translateY(-4px) scale(1.018) !important;
  border-color: rgba(255, 138, 18, .34) !important;
  background: rgba(255, 255, 255, .92) !important;
  color: rgba(35, 24, 21, .86) !important;
  box-shadow: 0 14px 34px rgba(35, 24, 21, .09), 0 0 0 4px rgba(255, 138, 18, .055) !important;
}

.service-industries span:hover::before {
  opacity: 1;
  animation: mk-service-sheen 850ms cubic-bezier(.2, .72, .22, 1);
}

.lawyer-card.feature-card {
  align-items: start;
}

.lawyer-card.feature-card > div {
  align-self: center;
  display: grid;
  align-content: center;
}

.lawyer-card.feature-card h3 {
  margin: 0 0 10px !important;
}

.lawyer-card.feature-card > div > span {
  order: 2;
  display: block;
  margin: 0 0 18px !important;
  color: rgba(35, 24, 21, .55) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 620 !important;
}

.lawyer-card.feature-card .focus-list {
  order: 3;
  margin-top: 0 !important;
}

.lawyer-card.feature-card p {
  display: none !important;
}

.lawyer-card.feature-card .profile-link {
  margin-top: 34px !important;
}

.lawyer-rail img {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px;
  object-fit: cover !important;
  object-position: center 16% !important;
  background: #eef1f4;
}

.lawyer-rail img[src*="baiqin"] {
  object-position: center 10% !important;
  transform: scale(.86);
}

footer#contact .footer-contact-panel address {
  margin-top: clamp(82px, 9vw, 128px) !important;
}

.footer-locations {
  gap: 12px !important;
}

.footer-locations small {
  min-height: 38px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 0 13px !important;
}

.footer-locations small::before {
  content: none !important;
  display: none !important;
}

.footer-locations svg {
  width: 18px;
  height: 18px;
  color: var(--orange-deep);
}

@keyframes mk-service-pill-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mk-service-sheen {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes mk-service-glow {
  from {
    transform: translateX(-2%) scale(.98);
    opacity: .50;
  }
  to {
    transform: translateX(2%) scale(1.02);
    opacity: .78;
  }
}

@media (max-width: 760px) {
  main > .section > .section-head p:not(.section-index) {
    white-space: normal !important;
  }

  footer#contact .footer-contact-panel address {
    margin-top: 26px !important;
  }
}

/* v1.4.0 Mankun Glass Design v1.3 */
:root {
  --mk-glass: rgba(255, 255, 255, .72);
  --mk-glass-strong: rgba(255, 255, 255, .88);
  --mk-glass-line: rgba(35, 24, 21, .105);
  --mk-glass-shadow: 0 24px 70px rgba(35, 24, 21, .095);
  --mk-blue-soft: rgba(37, 53, 141, .08);
  --mk-orange-soft: rgba(255, 138, 18, .12);
}

body {
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 138, 18, .18), transparent 25%),
    radial-gradient(circle at 18% 10%, rgba(37, 53, 141, .075), transparent 26%),
    linear-gradient(180deg, #faf9f7 0%, #f1efeb 100%) !important;
}

.page-shell {
  padding: 18px 24px 34px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.74), rgba(247,246,243,.84)),
    radial-gradient(circle at 80% 18%, rgba(255, 138, 18, .12), transparent 28%) !important;
}

.site-frame {
  position: relative !important;
  border: 1px solid rgba(35, 24, 21, .075) !important;
  border-radius: 30px !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 30px 90px rgba(35, 24, 21, .11) !important;
  overflow: clip !important;
}

.site-header {
  position: absolute !important;
  top: 42px !important;
  left: clamp(42px, 6.2vw, 74px) !important;
  right: clamp(42px, 6.2vw, 74px) !important;
  z-index: 60 !important;
  width: auto !important;
  min-height: 74px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.desktop-nav {
  gap: clamp(18px, 2.8vw, 42px) !important;
}

.desktop-nav a,
.nav-dropdown > a {
  min-height: 42px !important;
  padding: 6px 2px !important;
}

.desktop-nav a::after,
.nav-dropdown > a::after {
  bottom: 0 !important;
  background: linear-gradient(90deg, var(--orange), rgba(37, 53, 141, .48)) !important;
}

.language-toggle {
  border-color: rgba(35, 24, 21, .11) !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.hero {
  min-height: clamp(620px, 70vh, 760px) !important;
  margin-top: 0 !important;
  padding: 210px clamp(48px, 7.4vw, 96px) 96px !important;
  background:
    radial-gradient(circle at var(--mx, 74%) var(--my, 28%), rgba(255, 138, 18, .22), transparent 26%),
    radial-gradient(circle at 18% 18%, rgba(37, 53, 141, .075), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbfaf8 52%, #f3f0ea 100%) !important;
}

.hero::before {
  opacity: 0 !important;
  background: none !important;
}

.hero::after {
  height: 1px !important;
  background: linear-gradient(90deg, var(--orange), rgba(37, 53, 141, .42), transparent) !important;
}

.hero-content {
  max-width: 980px !important;
}

.hero-content h1,
main#top .hero h1 {
  max-width: 980px !important;
  color: #241814 !important;
  font-size: clamp(50px, 6.1vw, 78px) !important;
  line-height: 1.08 !important;
  font-weight: 560 !important;
}

.hero-text {
  max-width: 720px !important;
  color: rgba(35, 24, 21, .68) !important;
  font-size: clamp(16px, 1.28vw, 20px) !important;
  line-height: 1.95 !important;
  font-weight: 620 !important;
}

.button {
  border-radius: 999px !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease !important;
}

.button.primary {
  border-color: rgba(217, 109, 0, .26) !important;
  background: linear-gradient(135deg, #ffad52 0%, #f18712 58%, #d87000 100%) !important;
  box-shadow: 0 18px 38px rgba(217, 109, 0, .18), inset 0 1px 0 rgba(255,255,255,.34) !important;
}

.button.secondary {
  background: rgba(255,255,255,.78) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.button:hover {
  transform: translateY(-2px) !important;
}

.section {
  padding-top: clamp(72px, 8vw, 112px) !important;
  padding-bottom: clamp(72px, 8vw, 112px) !important;
}

.section-head {
  margin-bottom: 42px !important;
}

.section-head h2 {
  font-weight: 540 !important;
}

.service-industries {
  width: min(920px, 100%) !important;
  margin: 0 auto 56px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.service-industries div {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 0 !important;
}

.service-industries div::before {
  inset: -24px 10% !important;
  opacity: .44 !important;
}

.service-industries span {
  min-height: 36px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  padding: 0 17px !important;
  border: 1px solid rgba(35, 24, 21, .12) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.glass-service-layout {
  display: grid !important;
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: stretch !important;
  border: 0 !important;
}

.glass-service-nav {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  border: 1px solid var(--mk-glass-line) !important;
  border-radius: 22px !important;
  padding: 10px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.56)) !important;
  box-shadow: var(--mk-glass-shadow) !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
}

.glass-service-nav .service-item {
  min-height: auto !important;
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  column-gap: 14px !important;
  row-gap: 6px !important;
  padding: 18px 18px !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

.glass-service-nav .service-item .service-id {
  grid-row: span 2 !important;
  width: auto !important;
  color: var(--orange-deep) !important;
  font-size: 16px !important;
  font-weight: 820 !important;
}

.glass-service-nav .service-item strong {
  display: block !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
}

.glass-service-nav .service-item small {
  display: block !important;
  margin: 0 !important;
  color: rgba(35, 24, 21, .58) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.glass-service-nav .service-item ul {
  display: none !important;
}

.glass-service-nav .service-item::after {
  content: none !important;
}

.glass-service-nav .service-item:hover,
.glass-service-nav .service-item.active {
  border-color: rgba(255, 138, 18, .22) !important;
  background: rgba(255,255,255,.78) !important;
  box-shadow: 0 14px 30px rgba(35, 24, 21, .065) !important;
}

.service-focus-panel {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(35, 24, 21, .10);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 138, 18, .13), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.62));
  box-shadow: var(--mk-glass-shadow);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
}

.focus-kicker {
  color: rgba(217, 109, 0, .88);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .16em;
}

.service-focus-panel h3 {
  margin: 0;
  color: #231815;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.service-focus-panel > p {
  max-width: 760px;
  margin: 0;
  color: rgba(35, 24, 21, .68);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 620;
}

.focus-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.focus-sections section {
  padding: 18px;
  border: 1px solid rgba(35, 24, 21, .085);
  border-radius: 18px;
  background: rgba(255,255,255,.66);
}

.focus-sections span {
  display: block;
  margin-bottom: 10px;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 820;
}

.focus-sections ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.focus-sections li {
  position: relative;
  padding-left: 14px;
  color: rgba(35, 24, 21, .7);
  font-size: 14px;
  line-height: 1.65;
}

.focus-sections li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.focus-cta {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 0 18px;
  border: 1px solid rgba(217, 109, 0, .24);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: #231815;
  font-size: 14px;
  font-weight: 760;
}

.ai-workbench {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(240px, 310px) !important;
  gap: 16px !important;
  border: 1px solid rgba(35, 24, 21, .095) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(37, 53, 141, .09), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.58)) !important;
  box-shadow: var(--mk-glass-shadow) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
}

.intake-panel,
.chat-panel,
.ai-status-panel {
  border: 1px solid rgba(35, 24, 21, .085) !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.66) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74) !important;
}

.upload-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid rgba(35, 24, 21, .08);
  background: rgba(255,255,255,.54);
}

.upload-strip span {
  color: rgba(35, 24, 21, .76);
  font-size: 13px;
  font-weight: 820;
}

.upload-strip button {
  min-height: 34px;
  border: 1px solid rgba(35, 24, 21, .11);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255,255,255,.82);
  color: rgba(35, 24, 21, .76);
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
}

.upload-strip button.uploaded {
  border-color: rgba(15, 107, 93, .22);
  background: rgba(15, 107, 93, .08);
  color: #0f6b5d;
}

.upload-strip em {
  margin-left: auto;
  color: rgba(35, 24, 21, .46);
  font-size: 12px;
  font-style: normal;
}

.ai-status-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.status-card {
  padding: 16px;
  border: 1px solid rgba(35, 24, 21, .085);
  border-radius: 16px;
  background: rgba(255,255,255,.62);
}

.status-card span,
.review-track span {
  color: rgba(217, 109, 0, .82);
  font-size: 12px;
  font-weight: 820;
}

.status-card strong {
  display: block;
  margin: 8px 0;
  font-size: 20px;
}

.status-card p,
.status-card li {
  color: rgba(35, 24, 21, .66);
  font-size: 13px;
  line-height: 1.7;
}

.status-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.review-track {
  display: grid;
  gap: 8px;
}

.review-track span {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(35, 24, 21, .09);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: rgba(35, 24, 21, .58);
}

.review-track .done {
  border-color: rgba(15, 107, 93, .18);
  color: #0f6b5d;
  background: rgba(15, 107, 93, .07);
}

.review-track .active {
  border-color: rgba(245, 144, 29, .28);
  color: var(--orange-deep);
  background: rgba(245, 144, 29, .10);
  box-shadow: inset 3px 0 0 rgba(245, 144, 29, .68);
}

.ai-status-panel.state-updated {
  animation: status-pulse 520ms ease;
}

@keyframes status-pulse {
  0% {
    transform: translateY(0);
  }
  36% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}

.content-hub article,
.article-page article {
  border-color: rgba(35, 24, 21, .095) !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 18px 50px rgba(35, 24, 21, .07) !important;
}

.article-page {
  background: linear-gradient(180deg, #fff, #faf8f5) !important;
}

.article-page article {
  max-width: 880px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1120px) {
  .site-header {
    left: 24px !important;
    right: 24px !important;
  }

  .glass-service-layout,
  .ai-workbench {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 0 !important;
  }

  .site-frame {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }

  .site-header {
    top: 22px !important;
    left: 18px !important;
    right: 18px !important;
    min-height: 62px !important;
    margin-top: 10px !important;
    padding: 10px 12px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .brand img {
    max-width: 180px !important;
  }

  .hero {
    min-height: 640px !important;
    margin-top: 0 !important;
    padding: 150px 20px 70px !important;
  }

  .hero-content {
    max-width: 100% !important;
  }

  .hero-content h1,
  main#top .hero h1 {
    font-size: clamp(37px, 10vw, 48px) !important;
    line-height: 1.16 !important;
  }

  .hero-actions {
    align-items: stretch !important;
  }

  .hero-actions .button {
    width: 100% !important;
  }

  .service-industries {
    margin-bottom: 38px !important;
  }

  .service-industries div {
    justify-content: flex-start !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    padding-bottom: 8px !important;
  }

  .service-industries span {
    white-space: nowrap !important;
  }

  .glass-service-nav,
  .service-focus-panel {
    border-radius: 18px !important;
  }

  .focus-sections {
    grid-template-columns: 1fr !important;
  }

  .upload-strip em {
    width: 100%;
    margin-left: 0;
  }

  .upload-strip button {
    flex: 1 1 100%;
  }

  .ai-status-panel {
    padding: 14px;
  }

  .footer-locations {
    justify-content: flex-start !important;
  }
}

/* v1.4.0 service and team layout refinements from live review */
.glass-service-layout {
  display: block !important;
  border: 0 !important;
}

.glass-service-nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(35, 24, 21, .10) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.64)) !important;
  box-shadow: 0 22px 60px rgba(35, 24, 21, .07) !important;
  overflow: hidden !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
}

.glass-service-nav .service-item {
  min-height: 278px !important;
  display: block !important;
  padding: 32px 30px !important;
  border: 0 !important;
  border-right: 1px solid rgba(35, 24, 21, .08) !important;
  border-bottom: 1px solid rgba(35, 24, 21, .08) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.28) !important;
  box-shadow: none !important;
  text-align: left !important;
  transform: translateY(0) !important;
}

.glass-service-nav .service-item:nth-child(3n) {
  border-right: 0 !important;
}

.glass-service-nav .service-item:nth-last-child(-n + 3) {
  border-bottom: 0 !important;
}

.glass-service-nav .service-item .service-id,
.glass-service-nav .service-item strong {
  display: inline !important;
  vertical-align: baseline;
}

.glass-service-nav .service-item .service-id {
  margin-right: 16px !important;
  color: var(--orange-deep) !important;
  font-size: 22px !important;
  font-weight: 780 !important;
}

.glass-service-nav .service-item strong {
  color: #231815 !important;
  font-size: clamp(22px, 2vw, 28px) !important;
  line-height: 1.28 !important;
  font-weight: 760 !important;
}

.glass-service-nav .service-item small {
  display: block !important;
  margin: 18px 0 18px !important;
  color: rgba(35, 24, 21, .62) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  font-weight: 620 !important;
}

.glass-service-nav .service-item ul {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.glass-service-nav .service-item li {
  position: relative !important;
  padding-left: 15px !important;
  color: rgba(35, 24, 21, .58) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.glass-service-nav .service-item li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: .72em !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: var(--orange) !important;
}

.glass-service-nav .service-item:hover,
.glass-service-nav .service-item.active {
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 138, 18, .14), transparent 30%),
    rgba(255,255,255,.72) !important;
  box-shadow: inset 0 -2px 0 rgba(255, 138, 18, .72) !important;
  transform: translateY(-1px) !important;
}

.service-focus-panel {
  display: none !important;
}

.lawyer-card.feature-card .focus-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px 12px !important;
  max-width: 360px !important;
  margin-top: 0 !important;
}

.lawyer-card.feature-card .focus-list small {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

@media (max-width: 1020px) {
  .glass-service-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .glass-service-nav .service-item:nth-child(3n) {
    border-right: 1px solid rgba(35, 24, 21, .08) !important;
  }

  .glass-service-nav .service-item:nth-child(2n) {
    border-right: 0 !important;
  }

  .glass-service-nav .service-item:nth-last-child(-n + 3) {
    border-bottom: 1px solid rgba(35, 24, 21, .08) !important;
  }

  .glass-service-nav .service-item:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }
}

@media (max-width: 760px) {
  .glass-service-nav {
    grid-template-columns: 1fr !important;
  }

  .glass-service-nav .service-item {
    min-height: auto !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(35, 24, 21, .08) !important;
    padding: 26px 22px !important;
  }

  .glass-service-nav .service-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(35, 24, 21, .08) !important;
  }

  .glass-service-nav .service-item:last-child {
    border-bottom: 0 !important;
  }

  .lawyer-card.feature-card .focus-list {
    justify-content: center !important;
    max-width: 100% !important;
  }
}

/* v1.4.1 tighter service-to-proof rhythm */
.service-section {
  padding-bottom: clamp(44px, 5vw, 68px) !important;
}

.service-section + .proof-section {
  padding-top: clamp(44px, 5vw, 68px) !important;
}

.proof-section .section-head {
  margin-bottom: 34px !important;
}

@media (max-width: 760px) {
  .service-section {
    padding-bottom: 42px !important;
  }

  .service-section + .proof-section {
    padding-top: 46px !important;
  }
}

/* v1.4.2 homepage hero title fit */
.hero-content {
  width: min(980px, 100%) !important;
  max-width: min(980px, calc(100vw - 170px)) !important;
}

.hero-content h1,
main#top .hero h1 {
  width: 100% !important;
  max-width: 100% !important;
  font-size: clamp(46px, 4.82vw, 62px) !important;
  line-height: 1.12 !important;
}

.hero-content h1 span {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
}

.hero-content h1 span:first-child {
  max-width: 760px !important;
}

@media (min-width: 1280px) {
  .hero-content {
    max-width: 1040px !important;
  }

  .hero-content h1,
  main#top .hero h1 {
    font-size: clamp(58px, 5vw, 72px) !important;
  }
}

@media (max-width: 1180px) {
  .hero-content {
    max-width: calc(100vw - 120px) !important;
  }

  .hero-content h1,
  main#top .hero h1 {
    font-size: clamp(43px, 5.25vw, 58px) !important;
  }
}

@media (max-width: 760px) {
  .hero-content {
    max-width: 100% !important;
  }

  .hero-content h1,
  main#top .hero h1 {
    font-size: clamp(34px, 9.2vw, 44px) !important;
    line-height: 1.18 !important;
  }
}

/* v1.4.5 service card title auto-fit */
.glass-service-nav .service-item {
  container-type: inline-size;
}

.glass-service-nav .service-item .service-heading {
  display: flex !important;
  align-items: baseline;
  gap: clamp(8px, 2.8cqw, 16px);
  width: 100%;
  min-width: 0;
  white-space: nowrap !important;
}

.glass-service-nav .service-item .service-heading .service-id {
  flex: 0 0 auto;
  margin-right: 0 !important;
  font-size: clamp(16px, 6.6cqw, 22px) !important;
  line-height: 1.2 !important;
}

.glass-service-nav .service-item .service-heading strong {
  flex: 0 1 auto;
  min-width: 0;
  color: #231815 !important;
  font-size: clamp(18px, 7.5cqw, 24px) !important;
  line-height: 1.22 !important;
  white-space: nowrap !important;
}

/* v1.4.7 homepage line removal and footer alignment */
.hero::after,
.site-footer::before {
  content: none !important;
  display: none !important;
}

.hero,
main > .section,
main > .section + .section,
.insights-section,
.site-footer,
footer#contact.site-footer,
.footer-bottom {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

footer#contact .footer-main {
  grid-template-columns: minmax(420px, 520px) minmax(520px, 1fr) !important;
  column-gap: clamp(72px, 9vw, 150px) !important;
  align-items: start !important;
}

footer#contact .footer-main > .footer-about {
  width: 100% !important;
  max-width: 520px !important;
}

footer#contact .footer-about p,
footer#contact .footer-main p {
  width: 100% !important;
  max-width: 520px !important;
}

footer#contact .footer-locations {
  width: 100% !important;
  max-width: 520px !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px 12px !important;
  align-items: center !important;
}

footer#contact .footer-locations small {
  min-width: 0 !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

footer#contact .footer-contact-panel {
  width: min(520px, 100%) !important;
  max-width: 520px !important;
  justify-self: end !important;
  margin-left: auto !important;
}

@media (max-width: 1020px) {
  footer#contact .footer-main {
    grid-template-columns: 1fr !important;
    row-gap: 42px !important;
  }

  footer#contact .footer-main > .footer-about,
  footer#contact .footer-about p,
  footer#contact .footer-main p,
  footer#contact .footer-locations,
  footer#contact .footer-contact-panel {
    max-width: 100% !important;
  }
}

@media (max-width: 520px) {
  footer#contact .footer-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* v1.4.10 homepage copy rhythm and footer three-column balance */
main#top > .section {
  padding-top: clamp(52px, 6.2vw, 84px) !important;
  padding-bottom: clamp(52px, 6.2vw, 84px) !important;
}

main#top > .section + .section {
  padding-top: clamp(44px, 5.4vw, 76px) !important;
}

main#top > .section > .section-head {
  margin-bottom: clamp(28px, 3.4vw, 38px) !important;
}

.hero {
  min-height: clamp(560px, 64vh, 680px) !important;
  padding-bottom: clamp(66px, 7.2vw, 88px) !important;
}

.hero .hero-actions {
  margin-top: clamp(34px, 4.2vw, 52px) !important;
}

.proof-section {
  padding-top: clamp(42px, 5vw, 68px) !important;
  padding-bottom: clamp(48px, 5.8vw, 76px) !important;
}

.proof-stat-grid {
  margin-top: clamp(24px, 3vw, 34px) !important;
}

.partners-section,
.team-section,
.insights-section {
  padding-top: clamp(50px, 6vw, 78px) !important;
  padding-bottom: clamp(50px, 6vw, 78px) !important;
}

.site-footer {
  padding-top: clamp(60px, 6.8vw, 86px) !important;
}

footer#contact .footer-main {
  grid-template-columns: minmax(360px, 1fr) minmax(330px, .86fr) minmax(150px, .46fr) !important;
  column-gap: clamp(54px, 6.5vw, 94px) !important;
  max-width: 1080px !important;
  align-items: start !important;
}

footer#contact .footer-main > .footer-about,
footer#contact .footer-about p,
footer#contact .footer-main p {
  max-width: 520px !important;
}

footer#contact .footer-contact-panel {
  display: contents !important;
}

footer#contact .footer-contact-panel address {
  justify-self: center !important;
  width: min(360px, 100%) !important;
  margin-top: clamp(62px, 6.8vw, 92px) !important;
}

footer#contact .qr-block {
  justify-self: center !important;
  align-self: start !important;
  margin-top: clamp(118px, 12vw, 158px) !important;
  padding-top: 0 !important;
}

footer#contact .footer-locations {
  max-width: 520px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 1020px) {
  footer#contact .footer-main {
    grid-template-columns: 1fr !important;
    row-gap: 34px !important;
  }

  footer#contact .footer-contact-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 132px !important;
    gap: 28px !important;
  }

  footer#contact .footer-contact-panel address,
  footer#contact .qr-block {
    justify-self: start !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 760px) {
  main#top > .section,
  main#top > .section + .section {
    padding-top: 46px !important;
    padding-bottom: 48px !important;
  }

  .hero {
    min-height: auto !important;
    padding-bottom: 58px !important;
  }
}

/* v1.5.0 complete lawyer directory */
.lawyer-rail {
  display: flex !important;
  gap: 10px !important;
  padding: 4px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 144, 29, .28) transparent;
}

.lawyer-rail button {
  flex: 0 0 clamp(172px, 18vw, 218px) !important;
  scroll-snap-align: center;
}

.lawyer-rail button span {
  white-space: nowrap;
}

.lawyer-card.feature-card .profile-link {
  order: 4;
}

.profile-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.profile-brand {
  display: inline-flex;
  align-items: center;
}

.profile-brand img {
  width: clamp(176px, 20vw, 238px);
  height: auto;
}

.profile-topbar .back-link {
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.profile-role {
  margin-top: 8px !important;
  color: #231815 !important;
  font-size: 18px !important;
  font-weight: 700;
}

.profile-introduction {
  max-width: 820px;
  margin: clamp(48px, 7vw, 82px) auto 0;
}

.profile-introduction > span,
.profile-contact-cta > div > span {
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .14em;
}

.profile-introduction h2,
.profile-contact-cta h2 {
  margin-top: 10px;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
}

.profile-introduction p {
  margin-top: 18px;
  color: rgba(35, 24, 21, .7);
  font-size: 16px;
  line-height: 1.95;
}

.profile-contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-top: 36px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(245, 144, 29, .18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 18%, rgba(245, 144, 29, .12), transparent 34%),
    rgba(255, 252, 248, .86);
}

.profile-contact-cta p {
  max-width: 660px;
  margin-top: 12px;
  color: rgba(35, 24, 21, .64);
  line-height: 1.8;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.profile-actions .button {
  white-space: nowrap;
}

.profile-pagination {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.profile-pagination a {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
}

.profile-pagination a:nth-child(2) {
  text-align: center;
}

.profile-pagination a:last-child {
  text-align: right;
}

.profile-pagination small,
.profile-source-note {
  color: rgba(35, 24, 21, .48);
  font-size: 12px;
}

.profile-source-note {
  margin: 22px 0 0;
  text-align: center;
}

@media (max-width: 760px) {
  .profile-topbar {
    align-items: flex-start;
  }

  .profile-brand img {
    width: 156px;
  }

  .profile-topbar .back-link {
    padding: 8px 11px;
    font-size: 12px;
  }

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

  .profile-actions {
    justify-content: flex-start;
  }

  .profile-actions .button {
    width: 100%;
  }

  .profile-pagination {
    grid-template-columns: 1fr;
  }

  .profile-pagination a,
  .profile-pagination a:last-child {
    text-align: left;
  }

  .lawyer-rail button {
    flex-basis: 158px !important;
  }
}

/* v1.7.0 searchable lawyer directory */
#team .section-head {
  position: relative;
}

/* v1.7.3 unified lawyer profiles and team cards */
.profile-subpage .profile-site-frame {
  min-height: calc(100vh - 68px);
  background:
    radial-gradient(circle at 84% 8%, rgba(245, 144, 29, .08), transparent 25%),
    linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.profile-subpage .profile-page {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
  padding: clamp(148px, 14vw, 176px) clamp(24px, 4vw, 54px) clamp(48px, 6vw, 72px);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-subpage .profile-breadcrumb {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 clamp(24px, 4vw, 40px);
}

.profile-subpage .profile-breadcrumb .back-link {
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 14px 9px 10px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: rgba(35, 24, 21, .68);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.profile-subpage .profile-breadcrumb .back-link span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 144, 29, .1);
  color: var(--orange-deep);
  transition: transform 180ms ease;
}

.profile-subpage .profile-breadcrumb .back-link:hover {
  border-color: rgba(245, 144, 29, .3);
  color: #231815;
  box-shadow: 0 12px 30px rgba(35, 24, 21, .07);
  transform: translateY(-1px);
}

.profile-subpage .profile-breadcrumb .back-link:hover span {
  transform: translateX(-2px);
}

.profile-subpage .profile-contact-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: visible;
}

.profile-subpage .profile-actions {
  position: relative;
  align-items: center;
  overflow: visible;
}

.profile-contact-trigger {
  position: relative;
  overflow: visible;
  font: inherit;
  cursor: pointer;
}

.profile-contact-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 16px);
  z-index: 30;
  display: grid;
  width: 218px;
  gap: 8px;
  justify-items: center;
  padding: 16px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 70px rgba(35, 24, 21, .18);
  color: #231815;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.96);
  transform-origin: 80% 100%;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, .72, .22, 1);
  backdrop-filter: blur(18px);
}

.profile-contact-popover::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -7px;
  width: 13px;
  height: 13px;
  border-right: 1px solid rgba(35, 24, 21, .1);
  border-bottom: 1px solid rgba(35, 24, 21, .1);
  background: rgba(255, 255, 255, .97);
  transform: rotate(45deg);
}

.profile-contact-popover img {
  width: 148px;
  height: 148px;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.profile-contact-popover strong {
  font-size: 15px;
  line-height: 1.3;
}

.profile-contact-popover small {
  color: rgba(35, 24, 21, .56);
  font-size: 11px;
  line-height: 1.55;
  white-space: normal;
}

.profile-contact-trigger:hover .profile-contact-popover,
.profile-contact-trigger:focus-visible .profile-contact-popover,
.profile-contact-trigger.is-open .profile-contact-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lawyer-card.feature-card {
  align-items: center !important;
}

.lawyer-card.feature-card .portrait-button {
  align-self: center !important;
}

.lawyer-card.feature-card .portrait-button img {
  object-position: center center !important;
}

.lawyer-card.feature-card > div {
  align-self: center !important;
  justify-items: start;
  text-align: left;
}

.lawyer-card.feature-card .focus-list {
  width: 100%;
  max-width: 100% !important;
  max-height: 78px;
  justify-content: flex-start !important;
  overflow: hidden;
}

.lawyer-card.feature-card .focus-list small {
  min-height: 30px !important;
  padding: 0 11px !important;
  font-size: 11px !important;
}

.lawyer-card.feature-card .profile-link {
  justify-self: start;
  margin-top: 24px !important;
  text-align: left;
}

@media (max-width: 760px) {
  .profile-subpage .profile-page {
    width: 100%;
    padding: 112px 18px 42px;
  }

  .profile-subpage .profile-breadcrumb {
    margin-bottom: 24px;
  }

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

  .profile-contact-popover {
    right: 50%;
    width: min(218px, calc(100vw - 54px));
    transform: translate(50%, 10px) scale(.96);
    transform-origin: 50% 100%;
  }

  .profile-contact-trigger:hover .profile-contact-popover,
  .profile-contact-trigger:focus-visible .profile-contact-popover,
  .profile-contact-trigger.is-open .profile-contact-popover {
    transform: translate(50%, 0) scale(1);
  }

  .profile-contact-popover::after {
    right: calc(50% - 7px);
  }

  .lawyer-card.feature-card > div,
  .lawyer-card.feature-card .focus-list,
  .lawyer-card.feature-card .profile-link {
    justify-items: start;
    justify-content: flex-start !important;
    text-align: left;
  }
}

.team-directory-link {
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(35, 24, 21, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: #231815;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-50%);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.team-directory-link:hover {
  border-color: rgba(245, 144, 29, .42);
  background: #fff8ef;
  color: #c96500;
  transform: translateY(calc(-50% - 2px));
}

.team-directory-link span {
  font-size: 17px;
  line-height: 1;
}

.directory-page {
  background: #f4f5f6;
}

.directory-page .site-frame {
  min-height: calc(100vh - 32px);
  background:
    radial-gradient(circle at 82% 5%, rgba(245, 144, 29, .1), transparent 21%),
    linear-gradient(180deg, #fff 0%, #fbfbfb 44%, #f5f6f7 100%);
}

.directory-page .desktop-nav > a.active::after {
  transform: scaleX(1);
}

.lawyer-directory-main {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(168px, 17vw, 210px) 0 82px;
}

.lawyer-directory-hero {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.lawyer-directory-hero > span {
  color: #c96500;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .14em;
}

.lawyer-directory-hero h1 {
  margin: 14px 0 0;
  color: #231815;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 500;
  line-height: 1.08;
}

.lawyer-directory-hero p {
  max-width: 680px;
  margin: 22px auto 0;
  color: rgba(35, 24, 21, .62);
  font-size: 16px;
  line-height: 1.9;
}

.lawyer-finder {
  display: grid;
  gap: 18px;
  margin-top: clamp(42px, 6vw, 64px);
  padding: 24px;
  border: 1px solid rgba(35, 24, 21, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 20px 56px rgba(35, 24, 21, .06);
  backdrop-filter: blur(18px);
}

.lawyer-search-field {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.lawyer-search-field label {
  color: #231815;
  font-size: 15px;
  font-weight: 760;
}

.lawyer-search-field input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(35, 24, 21, .12);
  border-radius: 8px;
  outline: 0;
  background: rgba(248, 249, 250, .86);
  color: #231815;
  font: inherit;
  font-size: 15px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.lawyer-search-field input:focus {
  border-color: rgba(245, 144, 29, .55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 144, 29, .09);
}

.lawyer-team-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lawyer-team-filters::-webkit-scrollbar {
  display: none;
}

.lawyer-team-filters button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(35, 24, 21, .1);
  border-radius: 999px;
  background: transparent;
  color: rgba(35, 24, 21, .64);
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}

.lawyer-team-filters button:hover,
.lawyer-team-filters button.active {
  border-color: rgba(245, 144, 29, .42);
  background: #fff7ed;
  color: #b85e00;
}

.lawyer-result-count {
  margin: 0;
  color: rgba(35, 24, 21, .46);
  font-size: 13px;
}

.lawyer-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.lawyer-directory-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 24, 21, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  color: #231815;
  box-shadow: 0 16px 44px rgba(35, 24, 21, .045);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.lawyer-directory-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 144, 29, .34);
  box-shadow: 0 24px 62px rgba(35, 24, 21, .09);
}

.lawyer-directory-card[hidden] {
  display: none;
}

.lawyer-directory-photo {
  display: block;
  aspect-ratio: 4 / 4.65;
  overflow: hidden;
  background: #eef0f3;
}

.lawyer-directory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 500ms ease;
}

.lawyer-directory-card:hover .lawyer-directory-photo img {
  transform: scale(1.018);
}

.lawyer-directory-copy {
  display: grid;
  align-content: start;
  min-height: 248px;
  padding: 22px;
}

.lawyer-directory-copy > small {
  min-height: 36px;
  color: rgba(35, 24, 21, .46);
  font-size: 12px;
  line-height: 1.5;
}

.lawyer-directory-copy > strong {
  margin-top: 10px;
  font-size: 25px;
  line-height: 1.2;
}

.lawyer-directory-role {
  min-height: 42px;
  margin-top: 8px;
  color: rgba(35, 24, 21, .64);
  font-size: 13px;
  line-height: 1.55;
}

.lawyer-directory-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.lawyer-directory-focus i {
  padding: 5px 8px;
  border: 1px solid rgba(35, 24, 21, .09);
  border-radius: 999px;
  color: rgba(35, 24, 21, .6);
  font-size: 11px;
  font-style: normal;
  line-height: 1.2;
}

.lawyer-directory-open {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #231815;
  font-size: 13px;
  font-weight: 760;
}

.lawyer-directory-open b {
  color: #d96d00;
  font-size: 16px;
}

.lawyer-no-results {
  margin-top: 28px;
  padding: 56px 24px;
  text-align: center;
}

.lawyer-no-results > span {
  color: rgba(35, 24, 21, .26);
  font-size: 42px;
}

.lawyer-no-results h2 {
  margin: 12px 0 0;
  font-size: 24px;
}

.lawyer-no-results p {
  margin: 10px auto 0;
  color: rgba(35, 24, 21, .56);
  line-height: 1.7;
}

.lawyer-no-results button {
  margin-top: 20px;
  padding: 10px 16px;
  border: 1px solid rgba(245, 144, 29, .28);
  border-radius: 999px;
  background: #fff7ed;
  color: #b85e00;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.directory-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto 28px;
  padding: 30px 34px;
  border: 1px solid rgba(245, 144, 29, .16);
  border-radius: 8px;
  background: rgba(255, 250, 244, .84);
}

.directory-footer strong {
  font-size: 20px;
}

.directory-footer p {
  margin: 8px 0 0;
  color: rgba(35, 24, 21, .56);
  line-height: 1.7;
}

.directory-footer-bottom {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
}

@media (max-width: 980px) {
  .team-directory-link {
    position: static;
    margin-top: 18px;
    transform: none;
  }

  .team-directory-link:hover {
    transform: translateY(-2px);
  }

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

@media (max-width: 640px) {
  .lawyer-directory-main {
    width: calc(100% - 32px);
    padding: 118px 0 54px;
  }

  .lawyer-directory-hero h1 {
    font-size: 44px;
  }

  .lawyer-directory-hero p {
    margin-top: 16px;
    font-size: 14px;
  }

  .lawyer-finder {
    gap: 14px;
    margin-top: 34px;
    padding: 16px;
  }

  .lawyer-search-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lawyer-search-field input {
    height: 50px;
    font-size: 14px;
  }

  .lawyer-directory-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .lawyer-directory-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .lawyer-directory-photo {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .lawyer-directory-copy {
    min-height: 198px;
    padding: 16px;
  }

  .lawyer-directory-copy > small {
    min-height: 0;
    font-size: 10px;
  }

  .lawyer-directory-copy > strong {
    font-size: 22px;
  }

  .lawyer-directory-role {
    min-height: 0;
    font-size: 12px;
  }

  .lawyer-directory-focus {
    margin-top: 12px;
  }

  .lawyer-directory-focus i:nth-child(n+3) {
    display: none;
  }

  .lawyer-directory-open {
    margin-top: 16px;
  }

  .directory-footer {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    padding: 24px;
  }

  .directory-footer .button {
    width: 100%;
  }

  .directory-footer-bottom {
    width: calc(100% - 32px);
  }
}
