@charset "UTF-8";

/* ==========================================================================
   李秀华律师 · 个人律师专题站
   Design system: white / blue / black, radius <= 3px, editorial legal style
   ========================================================================== */

:root {
  --ink: #0a1424;
  --ink-2: #0e1d33;
  --navy: #12305c;
  --blue: #1d4f91;
  --blue-deep: #17427a;
  --blue-2: #2a66b8;
  --blue-3: #7fa9dc;
  --blue-soft: #edf3fb;
  --blue-line: #cfddef;
  --paper: #ffffff;
  --paper-2: #f5f8fc;
  --paper-3: #eef3f9;
  --text: #16202e;
  --muted: #58687c;
  --muted-2: #7b899a;
  --line: #e1e7f0;
  --line-2: #edf1f7;
  --danger: #b42318;
  --radius: 2px;
  --container: 1240px;
  --header-h: 78px;
  --section-y: clamp(64px, 7.2vw, 108px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(10, 20, 36, 0.04), 0 14px 36px -24px rgba(10, 20, 36, 0.22);
  --shadow-md: 0 28px 70px -36px rgba(10, 20, 36, 0.32);
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia,
    "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked,
body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.01em;
}

.hero__title,
.page-hero h1,
.section-head h2,
.about__content h2,
.profile__body h2,
.cta-band h2,
.insight-featured h2,
.visit__address {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.03em;
}

ul,
ol {
  padding: 0;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: var(--section-y) 0;
}

.section--tint {
  background: var(--paper-2);
}

.section--compact {
  padding: 64px 0;
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--dark .section-head h2,
.section--dark h2 {
  color: #fff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.section-head__main {
  max-width: 760px;
}

.section-head h2 {
  margin-top: 16px;
  text-wrap: balance;
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  line-height: 1.25;
}

.section-head__lead {
  max-width: 54ch;
  text-wrap: balance;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.8;
}

.section-head__aside {
  flex: none;
  padding-bottom: 5px;
}

.section--dark .section-head__lead {
  color: rgba(226, 236, 248, 0.6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.eyebrow--light {
  color: #8fb6e8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s var(--ease);
}

.text-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--blue-deep);
}

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

.text-link--light {
  color: #9fc0e8;
}

.text-link--light:hover {
  color: #fff;
}

section[id],
.form-card[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 15px;
}

.btn--lg {
  padding: 17px 34px;
  font-size: 16.5px;
}

.btn--block {
  width: 100%;
}

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

.btn--primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  box-shadow: 0 16px 30px -18px rgba(29, 79, 145, 0.7);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: var(--blue-line);
  color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.62);
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
  color: var(--blue-deep);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--container), calc(100% - 48px));
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  flex: none;
}

.brand__mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  padding-bottom: 3px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #14335f 0%, #0a1424 100%);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1px;
  pointer-events: none;
}

.brand__mark::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--blue-3);
  transform: translateX(-50%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.brand__name {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.brand__text strong {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.05;
  white-space: nowrap;
}

.brand__name em {
  padding-bottom: 1px;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand__text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.site-nav__link {
  position: relative;
  padding: 9px 0;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--blue);
}

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

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

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

.header-phone__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue);
}

.header-phone__icon svg {
  width: 16px;
  height: 16px;
}

.header-phone__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header-phone__text small {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.header-phone__text strong {
  font-size: 16.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Home: transparent header over the dark hero */
.page-home .site-header:not(.is-scrolled):not(.is-menu-open) {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.62) 0%, rgba(8, 17, 31, 0) 100%);
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .brand__mark {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #fff;
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .brand__text strong {
  color: #fff;
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .brand__name em {
  color: #9fc0e8;
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .brand__text small {
  color: rgba(255, 255, 255, 0.52);
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .site-nav__link {
  color: rgba(255, 255, 255, 0.8);
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .site-nav__link:hover,
.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .site-nav__link.is-active {
  color: #fff;
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .site-nav__link::after {
  background: #8fb6e8;
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .header-phone__icon {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .header-phone__text small {
  color: rgba(255, 255, 255, 0.5);
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .header-phone__text strong {
  color: #fff;
}

.page-home .site-header:not(.is-scrolled):not(.is-menu-open) .menu-toggle {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(10, 20, 36, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-menu-open {
  background: #fff;
  border-color: var(--line);
}

.site-header.is-menu-open .brand__mark {
  border-color: var(--blue);
  background: linear-gradient(150deg, #14335f 0%, #0a1424 100%);
  color: #fff;
}

.site-header.is-menu-open .brand__text strong {
  color: var(--text);
}

.site-header.is-menu-open .brand__text small {
  color: var(--muted);
}

.site-header.is-menu-open .menu-toggle {
  border-color: var(--line);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 26px 24px calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.mobile-menu__nav a svg {
  width: 17px;
  height: 17px;
  color: var(--muted-2);
}

.mobile-menu__nav a.is-active {
  color: var(--blue);
}

.mobile-menu__contact {
  margin-top: auto;
  padding-top: 34px;
}

.mobile-menu__label {
  color: var(--muted-2);
  font-size: 12.5px;
  letter-spacing: 0.12em;
}

.mobile-menu__phone {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.mobile-menu__address {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.mobile-menu__contact .btn {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 64px) 0 72px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse at 58% 30%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse at 58% 30%, #000 0%, transparent 74%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(680px 540px at 78% 32%, rgba(42, 102, 184, 0.34), transparent 68%),
    radial-gradient(520px 420px at 8% 92%, rgba(29, 79, 145, 0.18), transparent 72%);
}

.hero__scales {
  position: absolute;
  top: 7%;
  right: -3%;
  width: min(720px, 58vw);
  height: auto;
  color: #fff;
  opacity: 0.055;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.72fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}

.hero__content {
  min-width: 0;
}

.hero__title {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 22px;
  font-size: clamp(3.6rem, 7.2vw, 6.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.04em;
}

.hero__title span {
  padding-bottom: 0.62em;
  color: #9fc0e8;
  font-size: 0.28em;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
}

.hero__role {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 2px solid var(--blue-2);
  color: #a9bbd2;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

.hero__role-extra {
  display: block;
  margin-top: 3px;
  color: rgba(169, 187, 210, 0.72);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

.hero__lead {
  margin-top: 30px;
  text-wrap: balance;
  color: #eaf1fa;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.hero__desc {
  max-width: 36em;
  margin-top: 16px;
  color: rgba(226, 236, 248, 0.68);
  font-size: 16.5px;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 24px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  letter-spacing: 0.03em;
}

.hero__meta li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.hero__meta svg {
  width: 16px;
  height: 16px;
  color: var(--blue-3);
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 424px;
}

.portrait {
  position: relative;
}

.portrait__frame {
  position: absolute;
  inset: 18px -16px -16px 18px;
  z-index: 0;
  border: 1px solid rgba(159, 192, 232, 0.26);
  pointer-events: none;
}

.portrait__media {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, #16365f 0%, #102542 56%, #0a1728 100%);
}

.portrait__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 48% at 50% 18%, rgba(80, 150, 235, 0.26), transparent 72%);
}

.portrait__media img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 104%;
  max-width: none;
  transform: translateX(-50%);
  filter: contrast(1.02) saturate(0.96);
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
}

.portrait__no {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.portrait__seal {
  position: absolute;
  top: 52px;
  right: -1px;
  z-index: 2;
  width: 58px;
  padding: 8px 0;
  border: 1px solid rgba(159, 192, 232, 0.38);
  background: rgba(10, 23, 40, 0.72);
  color: #d6e6f8;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: center;
  backdrop-filter: blur(6px);
}

.portrait__badge {
  position: absolute;
  bottom: 34px;
  left: -22px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  border-left: 2px solid var(--blue-2);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  line-height: 1.4;
}

.portrait__badge strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.portrait__badge span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 32px 30px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat__num {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.stat__label {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.stat__label strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
}

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

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 34px 34px;
  overflow: hidden;
  background: #fff;
  transition: background 0.3s var(--ease);
}

.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s var(--ease);
}

.service:hover {
  background: #fbfcfe;
}

.service:hover::before {
  transform: scaleX(1);
}

.service__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.service__icon svg {
  width: 26px;
  height: 26px;
}

.service:hover .service__icon {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.service h3 {
  margin: 24px 0 10px;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.service p {
  flex: 1;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.service__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.service__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.service:hover .service__link svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.about__visual {
  position: relative;
  padding-bottom: 36px;
}

.about__photo {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 18px 18px 0 -1px #fff, 18px 18px 0 0 var(--blue-line);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94);
}

.about__badge {
  position: absolute;
  bottom: 0;
  left: -26px;
  min-width: 258px;
  padding: 22px 26px;
  border-left: 2px solid var(--blue-2);
  background: var(--ink);
  color: #fff;
}

.about__badge strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.about__badge span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.about__content h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  line-height: 1.3;
}

.about__content p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.9;
}

.about__content p strong {
  color: var(--text);
  font-weight: 500;
}

.about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin-top: 28px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.about__facts li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.about__facts span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted-2);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.about__sign {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.about__sign-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: 0.12em;
  line-height: 1;
}

.about__sign small {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Cases
   -------------------------------------------------------------------------- */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.case-card:hover {
  border-color: var(--blue-line);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.case-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-card__cat {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(29, 79, 145, 0.13);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.case-card__no {
  color: #a7b4c6;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.case-card h3 {
  margin: 20px 0 10px;
  text-wrap: balance;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
}

.case-card h3 a {
  transition: color 0.2s var(--ease);
}

.case-card:hover h3 a {
  color: var(--blue);
}

.case-card p {
  flex: 1;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.case-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line-2);
  color: var(--muted-2);
  font-size: 13.5px;
}

.case-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
}

.case-card__more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.case-card:hover .case-card__more svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Consultation
   -------------------------------------------------------------------------- */
.consult {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.consult::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 102, 184, 0.24), transparent 68%);
  pointer-events: none;
}

.consult .container {
  position: relative;
  z-index: 1;
}

.consult__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.consult-card {
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s var(--ease);
}

.consult-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.consult-card:last-child {
  padding-right: 0;
}

.consult-card:hover {
  background: rgba(255, 255, 255, 0.025);
}

.consult-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #9cc2ef;
}

.consult-card__icon svg {
  width: 24px;
  height: 24px;
}

.consult-card h3 {
  margin: 24px 0 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.consult-card p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15.5px;
  line-height: 1.8;
}

.consult-card__phone {
  margin: -6px 0 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.consult-card__phone a {
  transition: color 0.2s var(--ease);
}

.consult-card__phone a:hover {
  color: #9fc0e8;
}

.consult-card__action {
  margin-top: auto;
}

.consult__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 780px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.7;
}

.consult__note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: rgba(159, 192, 232, 0.7);
}

/* --------------------------------------------------------------------------
   Insights / posts
   -------------------------------------------------------------------------- */
.posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.post {
  display: block;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.post:nth-child(-n + 2) {
  padding-top: 0;
  border-top: 0;
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.post__cat {
  color: var(--blue);
  font-weight: 500;
}

.post h3 {
  margin: 10px 0 7px;
  text-wrap: balance;
  font-size: 19.5px;
  line-height: 1.55;
  transition: color 0.2s var(--ease);
}

.post p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post:hover h3 {
  color: var(--blue);
}

.post-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: 30px 32px;
  border: 1px solid var(--blue-line);
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  color: #fff;
}

.post-cta h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
}

.post-cta p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  line-height: 1.75;
}

.post-cta .btn {
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Shanghai local practice
   -------------------------------------------------------------------------- */
.local-seo {
  border-top: 1px solid var(--line);
  background: #fff;
}

.local-seo .section-head {
  margin-bottom: 38px;
}

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

.local-seo__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  background: #fff;
  transition: background 0.2s var(--ease);
}

.local-seo__title {
  color: var(--text);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  transition: color 0.2s var(--ease);
}

.local-seo__desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.local-seo__arrow {
  position: absolute;
  top: 22px;
  right: 18px;
  width: 14px;
  height: 14px;
  color: var(--blue);
  opacity: 0.3;
  transform: translateX(-2px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.local-seo__item:hover {
  background: var(--blue-soft);
}

.local-seo__item:hover .local-seo__title {
  color: var(--blue);
}

.local-seo__item:hover .local-seo__arrow {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Visit
   -------------------------------------------------------------------------- */
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.visit__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.visit__watermark {
  position: absolute;
  right: 12px;
  bottom: -28px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--font-serif);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.8;
  pointer-events: none;
}

.visit__watermark span {
  font-size: 0.38em;
  letter-spacing: 0.02em;
  vertical-align: top;
}

.visit__card > *:not(.visit__watermark) {
  position: relative;
  z-index: 1;
}

.visit__card .eyebrow {
  color: #8fb6e8;
}

.visit__address {
  max-width: 16em;
  margin-top: 20px;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.visit__address span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 34px;
}

.visit__list {
  padding: 8px 36px;
  border: 1px solid var(--line);
  background: #fff;
}

.visit__row {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}

.visit__row:last-child {
  border-bottom: 0;
}

.visit__row-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
}

.visit__row-icon svg {
  width: 19px;
  height: 19px;
}

.visit__row h3 {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.visit__row p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 54px 0;
}

.cta-band h2 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 2.7vw, 2.2rem);
  line-height: 1.35;
}

.cta-band p {
  max-width: 54ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.cta-band__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: 72px;
  background: #070f1c;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr 0.95fr 1.2fr;
  gap: 48px;
  padding-bottom: 54px;
}

.footer__brand .brand {
  gap: 12px;
}

.footer__brand .brand__mark {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}

.footer__brand .brand__text strong {
  color: #fff;
}

.footer__brand .brand__name em {
  color: rgba(255, 255, 255, 0.55);
}

.footer__brand .brand__text small {
  color: rgba(255, 255, 255, 0.44);
}

.footer__desc {
  max-width: 35em;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  line-height: 1.85;
}

.footer__phone {
  display: inline-block;
  margin-top: 20px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 25px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.footer__hours {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 13px;
}

.footer__col h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.footer__col a,
.footer__col p {
  display: block;
  overflow-wrap: anywhere;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  line-height: 1.65;
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: #fff;
}

.footer__contact p {
  padding: 5px 0;
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.36);
  font-size: 12.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Mobile action bar & desktop rail
   -------------------------------------------------------------------------- */
.mobile-bar {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mobile-bar__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 58px;
  padding: 8px 4px;
  border: 0;
  border-left: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mobile-bar__item:first-child {
  border-left: 0;
}

.mobile-bar__item svg {
  width: 19px;
  height: 19px;
  color: var(--blue);
}

.mobile-bar__item--primary {
  background: var(--blue);
  color: #fff;
}

.mobile-bar__item--primary svg {
  color: #fff;
}

.side-rail {
  position: fixed;
  top: 50%;
  right: 16px;
  z-index: 80;
  display: none;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  transform: translateY(-50%);
}

.side-rail__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 54px;
  height: 58px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.2;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.side-rail__item:last-child {
  border-bottom: 0;
}

.side-rail__item svg {
  width: 19px;
  height: 19px;
  color: var(--blue);
}

.side-rail__item:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   Page hero / breadcrumb
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 66px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 72%);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 102, 184, 0.24), transparent 68%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.breadcrumb a {
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span[aria-current] {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero__eyebrow {
  margin-top: 30px;
}

.page-hero h1 {
  margin-top: 16px;
  text-wrap: balance;
  font-size: clamp(2.5rem, 4.6vw, 3.8rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.page-hero__lead {
  max-width: 64ch;
  text-wrap: balance;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16.5px;
  line-height: 1.85;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 13.5px;
}

.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-hero__meta svg {
  width: 15px;
  height: 15px;
  color: var(--blue-3);
}

/* --------------------------------------------------------------------------
   Profile page
   -------------------------------------------------------------------------- */
.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 6vw, 84px);
  align-items: start;
}

.profile__media {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.profile__photo {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 18px 18px 0 -1px #fff, 18px 18px 0 0 var(--blue-line);
}

.profile__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.profile__card {
  position: relative;
  z-index: 1;
  margin: -46px 20px 0;
  padding: 22px 24px;
  border-left: 2px solid var(--blue);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.profile__card strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.profile__card span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.profile__body h2 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 2.9vw, 2.5rem);
  line-height: 1.35;
}

.profile__body .lead {
  margin-top: 18px;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.bio p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.95;
}

.bio blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 2px solid var(--blue);
  background: var(--paper-2);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.8;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.credential {
  padding: 22px 20px;
  background: #fff;
}

.credential__label {
  color: var(--muted-2);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

.credential__value {
  margin-top: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.expertise {
  border-top: 1px solid var(--line);
}

.expertise__item[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.expertise__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.expertise__num {
  color: var(--blue-3);
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.expertise__main h3 {
  font-size: 20px;
  font-weight: 600;
}

.expertise__main p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.expertise__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.expertise__tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principle {
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.principle__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
}

.principle__icon svg {
  width: 22px;
  height: 22px;
}

.principle h3 {
  margin: 20px 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.principle p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process__step {
  position: relative;
  padding: 28px 28px 0 0;
  border-right: 1px solid var(--line);
}

.process__step:last-child {
  border-right: 0;
  padding-right: 0;
}

.process__step + .process__step {
  padding-left: 28px;
}

.process__num {
  color: var(--blue);
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.process__step h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.process__step p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Cases page
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--blue-line);
  color: var(--blue);
}

.filter-btn.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.cases-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.cases-toolbar__count {
  color: var(--muted-2);
  font-size: 13.5px;
  white-space: nowrap;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.case-grid .case-card {
  padding: 34px;
}

.case-grid .case-card h3 {
  font-size: 20px;
}

.case-empty {
  display: none;
  padding: 50px 0;
  color: var(--muted);
  font-size: 15px;
}

.case-empty.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   Insights page
   -------------------------------------------------------------------------- */
.insight-featured {
  position: relative;
  display: grid;
  border-left: 2px solid var(--blue-2);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 12px;
  padding: 44px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.insight-featured__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

.insight-featured__meta .post__cat {
  color: #9fc0e8;
}

.insight-featured h2 {
  position: relative;
  z-index: 1;
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.45;
}

.insight-featured p {
  position: relative;
  z-index: 1;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15.5px;
  line-height: 1.85;
}

.insight-featured__side {
  position: relative;
  z-index: 1;
  padding-left: 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.insight-featured__side p {
  color: rgba(255, 255, 255, 0.44);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.insight-featured__side strong {
  display: block;
  margin: 8px 0 20px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-ways {
  margin-top: 34px;
}

.contact-ways__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-ways__grid a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px;
  background: #fff;
  transition: background 0.2s var(--ease);
}

.contact-ways__grid a:hover {
  background: var(--blue-soft);
}

.contact-ways__grid strong {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
}

.contact-ways__grid span {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-items {
  border-top: 1px solid var(--line);
}

.contact-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-item__label {
  color: var(--muted-2);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

.contact-item__value {
  display: inline-block;
  overflow-wrap: anywhere;
  margin-top: 2px;
  color: var(--text);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
}

a.contact-item__value:hover {
  color: var(--blue);
}

.contact-item__note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.contact-item__value--phone {
  font-family: var(--font-serif);
  font-size: 25px;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.form-card {
  padding: 38px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.form-card h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.4;
}

.form-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.consult-form {
  margin-top: 26px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.field label span {
  color: var(--blue);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa7b8;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 79, 145, 0.08);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field__error {
  display: none;
  margin-top: 6px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.5;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--danger);
  background: #fffbfb;
}

.field.is-invalid .field__error {
  display: block;
}

.form-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.7;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 14px;
  line-height: 1.75;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-color: #f0c9c4;
  background: #fff6f5;
  color: var(--danger);
}

.form-status a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__a {
  max-width: 74ch;
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Online Q&A
   -------------------------------------------------------------------------- */
.qa-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 300px;
  gap: 64px;
  justify-content: center;
  align-items: start;
}

.qa-main {
  min-width: 0;
}

.qa-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.qa-bar h2 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}

.qa-count {
  color: var(--muted-2);
  font-size: 13.5px;
  white-space: nowrap;
}

.qa-item {
  padding: 28px 0 26px;
  border-bottom: 1px solid var(--line);
}

.qa-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-2);
  font-size: 13px;
}

.qa-item__cat {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid rgba(29, 79, 145, 0.13);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12.5px;
  line-height: 1.5;
}

.qa-item__question {
  display: flex;
  gap: 12px;
  margin: 14px 0 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.55;
}

.qa-item__question > span:last-child,
.qa-item__question > a {
  min-width: 0;
}

.qa-item__question a {
  transition: color 0.2s var(--ease);
}

.qa-item__question a:hover {
  color: var(--blue);
}

.qa-item__mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.qa-item__mark--answer {
  border: 1px solid var(--blue-line);
  background: var(--blue-soft);
  color: var(--blue);
}

.qa-item__answer {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.qa-item__answer > div {
  min-width: 0;
}

.qa-item__answer p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.qa-item__by {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.qa-item__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0 40px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
}

.qa-item__more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.qa-item__more:hover svg {
  transform: translateX(3px);
}

.qa-aside {
  position: sticky;
  top: calc(var(--header-h) + 26px);
}

.qa-ask {
  padding: 28px;
  background: var(--ink);
  color: #fff;
}

.qa-ask h2 {
  margin: 8px 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1.4;
}

.qa-ask p:not(.eyebrow) {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.8;
}

.qa-ask .btn + .btn {
  margin-top: 10px;
}

.qa-note {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.qa-note h3 {
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.qa-note ul {
  margin: 0;
  padding-left: 1.1em;
}

.qa-note li {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.qa-note li::marker {
  color: var(--blue);
}

.qa-disclaimer {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.7;
}

.qa-note-line {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.7;
}

.qa-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.qa-asker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.qa-asker__avatar .icon {
  width: 16px;
  height: 16px;
}

.qa-asker__avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1;
}

.qa-asker__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.qa-asker__meta strong {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.qa-asker__meta span {
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}

.qa-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: 12px;
  white-space: nowrap;
}

.qa-status svg {
  width: 12px;
  height: 12px;
}

.qa-item__top .qa-item__cat {
  flex: none;
  margin-top: 4px;
}

.qa-item__question {
  display: block;
  margin-top: 15px;
}

.qa-item__question a {
  display: inline;
}

.qa-reply {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue-line);
  border-radius: var(--radius);
  background: #f8fafd;
}

.qa-reply__avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  object-fit: cover;
  object-position: center 22%;
}

.qa-reply__body {
  flex: 1;
  min-width: 0;
}

.qa-reply__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin-bottom: 5px;
}

.qa-reply__meta strong {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
}

.qa-reply__meta span:not(.qa-reply__badge),
.qa-reply__meta time {
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}

.qa-reply__meta time {
  margin-left: auto;
}

.qa-reply__body > p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}

.qa-reply__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 9px;
}

.qa-reply__foot .qa-item__more,
.qa-detail-action .qa-item__more {
  margin: 0;
}

.qa-item__extra {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  line-height: 1.5;
}

.qa-item__extra svg {
  width: 12px;
  height: 12px;
}

.qa-item__extra:hover {
  border-color: var(--blue);
  background: #eaf2fc;
}

.qa-detail-asker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.qa-detail-asker .qa-status {
  margin-left: auto;
}

.qa-detail-note {
  margin: 9px 0 22px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.7;
}

.qa-reply--detail {
  margin-top: 0;
  padding: 22px 24px;
  border-left-color: var(--blue);
  background: #fff;
}

.qa-reply--detail .qa-reply__avatar {
  width: 44px;
  height: 44px;
}

.qa-reply--detail .qa-reply__intro {
  margin: 12px 0 8px;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.8;
}

.qa-followup {
  margin-top: 18px;
  scroll-margin-top: calc(var(--header-h) + 24px);
  padding: 18px 20px;
  border: 1px dashed var(--blue-line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.qa-followup__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.qa-followup__label {
  flex: none;
  padding: 2px 7px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 11.5px;
  line-height: 1.6;
}

.qa-followup__q p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

.qa-followup__a {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.qa-followup__a img {
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 22%;
}

.qa-followup__a > div {
  min-width: 0;
}

.qa-followup__a p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.qa-followup__a .qa-reply__meta {
  margin-bottom: 3px;
}

.qa-detail-action {
  margin: 18px 0 6px;
}

.qa-detail-action .qa-item__more {
  font-size: 14px;
}

/* Q&A detail — editorial answer layout */
.page-qa-detail .page-hero {
  padding: calc(var(--header-h) + 66px) 0 64px;
}

.page-qa-detail .page-hero h1 {
  max-width: 940px;
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  line-height: 1.32;
  text-wrap: balance;
}

.page-qa-detail .page-hero__lead {
  max-width: 720px;
}

.page-qa-detail .qa-detail-section {
  padding-top: clamp(58px, 7vw, 84px);
}

.page-qa-detail .qa-article-shell {
  gap: 64px;
}

.page-qa-detail .qa-detail-asker {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.page-qa-detail .qa-detail-asker .qa-asker__avatar {
  width: 38px;
  height: 38px;
}

.page-qa-detail .qa-detail-asker .qa-asker__meta strong {
  font-size: 15px;
}

.qa-detail-question {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 40px -34px rgba(10, 20, 36, 0.28);
}

.qa-detail-question__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qa-detail-question .eyebrow {
  margin: 20px 0 0;
}

.page-qa-detail .qa-detail-question__title {
  margin: 10px 0 18px;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-wrap: balance;
}

.qa-detail-question__asker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.qa-detail-question__asker .qa-asker__avatar {
  width: 34px;
  height: 34px;
}

.qa-detail-question__asker .qa-asker__meta strong {
  font-size: 14.5px;
}

.qa-detail-question__asker .qa-asker__meta span {
  font-size: 12.5px;
}

.page-qa-detail .qa-detail-note {
  margin: 9px 0 20px;
}

.page-qa-detail .qa-reply--detail {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 50px -42px rgba(10, 20, 36, 0.38);
}

.page-qa-detail .qa-reply--detail::after {
  content: "“";
  position: absolute;
  top: -20px;
  right: 20px;
  color: rgba(29, 79, 145, 0.06);
  font-family: var(--font-serif);
  font-size: 124px;
  line-height: 1;
  pointer-events: none;
}

.page-qa-detail .qa-reply--detail .qa-reply__body {
  position: relative;
  z-index: 1;
}

.page-qa-detail .qa-reply--detail .qa-reply__avatar {
  width: 48px;
  height: 48px;
}

.qa-reply__badge {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.page-qa-detail .qa-reply--detail .qa-reply__meta {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-qa-detail .qa-reply__intro {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.8;
}

.qa-summary {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 2px solid var(--blue);
  background: var(--blue-soft);
}

.qa-summary__label {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.qa-summary p {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-qa-detail .qa-reply__full {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.page-qa-detail .qa-followup {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue-line);
  background: var(--paper-2);
}

.qa-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0 34px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.qa-detail-cta .eyebrow {
  margin-bottom: 4px;
}

.qa-detail-cta__text {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.qa-detail-cta .btn {
  flex: none;
}

.qa-guide {
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue);
  border-radius: var(--radius);
  background: #fff;
}

.page-qa-detail .qa-guide h2,
.page-qa-detail .qa-materials h2,
.page-qa-detail .qa-related h2 {
  margin: 6px 0 16px;
  padding: 0;
  border: 0;
  font-size: clamp(1.5rem, 2.3vw, 1.85rem);
  line-height: 1.4;
}

.qa-guide__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 30px;
}

.qa-guide__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.qa-materials {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.qa-materials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.qa-materials__grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.qa-materials__grid li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  line-height: 1;
}

.qa-related {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.qa-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.qa-related__head .text-link {
  flex: none;
  font-size: 13.5px;
}

.page-qa-detail .related-link {
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.page-qa-detail .related-link:hover {
  border-color: var(--blue-line);
  box-shadow: 0 14px 30px -26px rgba(10, 20, 36, 0.4);
  transform: translateY(-2px);
}

.qa-lawyer {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 40px -34px rgba(10, 20, 36, 0.3);
}

.qa-lawyer__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qa-lawyer__head img {
  width: 64px;
  height: 64px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.qa-lawyer__head > div {
  min-width: 0;
}

.qa-lawyer h2 {
  margin: 4px 0 2px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.3;
}

.qa-lawyer__title {
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}

.qa-lawyer__bio {
  margin: 14px 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.qa-lawyer__actions {
  display: grid;
  gap: 8px;
}

.qa-aside--detail .qa-note {
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .page-qa-detail .qa-article-shell {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .page-qa-detail .page-hero {
    padding: calc(var(--header-h) + 48px) 0 46px;
  }

  .page-qa-detail .page-hero h1 {
    font-size: clamp(1.95rem, 7.4vw, 2.5rem);
  }

  .qa-detail-question {
    padding: 20px;
  }

  .page-qa-detail .qa-detail-question__title {
    font-size: clamp(1.45rem, 6.6vw, 1.9rem);
  }

  .page-qa-detail .qa-reply--detail {
    padding: 18px 16px;
  }

  .page-qa-detail .qa-reply--detail .qa-reply__avatar {
    width: 38px;
    height: 38px;
  }

  .page-qa-detail .qa-reply--detail .qa-reply__meta time {
    width: 100%;
    margin-left: 0;
  }

  .qa-detail-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .qa-guide {
    padding: 22px 20px;
  }

  .qa-guide__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .qa-materials__grid {
    grid-template-columns: 1fr;
  }

  .qa-related__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .qa-lawyer {
    padding: 20px;
  }
}

.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  line-height: 1;
}

.pagination a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pagination .is-current {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.pagination .is-disabled {
  background: var(--paper-2);
  color: #b2bdca;
  cursor: not-allowed;
}

.pagination__nav {
  letter-spacing: 0.02em;
}

.qa-note a {
  color: var(--blue);
  transition: color 0.2s var(--ease);
}

.qa-note a:hover {
  color: var(--blue-deep);
}

.qa-ask-section {
  border-top: 1px solid var(--line);
}

.qa-main .qa-ask-section {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.qa-main .qa-ask-section .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.qa-main .qa-ask-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
}

.qa-main .qa-ask-intro h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
}

.qa-main .qa-ask-intro > p:not(.eyebrow) {
  font-size: 15px;
}

.qa-main .qa-ask-intro ul {
  margin-top: 16px;
}

.qa-main .qa-ask-steps {
  margin-top: 20px;
  padding-top: 16px;
}

.qa-main .qa-ask-card {
  padding: 24px;
}

.qa-main .qa-ask-card h3 {
  font-size: 1.55rem;
}

.qa-ask-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.qa-ask-intro h2 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.3;
}

.qa-ask-intro > p:not(.eyebrow) {
  max-width: 36em;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.qa-ask-intro ul {
  margin: 22px 0 0;
  padding-left: 1.15em;
}

.qa-ask-intro li {
  margin: 7px 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.qa-ask-intro li::marker {
  color: var(--blue);
}

.qa-ask-steps {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.qa-ask-steps h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.qa-ask-step {
  display: flex;
  gap: 14px;
  padding: 6px 0;
}

.qa-ask-step span {
  flex: none;
  color: var(--blue);
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.8;
}

.qa-ask-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.qa-ask-card h3 {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.4;
}

.qa-ask-card .consult-form {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Article / case detail
   -------------------------------------------------------------------------- */
.article-hero .page-hero__meta {
  margin-top: 22px;
}

.legal-wrap {
  max-width: 860px;
}

.legal-body {
  font-size: 16.5px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 64px;
  justify-content: center;
  align-items: start;
}

.article-body {
  color: #27364a;
  font-size: 17.5px;
  line-height: 2;
}

.article-body > p:first-child {
  color: var(--text);
  font-size: 18px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h2 {
  margin: 46px 0 16px;
  text-wrap: balance;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
  color: var(--ink);
  font-size: 25px;
  line-height: 1.45;
}

.article-body h3 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.5;
}

.article-body ul,
.article-body ol {
  margin: 0 0 22px;
  padding-left: 1.35em;
}

.article-body li {
  margin: 7px 0;
}

.article-body li::marker {
  color: var(--blue);
}

.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body p a,
.article-body li a,
.article-body blockquote a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 2px solid var(--blue);
  background: var(--paper-2);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.85;
}

.answer-box {
  margin: 0 0 32px;
  padding: 24px 28px;
  border: 1px solid var(--blue-line);
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
}

.answer-box p {
  margin: 0;
  color: var(--navy);
  font-size: 16.5px;
  line-height: 1.9;
}

.answer-box strong {
  color: var(--navy);
}

.article-disclaimer {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.8;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 26px);
}

.aside-author {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.aside-author__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.aside-author__head img {
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.aside-author__head strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.aside-author__head span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.aside-author p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.aside-author .btn {
  margin-top: 18px;
}

.aside-consult {
  margin-top: 16px;
  padding: 26px;
  background: var(--ink);
  color: #fff;
}

.aside-consult .eyebrow {
  color: #8fb6e8;
  font-size: 11.5px;
}

.aside-consult strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.aside-consult p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}

.aside-consult .btn {
  margin-top: 16px;
}

.aside-related {
  margin-top: 16px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.aside-related h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.aside-related a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  transition: color 0.2s var(--ease);
}

.aside-related a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.aside-related a:hover {
  color: var(--blue);
}

.aside-related a span {
  display: block;
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.article-foot {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.article-foot h2 {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  font-size: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.related-link {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.2s var(--ease);
}

.related-link:hover {
  border-color: var(--blue-line);
}

.related-link span {
  color: var(--blue);
  font-size: 12.5px;
}

.related-link strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.case-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0 0 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.case-facts div {
  padding: 18px 20px;
  background: var(--paper-2);
}

.case-facts dt {
  color: var(--muted-2);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.case-facts dd {
  margin-top: 4px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.case-outcome {
  margin: 28px 0;
  padding: 22px 26px;
  border: 1px solid var(--blue-line);
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
}

.case-outcome h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.case-outcome p {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 12, 22, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 90vh;
  max-height: 90svh;
  padding: 38px;
  overflow-y: auto;
  border-top: 3px solid var(--blue);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(10px) scale(0.99);
  transition: transform 0.3s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: none;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.modal__close:hover {
  border-color: var(--blue-line);
  color: var(--blue);
}

.modal__dialog h2 {
  margin-top: 12px;
  font-size: 27px;
  line-height: 1.35;
}

.modal__lead {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.modal__dialog .consult-form {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Page-load motion (hero only; no scroll dependency)
   -------------------------------------------------------------------------- */
.hero__content {
  animation: hero-in 0.8s var(--ease) both;
}

.hero__visual {
  animation: hero-in 0.9s 0.08s var(--ease) both;
}

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

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

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

  .hero__content,
  .hero__visual {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Tactile button depth
   -------------------------------------------------------------------------- */
.btn {
  background-clip: padding-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(10, 20, 36, 0.08);
}

.btn--primary {
  border-color: #123a6a;
  background: linear-gradient(180deg, #2f6cbb 0%, #1d4f91 55%, #17427a 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 2px 4px rgba(10, 20, 36, 0.18),
    0 10px 22px -12px rgba(23, 66, 122, 0.65);
}

.btn--primary:hover {
  border-color: #17427a;
  background: linear-gradient(180deg, #3576c7 0%, #2362aa 55%, #1a4b88 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 4px 8px rgba(10, 20, 36, 0.16),
    0 16px 30px -14px rgba(23, 66, 122, 0.72);
}

.btn--outline {
  border-color: #cfddef;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  color: var(--blue);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(10, 20, 36, 0.06);
}

.btn--outline:hover {
  border-color: #17427a;
  background: linear-gradient(180deg, #2f6cbb 0%, #17427a 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 4px 8px rgba(10, 20, 36, 0.14), 0 14px 26px -14px rgba(23, 66, 122, 0.62);
}

.btn--light {
  border-color: #d6dfeb;
  background: linear-gradient(180deg, #ffffff 0%, #eef3f9 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(10, 20, 36, 0.12),
    0 12px 24px -14px rgba(0, 0, 0, 0.5);
}

.btn--light:hover {
  border-color: #cfddef;
  background: linear-gradient(180deg, #ffffff 0%, #e6effa 100%);
  color: var(--blue-deep);
  box-shadow: inset 0 1px 0 #fff, 0 4px 8px rgba(10, 20, 36, 0.12),
    0 16px 28px -14px rgba(0, 0, 0, 0.5);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.025) 100%
  );
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 20px -14px rgba(0, 0, 0, 0.55);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.19) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 12px 24px -14px rgba(0, 0, 0, 0.55);
}

.btn--dark {
  border-color: #060d18;
  background: linear-gradient(180deg, #1b2a40 0%, #0a1424 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 8px 20px -14px rgba(0, 0, 0, 0.6);
}

.btn--dark:hover {
  border-color: #12305c;
  background: linear-gradient(180deg, #22354f 0%, #0e1d33 100%);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(10, 20, 36, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.filter-btn {
  border-color: #d9e2ee;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(10, 20, 36, 0.06);
}

.filter-btn:hover {
  border-color: var(--blue-line);
  background: linear-gradient(180deg, #ffffff 0%, #edf3fb 100%);
}

.filter-btn.is-active {
  border-color: #123a6a;
  background: linear-gradient(180deg, #2f6cbb 0%, #17427a 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 4px 10px -6px rgba(23, 66, 122, 0.65);
}

.filter-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(10, 20, 36, 0.2);
}

.pagination a,
.pagination span {
  border-color: #d9e2ee;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(10, 20, 36, 0.06);
}

.pagination a:hover {
  border-color: var(--blue);
  background: linear-gradient(180deg, #ffffff 0%, #edf3fb 100%);
  box-shadow: inset 0 1px 0 #fff, 0 4px 8px -6px rgba(23, 66, 122, 0.35);
}

.pagination .is-current {
  border-color: #123a6a;
  background: linear-gradient(180deg, #2f6cbb 0%, #17427a 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 4px 10px -6px rgba(23, 66, 122, 0.65);
}

.pagination .is-disabled {
  border-color: var(--line);
  background: var(--paper-2);
  box-shadow: none;
}

.mobile-bar__item--primary {
  background: linear-gradient(180deg, #2f6cbb 0%, #17427a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.mobile-bar__item--primary:active {
  background: linear-gradient(180deg, #2362aa 0%, #123a6a 100%);
  box-shadow: inset 0 2px 4px rgba(10, 20, 36, 0.24);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .header-phone {
    display: none;
  }

  .site-nav {
    gap: 26px;
  }
}

@media (min-width: 1400px) {
  .side-rail {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .about__badge {
    left: 12px;
  }

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

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

  .about__visual {
    max-width: 440px;
  }

  .profile__media {
    position: static;
    max-width: 420px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .qa-layout,
  .qa-ask-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .qa-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .qa-disclaimer {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .article-shell {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .article-aside > * {
    margin-top: 0;
  }

  .aside-related {
    grid-column: 1 / -1;
  }

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

  .process__step {
    padding: 26px 26px 26px 0;
    border-bottom: 1px solid var(--line);
  }

  .process__step:nth-child(2n) {
    padding-right: 0;
    border-right: 0;
  }

  .process__step:nth-child(2n + 1) {
    padding-left: 0;
  }

  .process__step:nth-child(n + 3) {
    border-bottom: 0;
  }

  .process__step + .process__step {
    padding-left: 26px;
  }

  .process__step:nth-child(2n + 1) {
    padding-left: 0;
  }

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

  .principle {
    padding: 26px 22px;
  }
}

@media (max-width: 900px) {
  .local-seo__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :root {
    --header-h: 64px;
  }

  .site-header__inner {
    width: calc(100% - 32px);
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .brand__mark::after {
    bottom: 6px;
    width: 11px;
  }

  .brand__text strong {
    font-size: 19px;
  }

  .brand__name em {
    font-size: 10.5px;
  }

  .brand__text small {
    font-size: 11.5px;
  }

  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  .mobile-bar {
    display: block;
  }

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

  .about__grid,
  .profile__grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    justify-self: start;
    max-width: 340px;
  }

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

  .stat {
    padding: 24px 22px;
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(-n + 2) {
    border-top: 0;
  }

  .expertise__item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }

  .expertise__tags {
    grid-column: 2;
    justify-content: flex-start;
  }

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

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

  .insight-featured {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px;
  }

  .insight-featured__side {
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta-band__actions {
    flex: initial;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 62px 0;
  }

  .section--compact {
    padding: 54px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 34px;
  }

  .section-head h2 {
    font-size: 1.85rem;
  }

  .section-head__lead {
    font-size: 15.5px;
  }

  .section-head__aside {
    padding-bottom: 0;
  }

  .hero {
    padding: calc(var(--header-h) + 52px) 0 54px;
  }

  .hero__title {
    gap: 10px;
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .hero__title span {
    font-size: 0.26em;
    letter-spacing: 0.16em;
  }

  .hero__role {
    font-size: 14px;
  }

  .hero__role-extra {
    font-size: 13px;
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 1.35rem;
  }

  .hero__desc {
    font-size: 15.5px;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero__actions .btn {
    flex: 1;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero__meta {
    margin-top: 30px;
  }

  .hero__meta li {
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    border-right: 0;
    font-size: 13.5px;
  }

  .hero__meta li:last-child {
    margin-bottom: 0;
  }

  .hero__visual {
    max-width: 300px;
  }

  .portrait__badge {
    bottom: 20px;
    left: 0;
    padding: 11px 15px;
  }

  .portrait__badge strong {
    font-size: 14px;
  }

  .portrait__badge span {
    font-size: 12px;
  }

  .portrait__frame {
    inset: 12px -10px -10px 12px;
  }

  .portrait__seal {
    top: 42px;
    width: 50px;
    font-size: 13px;
  }

  .stat {
    display: block;
  }

  .stat__num {
    font-size: 2rem;
  }

  .stat__label {
    margin-top: 4px;
    font-size: 13px;
  }

  .services__grid,
  .cases__grid,
  .posts,
  .visit__grid,
  .consult__grid,
  .footer__top,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .service {
    padding: 28px 24px;
  }

  .service p {
    min-height: 0;
  }

  .about__visual {
    max-width: none;
    padding-bottom: 26px;
  }

  .about__photo,
  .profile__photo {
    box-shadow: none;
  }

  .about__badge {
    right: 16px;
    bottom: 16px;
    left: auto;
    min-width: 0;
    padding: 16px 18px;
  }

  .about__badge strong {
    font-size: 15px;
  }

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

  .cases__grid {
    gap: 14px;
  }

  .case-card {
    padding: 24px;
  }

  .case-card h3 {
    font-size: 18px;
  }

  .post,
  .post:nth-child(-n + 2) {
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }

  .post:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .consult__grid {
    border-bottom: 0;
  }

  .consult-card {
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .consult-card:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .consult-card:last-child {
    padding-bottom: 30px;
  }

  .consult-card__action .btn {
    width: 100%;
  }

  .visit__card {
    padding: 32px 24px;
  }

  .visit__actions {
    margin-top: 28px;
  }

  .visit__list {
    padding: 6px 24px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 38px;
  }

  .footer__brand,
  .footer__contact {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .page-hero {
    padding: calc(var(--header-h) + 50px) 0 46px;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  .page-hero__lead {
    font-size: 15.5px;
  }

  .page-hero__eyebrow {
    margin-top: 24px;
  }

  .profile__photo {
    padding: 10px;
  }

  .profile__card {
    margin: -34px 12px 0;
  }

  .bio p {
    font-size: 16px;
  }

  .bio blockquote {
    font-size: 17.5px;
  }

  .expertise__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px 0;
  }

  .expertise__num {
    display: none;
  }

  .expertise__tags {
    grid-column: auto;
    margin-top: 6px;
  }

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

  .process__step,
  .process__step + .process__step,
  .process__step:nth-child(2n),
  .process__step:nth-child(2n + 1) {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process__step:last-child {
    border-bottom: 0;
  }

  .cases-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .filter-bar {
    gap: 7px;
  }

  .filter-btn {
    padding: 7px 13px;
    font-size: 13.5px;
  }

  .case-grid .case-card {
    padding: 24px;
  }

  .form-card {
    padding: 26px 20px;
  }

  .contact-item__value {
    font-size: 17px;
  }

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

  .contact-ways__grid a {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
  }

  .contact-item__value--phone {
    font-size: 23px;
  }

  .qa-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .qa-item__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .qa-item__top .qa-item__cat {
    margin-top: 0;
  }

  .qa-status {
    margin-left: 44px;
  }

  .qa-reply {
    gap: 10px;
    padding: 15px;
  }

  .qa-reply__avatar {
    width: 34px;
    height: 34px;
  }

  .qa-reply__meta time {
    width: 100%;
    margin-left: 0;
  }

  .qa-detail-asker .qa-status {
    margin-left: 46px;
  }

  .qa-reply--detail {
    padding: 18px 16px;
  }

  .qa-reply--detail .qa-reply__avatar {
    width: 38px;
    height: 38px;
  }

  .qa-followup {
    padding: 15px;
  }

  .qa-followup__a {
    gap: 9px;
  }

  .qa-item {
    padding: 24px 0 22px;
  }

  .qa-item__question {
    gap: 10px;
    font-size: 18px;
  }

  .qa-item__mark {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .qa-item__answer {
    gap: 10px;
  }

  .qa-item__answer p {
    font-size: 15px;
  }

  .qa-item__more {
    margin-left: 36px;
  }

  .qa-aside {
    grid-template-columns: 1fr;
  }

  .qa-disclaimer {
    grid-column: auto;
  }

  .qa-ask-grid {
    gap: 28px;
  }

  .qa-main .qa-ask-section {
    margin-top: 26px;
    padding: 22px 20px;
  }

  .qa-main .qa-ask-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .qa-main .qa-ask-card {
    padding: 22px;
  }

  .qa-ask-intro > p:not(.eyebrow) {
    font-size: 15.5px;
  }

  .article-body {
    font-size: 16.5px;
    line-height: 1.95;
  }

  .article-body > p:first-child {
    font-size: 17px;
  }

  .article-body h2 {
    margin-top: 36px;
    font-size: 22px;
  }

  .article-body h3 {
    font-size: 18px;
  }

  .article-aside {
    display: block;
  }

  .aside-consult,
  .aside-related {
    margin-top: 16px;
  }

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

  .case-facts {
    grid-template-columns: 1fr;
  }

  .insight-featured {
    padding: 28px 24px;
  }

  .insight-featured h2 {
    font-size: 1.45rem;
    text-wrap: balance;
  }

  .modal {
    padding: 12px;
    align-items: end;
  }

  .modal__dialog {
    width: 100%;
    max-height: 92svh;
    padding: 30px 20px 24px;
  }

  .modal__dialog h2 {
    font-size: 24px;
  }

  .mobile-menu {
    padding-right: 16px;
    padding-left: 16px;
  }

  .faq summary {
    font-size: 16px;
    padding-right: 36px;
  }

  .faq__a {
    padding-right: 30px;
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .local-seo__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: 2.9rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .brand__text small {
    display: none;
  }

  .stat {
    padding: 20px 16px;
  }

  .contact-item {
    gap: 14px;
  }

  .contact-item__icon {
    width: 40px;
    height: 40px;
  }

  .visit__watermark {
    right: 8px;
    bottom: -16px;
    font-size: 90px;
  }
}

/* --------------------------------------------------------------------------
   Q&A list refresh
   -------------------------------------------------------------------------- */
.qa-list {
  display: grid;
  gap: 16px;
}

.qa-item {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.qa-item:hover,
.qa-item:focus-within {
  border-color: var(--blue-line);
  box-shadow: 0 18px 40px -34px rgba(10, 20, 36, 0.35);
  transform: translateY(-1px);
}

.qa-item__question {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.qa-item__question a {
  color: var(--ink);
}

.qa-item__question a:hover {
  color: var(--blue);
}

.qa-reply {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue-line);
  background: #f8fafd;
}

.qa-reply__summary {
  margin-top: 10px;
  padding: 11px 13px;
  border-left: 2px solid var(--blue-line);
  background: rgba(255, 255, 255, 0.78);
}

.qa-reply__summary-label {
  display: block;
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.qa-reply__summary p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.qa-reply__foot {
  margin-top: 10px;
}

.qa-side-lawyer {
  padding: 26px;
  border: 1px solid #1d3552;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #12243b 0%, #08111f 100%);
  color: #fff;
}

.qa-side-lawyer__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qa-side-lawyer__head img {
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 22%;
}

.qa-side-lawyer__head > div {
  min-width: 0;
}

.qa-side-lawyer h2 {
  margin: 4px 0 2px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.3;
}

.qa-side-lawyer__title {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  line-height: 1.5;
}

.qa-side-lawyer__text {
  margin: 16px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.8;
}

.qa-side-lawyer .btn + .btn {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .qa-list {
    gap: 14px;
  }

  .qa-item {
    padding: 20px;
  }

  .qa-item__question {
    font-size: 19px;
  }

  .qa-reply {
    padding: 14px;
  }

  .qa-reply__summary p {
    font-size: 14.5px;
  }

  .qa-side-lawyer {
    padding: 20px;
  }

  .qa-side-lawyer__head img {
    width: 50px;
    height: 50px;
  }

  .qa-side-lawyer h2 {
    font-size: 1.25rem;
  }
}

/* Q&A list — featured card and answer block */
.page-qa .page-hero::after {
  content: "Q&A";
  position: absolute;
  top: 50%;
  right: 4%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-serif);
  font-size: clamp(110px, 16vw, 230px);
  letter-spacing: -0.08em;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-qa .page-hero .container {
  position: relative;
  z-index: 1;
}

.qa-item__side {
  display: flex;
  align-items: center;
  flex: none;
  gap: 8px;
  margin-top: 4px;
}

.qa-item__flag {
  padding: 2px 7px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.qa-answer {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue-line);
  background: #f8fafd;
}

.qa-answer__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.qa-answer__head .qa-reply__avatar {
  width: 40px;
  height: 40px;
}

.qa-answer__who {
  min-width: 0;
}

.qa-answer__head .qa-reply__meta {
  margin-bottom: 0;
}

.qa-answer__head time {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}

.qa-answer__conclusion {
  margin: 12px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

.qa-answer__conclusion span {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 5px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  vertical-align: 2px;
}

.qa-answer .qa-item__more {
  margin: 10px 0 0;
}

.qa-item--featured {
  border-color: var(--blue-line);
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 72%);
}

.qa-item--featured .qa-item__question {
  font-size: 25px;
}

.qa-item--featured .qa-answer {
  background: #fff;
}

@media (max-width: 768px) {
  .page-qa .page-hero::after {
    display: none;
  }

  .qa-item__side {
    margin-top: 0;
  }

  .qa-item--featured .qa-item__question {
    font-size: 21px;
  }

  .qa-answer {
    padding: 14px;
  }

  .qa-answer__head {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 10px;
    align-items: start;
  }

  .qa-answer__head .qa-reply__avatar {
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
  }

  .qa-answer__who {
    grid-column: 2;
  }

  .qa-answer__head time {
    grid-column: 2;
    width: 100%;
    margin-left: 0;
  }

  .qa-answer__conclusion {
    font-size: 17.5px;
  }
}

/* Q&A list — editorial index */
.page-qa .page-hero::after {
  display: none;
}

.qa-list {
  display: block;
}

.qa-entry {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.qa-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.qa-entry__rail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.qa-entry__no {
  white-space: nowrap;
  color: var(--blue);
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.qa-entry__cat {
  margin-top: 8px;
  color: var(--blue);
  font-size: 12.5px;
  line-height: 1.5;
}

.qa-entry__date {
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.5;
}

.qa-entry__body {
  min-width: 0;
  padding-left: 26px;
}

.qa-entry__asker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.qa-entry__asker .qa-asker__avatar {
  width: 30px;
  height: 30px;
}

.qa-entry__asker .qa-asker__meta strong {
  font-size: 14px;
}

.qa-entry__asker .qa-asker__meta span {
  font-size: 12px;
}

.qa-entry__asker .qa-status {
  margin-left: auto;
}

.qa-entry__question {
  margin: 12px 0 0;
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.qa-entry__question a {
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.qa-entry__question a:hover {
  color: var(--blue);
}

.qa-entry__answer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.qa-entry__lawyer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.qa-entry__lawyer img {
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.qa-entry__who {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.qa-entry__who strong {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}

.qa-entry__who > span:not(.qa-reply__badge) {
  color: var(--muted-2);
  font-size: 12px;
}

.qa-entry__lawyer time {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.5;
}

.qa-entry__conclusion {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.qa-entry .qa-item__more {
  margin: 9px 0 0;
  font-size: 13.5px;
}

@media (max-width: 768px) {
  .qa-entry {
    grid-template-columns: 1fr;
    padding: 24px 0;
  }

  .qa-entry__rail {
    flex-direction: row;
    align-items: center;
    gap: 9px;
    padding: 0 0 10px;
    border-right: 0;
  }

  .qa-entry__no {
    font-size: 19px;
  }

  .qa-entry__cat {
    margin-top: 0;
  }

  .qa-entry__body {
    padding: 12px 0 0;
  }

  .qa-entry__question {
    font-size: 19px;
  }

  .qa-entry__lawyer time {
    width: 100%;
    margin-left: 0;
  }

  .qa-entry__asker .qa-status {
    margin-left: 40px;
  }
}

/* Q&A detail — editorial answer */
.qa-question-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.qa-question-head__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qa-question-head__meta .qa-status {
  margin-left: auto;
}

.page-qa-detail .qa-question-head__title {
  margin: 16px 0 18px;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 2.9vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-wrap: balance;
}

.qa-question-head__asker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qa-question-head__asker .qa-asker__avatar {
  width: 34px;
  height: 34px;
}

.qa-question-head__asker .qa-asker__meta strong {
  font-size: 14.5px;
}

.qa-question-head__asker .qa-asker__meta span {
  font-size: 12.5px;
}

.page-qa-detail .qa-detail-note {
  margin: 9px 0 22px;
}

.qa-answer-detail {
  padding-left: 24px;
  border-left: 2px solid var(--blue-line);
}

.qa-answer-detail__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.qa-answer-detail__head img {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.qa-answer-detail__head .qa-reply__meta {
  flex: 1;
  margin-bottom: 0;
}

.qa-answer-detail__head .qa-reply__meta time {
  margin-left: auto;
}

.qa-answer-detail__intro {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.8;
}

.qa-answer-detail__conclusion {
  margin: 16px 0 14px;
}

.qa-answer-detail__conclusion > span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.qa-answer-detail__conclusion p {
  margin: 4px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

.qa-answer-detail__body p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.qa-detail-cta {
  margin: 26px 0 34px;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.qa-related {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.qa-related__head {
  margin-bottom: 12px;
}

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

.qa-related-link {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.qa-related-link > span:first-child {
  color: var(--blue);
  font-size: 12px;
  line-height: 1.5;
}

.qa-related-link strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.qa-related-link__arrow {
  color: var(--blue);
  font-size: 14px;
  text-align: right;
  transition: transform 0.2s var(--ease);
}

.qa-related-link:hover strong {
  color: var(--blue);
}

.qa-related-link:hover .qa-related-link__arrow {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .page-qa-detail .qa-question-head__title {
    font-size: clamp(1.55rem, 6.8vw, 1.95rem);
  }

  .qa-answer-detail {
    padding-left: 16px;
  }

  .qa-answer-detail__head .qa-reply__meta time {
    width: 100%;
    margin-left: 0;
  }

  .qa-answer-detail__conclusion p {
    font-size: 17.5px;
  }

  .qa-answer-detail__body p {
    font-size: 15.5px;
  }

  .qa-related-link {
    grid-template-columns: 1fr 18px;
    gap: 4px 10px;
  }

  .qa-related-link > span:first-child {
    grid-column: 1;
  }

  .qa-related-link strong {
    grid-column: 1;
  }

  .qa-related-link__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

.page-qa-detail .page-hero {
  padding: calc(var(--header-h) + 48px) 0 50px;
}

/* Laravel 在线答疑表单：问题类型下拉，沿用输入框视觉 */
.field select {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a1424' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.field select:focus {
  outline: none;
  border-color: var(--blue);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(29, 79, 145, 0.08);
}
