:root {
  --navy: #0b1f36;
  --navy-2: #123352;
  --ink: #17212b;
  --muted: #687582;
  --gold: #b79a5b;
  --gold-light: #e7dcc0;
  --paper: #f7f8f8;
  --line: #d8dee3;
  --white: #ffffff;
  --success: #22795b;
  --danger: #a64242;
  --shadow: 0 16px 38px rgba(10, 31, 54, 0.09);
  font-family: "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

/* Front office v2 public experience */
.button.ghost { color: #fff; border-color: rgba(255,255,255,.68); background: rgba(255,255,255,.08); }
.button.ghost:hover { background: rgba(255,255,255,.18); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; max-width: 650px; }
.hero-trust span { padding: 7px 10px; border: 1px solid rgba(231,220,192,.45); background: rgba(8,24,40,.45); color: #eef3f6; font-size: 12px; }
.service-card-link { display: flex; flex-direction: column; min-height: 196px; }
.managed-image { position: relative; display: block; width: 100%; margin: 0; aspect-ratio: var(--image-ratio, 16 / 9); overflow: hidden; background: #e8edf0; border: 1px solid rgba(216,222,227,.95); }
.managed-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.managed-image .image-placeholder { position: absolute; inset: 0; display: none; place-items: center; padding: 16px; color: #7a8791; background: linear-gradient(135deg, #eef2f4, #dfe6ea); font-size: 13px; text-align: center; }
.managed-image:not(:has(img)) .image-placeholder, .managed-image.image-error .image-placeholder { display: grid; }
.service-card-cover, .article-card-cover { margin-bottom: 18px; border: 0; }
.row-cover { min-width: 168px; }
.detail-cover { margin-bottom: 30px; border-bottom: 3px solid var(--gold); }
.split-image { min-height: 405px; box-shadow: 0 18px 34px rgba(10, 31, 54, .13); }
.profile-photo { min-height: 470px; border-bottom: 3px solid var(--gold); background: #112940; }
.gallery-image { height: auto; min-height: 230px; }
.read-more { margin-top: auto; color: var(--navy); font-size: 13px; font-weight: 700; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; background: #eef2f3; color: #53616d; font-size: 12px; border: 1px solid #dde5e9; }
.service-list { display: grid; gap: 16px; }
.service-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 25px; align-items: center; padding: 25px 28px; background: #fff; border: 1px solid var(--line); }
.service-row h2 { color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.service-row p { color: var(--muted); margin: 0; line-height: 1.7; font-size: 14px; }
.row-actions { display: flex; gap: 8px; align-items: center; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.detail-main { min-width: 0; }
.detail-block { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.detail-block h2 { color: var(--navy); font-size: 23px; margin-bottom: 16px; }
.detail-block ul, .detail-block ol { margin: 0; padding-left: 22px; color: #40505d; line-height: 1.9; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); background: #fbfcfc; padding: 14px 16px; }
.faq-list summary { cursor: pointer; color: var(--navy); font-weight: 700; }
.faq-list p { color: var(--muted); line-height: 1.8; margin: 10px 0 0; }
.detail-side { position: sticky; top: 94px; }
.side-panel { border-top: 3px solid var(--gold); background: #f8fafb; padding: 22px; box-shadow: 0 8px 20px rgba(10,31,54,.05); }
.side-panel h2 { color: var(--navy); font-size: 20px; margin-bottom: 10px; }
.side-panel p { color: var(--muted); line-height: 1.75; font-size: 13px; }
.side-panel .button { width: 100%; margin-top: 10px; }
.contact-side-panel { background: var(--navy); border: 1px solid rgba(183,154,91,.42); border-top: 3px solid var(--gold); color: #fff; padding: 26px; }
.contact-side-panel .eyebrow { color: var(--gold); }
.contact-side-panel h2 { color: #fff; margin: 10px 0 9px; }
.contact-side-panel > p { margin: 0 0 20px; color: #bfcbd5; }
.contact-side-panel .contact-info-list { display: grid; gap: 11px; margin: 0; }
.contact-side-panel .contact-info-list > div { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
.contact-side-panel dt { color: var(--gold); font-size: 12px; }
.contact-side-panel dd { margin: 0; color: #d8e1e8; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.contact-side-panel .wechat-qr.compact { margin-top: 24px; text-align: left; }
.contact-side-panel .wechat-qr.compact .wechat-qr-frame { width: 116px; }
.contact-side-panel .wechat-qr.compact > p { margin: 8px 0 0; color: #d8e1e8; font-size: 11px; }
.filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) 190px auto; gap: 12px; margin-bottom: 22px; padding: 18px; background: #f7f9fa; border: 1px solid var(--line); }
.filter-bar input, .filter-bar select { width: 100%; min-height: 40px; border: 1px solid #cdd6dc; background: #fff; padding: 0 11px; color: var(--ink); }
.trust-panel { background: #f7f9fa; border: 1px solid var(--line); padding: 16px; margin-bottom: 25px; }
.trust-panel dl { display: grid; grid-template-columns: 90px 1fr; gap: 9px 16px; margin: 0; font-size: 13px; }
.trust-panel dt { color: var(--muted); }
.trust-panel dd { margin: 0; color: var(--ink); }
.article-tags { margin-top: 28px; }
.mobile-consult-bar { display: none; }

@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}

@media (max-width: 650px) {
  body { padding-bottom: 72px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .listing-item, .service-row, .filter-bar { grid-template-columns: 1fr; gap: 11px; }
  .listing-item .button, .service-row .button { width: fit-content; }
  .row-actions { justify-content: flex-start; flex-wrap: wrap; }
  .trust-panel dl { grid-template-columns: 1fr; gap: 4px; }
  .mobile-consult-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: #081828; color: #fff; border-top: 1px solid rgba(183,154,91,.68); box-shadow: 0 -8px 20px rgba(3,13,24,.2); }
  .mobile-consult-bar a, .mobile-consult-bar button { min-height: 58px; display: grid; place-items: center; border: 0; border-right: 1px solid rgba(255,255,255,.12); background: transparent; color: #fff; font-size: 13px; font-weight: 700; }
  .mobile-consult-bar a:nth-child(2) { background: var(--gold); color: var(--navy); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--paper); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: #d9c185; color: var(--navy); }
:focus-visible { outline: 3px solid #d5b86d; outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11, 31, 54, .98); color: var(--white); border-bottom: 1px solid rgba(183, 154, 91, .68); box-shadow: 0 5px 18px rgba(3, 13, 24, .18); }
.header-inner { width: min(1120px, calc(100% - 64px)); height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 13px; font-family: Montserrat, sans-serif; font-weight: 700; letter-spacing: 1px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: var(--gold); background: transparent; border: 1px solid var(--gold); font: 700 13px Montserrat, sans-serif; letter-spacing: 0; }
.brand small { display: block; margin-top: 3px; color: #b8c4d0; font: 400 11px Montserrat, sans-serif; letter-spacing: 1.5px; }
.main-nav { display: flex; height: 100%; align-items: center; gap: 25px; font-size: 14px; }
.main-nav a { align-self: center; display: grid; place-items: center; padding: 8px 0 7px; border-bottom: 2px solid transparent; color: #d9e0e7; transition: color .18s ease, border-color .18s ease; }
.main-nav a.active, .main-nav a:hover { color: var(--white); border-color: var(--gold); }
.nav-toggle, .nav-backdrop, .mobile-nav-contact { display: none; }
.header-link { color: var(--gold); font-size: 13px; }
.header-link:hover { color: #e6cf96; }

.hero { background-color: #081828; color: var(--white); min-height: 612px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; display: flex; justify-content: flex-end; pointer-events: none; }
.hero-bg img { width: auto; height: 100%; max-width: none; object-fit: contain; object-position: right center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 20, 35, .98) 0%, rgba(5, 20, 35, .9) 31%, rgba(5, 20, 35, .44) 62%, rgba(5, 20, 35, .16) 100%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 34, .08), rgba(6, 20, 34, .2)); }
.hero-inner { width: min(1120px, calc(100% - 64px)); margin: auto; padding: 122px 0 108px; position: relative; z-index: 1; }
.eyebrow { color: var(--gold); font: 600 12px Montserrat, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
h1, h2, h3, h4 { font-family: Montserrat, "Noto Sans SC", sans-serif; margin: 0; letter-spacing: 0; }
.hero h1 { margin-top: 18px; max-width: 650px; font-size: 50px; line-height: 1.25; text-shadow: 0 2px 13px rgba(0, 0, 0, .25); }
.hero p { max-width: 555px; margin: 23px 0 33px; color: #edf2f5; line-height: 1.9; font-size: 16px; text-shadow: 0 1px 10px rgba(0, 0, 0, .32); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 43px; border: 1px solid transparent; border-radius: 2px; padding: 0 19px; font-size: 14px; font-weight: 600; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--gold); color: var(--navy); box-shadow: 0 7px 16px rgba(0, 0, 0, .16); }
.button.primary:hover { background: #d2b977; }
.button.outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.button.outline:hover { background: var(--navy); color: var(--white); }
.button.danger { color: var(--danger); border-color: #d6aaaa; background: #fff; }
.button.small { min-height: 34px; padding: 0 12px; font-size: 12px; }
.container { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.section { padding: 78px 0; background: var(--white); }
.section.alt { background: var(--paper); }
.hero-slogan { display: inline-flex; align-items: center; max-width: min(620px, 100%); min-height: 34px; margin-top: 17px; padding: 0 14px; color: #f5f8fa; background: rgba(8,24,40,.46); border-left: 3px solid var(--gold); box-shadow: 0 8px 20px rgba(0,0,0,.12); font-size: 15px; font-weight: 700; line-height: 1.5; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-head h2 { font-size: 30px; color: var(--navy); margin-top: 10px; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.8; max-width: 470px; }
.defense-results-section { padding: 104px 0 112px; background: linear-gradient(180deg, #fff 0%, #fbfcfc 100%); }
.results-head { display: flex; align-items: start; justify-content: space-between; gap: 32px; margin-bottom: 58px; }
.results-head h2 { margin-top: 12px; color: var(--navy); font-size: 48px; line-height: 1.22; }
.results-head p { max-width: 460px; margin: 12px 0 0; color: var(--muted); line-height: 1.85; }
.results-panel { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 340px; align-items: center; padding: 62px 44px; background: #fff; border: 1px solid #d5d2c8; box-shadow: 0 22px 48px rgba(10,31,54,.1); }
.result-metric { position: relative; display: grid; justify-items: center; gap: 34px; padding: 0 30px; text-align: center; }
.result-metric + .result-metric { border-left: 2px solid rgba(151,137,106,.55); }
.result-metric span { display: inline-flex; min-height: 42px; align-items: center; padding: 0 22px; background: #a99b7d; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.result-metric strong { color: #9a8e75; font: 500 104px/1 Montserrat, "Noto Sans SC", sans-serif; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.result-metric strong b { font: inherit; }
.result-metric small { margin-left: 10px; font-size: 34px; font-weight: 500; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 254px; padding: 29px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.service-card:hover { position: relative; z-index: 1; background: #fcfdfd; box-shadow: var(--shadow); transform: translateY(-4px); }
.number { color: var(--gold); font: 600 13px Montserrat, sans-serif; }
.service-card h3 { margin: 32px 0 10px; font-size: 20px; color: var(--navy); }
.service-card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 14px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
.profile-advantages-section { background: #f5f4f1; }
.profile-advantages-layout { display: grid; grid-template-columns: minmax(320px, .94fr) minmax(0, 1.06fr); gap: 0; align-items: stretch; background: #fff; box-shadow: 0 18px 44px rgba(10,31,54,.1); border: 1px solid #d9d4c8; }
.profile-advantage-image { min-height: 520px; border: 0; box-shadow: none; }
.profile-advantage-copy { padding: 58px 58px 54px; background: #fbfaf7; border-top: 3px solid var(--gold); }
.profile-advantage-copy h2 { margin: 12px 0 16px; color: var(--navy); font-size: 36px; line-height: 1.3; }
.profile-advantage-lead { margin: 0; color: #5d6872; line-height: 1.9; font-size: 15px; }
.advantage-list { display: grid; gap: 14px; margin-top: 32px; }
.advantage-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 18px 20px; background: #fff; border: 1px solid #ddd8cd; border-left: 3px solid var(--gold); box-shadow: 0 8px 20px rgba(10,31,54,.035); }
.advantage-card > span { color: var(--gold); font: 700 15px Montserrat, sans-serif; padding-top: 3px; }
.advantage-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.advantage-card p { margin: 0; color: #4f5d69; line-height: 1.85; font-size: 14px; }
.portrait { min-height: 405px; background: #dde4e7 url("/assets/law-office-hero.png") 88% center / 950px auto no-repeat; position: relative; overflow: hidden; box-shadow: 0 18px 34px rgba(10, 31, 54, .13); }
.portrait::before { content: "ZHANG / LAW"; position: absolute; bottom: 25px; left: 27px; color: #fff; font: 700 30px Montserrat, sans-serif; letter-spacing: 1px; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.portrait::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(183, 154, 91, .42); pointer-events: none; }
.copy h2 { margin: 10px 0 20px; color: var(--navy); font-size: 30px; line-height: 1.4; }
.copy p { color: var(--muted); line-height: 2; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 1px solid var(--line); }
.stat { padding-top: 19px; }
.stat strong { color: var(--navy); display: block; font: 700 27px Montserrat, sans-serif; }
.stat span { color: var(--muted); font-size: 13px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { display: flex; flex-direction: column; min-height: 270px; background: #fff; padding: 26px; border-top: 3px solid var(--gold); box-shadow: 0 8px 20px rgba(10,31,54,.05); transition: box-shadow .18s ease, transform .18s ease; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.article-card .meta { color: var(--gold); font-size: 12px; }
.article-card h3 { margin: 17px 0 10px; color: var(--navy); font-size: 18px; line-height: 1.55; }
.article-card p { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 0 0 18px; }
.article-card a { margin-top: auto; color: var(--navy); font-weight: 600; font-size: 13px; }
.contact-page { background: #fff; }
.contact-showcase { min-height: 570px; display: grid; align-items: center; color: #fff; background: var(--navy); border-top: 1px solid rgba(183,154,91,.42); }
.contact-showcase-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 74px; align-items: stretch; padding-top: 84px; padding-bottom: 84px; }
.contact-showcase-intro { display: flex; flex-direction: column; justify-content: center; padding-right: 44px; }
.contact-showcase .eyebrow { color: var(--gold); }
.contact-showcase h1 { max-width: 440px; margin: 18px 0 22px; color: #fff; font-size: 48px; line-height: 1.2; }
.contact-showcase-intro > p { max-width: 470px; margin: 0; color: #c2ced7; font-size: 16px; line-height: 2; }
.contact-scope { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.contact-scope span { padding: 7px 12px; color: #dce4ea; border: 1px solid rgba(220,228,234,.28); font-size: 12px; }
.contact-showcase-details { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 38px; align-items: center; padding: 42px 38px; color: var(--ink); background: #fff; border-top: 5px solid var(--gold); border-radius: 8px; box-shadow: 0 24px 54px rgba(2,13,24,.28); }
.contact-showcase-details h2 { margin: 12px 0 28px; color: var(--navy); font-size: 28px; }
.contact-showcase-details .contact-info-list { display: grid; gap: 18px; margin: 0; }
.contact-showcase-details .contact-info-list > div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: baseline; }
.contact-showcase-details dt { color: var(--gold); font-size: 13px; }
.contact-showcase-details dd { margin: 0; color: #344758; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.contact-showcase-details .wechat-qr-frame { width: 150px; background: #f7f7f4; border-color: #d8d2c6; }
.contact-showcase-details .wechat-qr-placeholder { background: #fff; border-color: #c8c1b3; }
.contact-showcase-details .wechat-qr > p { margin-top: 10px; color: #52616d; font-size: 12px; }
.contact-guidance { padding: 68px 0 76px; background: #fff; }
.contact-guidance-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.contact-guidance article { min-height: 150px; padding: 4px 34px 0; border-left: 1px solid var(--line); }
.contact-guidance article:first-child { padding-left: 0; border-left: 0; }
.contact-guidance article:last-child { padding-right: 0; }
.contact-guidance article > span { color: var(--gold); font: 700 17px Montserrat, sans-serif; }
.contact-guidance h2 { margin: 14px 0 12px; color: var(--navy); font-size: 20px; }
.contact-guidance p { max-width: 280px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.contact-band { background: var(--navy); color: #fff; padding: 0; border-top: 2px solid var(--gold); }
.contact-band .contact-band-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; width: 100%; max-width: none; padding: 46px max(32px, calc((100% - 1082px) / 2 + 50px)) 48px; background: var(--navy); }
.contact-band .eyebrow { color: var(--gold); }
.contact-band h2, .contact-band h3 { color: #fff; }
.contact-band h2 { margin: 10px 0 14px; font-size: 24px; }
.contact-band h3 { margin: 10px 0 18px; font-size: 22px; }
.contact-band p { max-width: 410px; margin: 0; color: #bfcbd5; font-size: 14px; line-height: 1.9; }
.contact-band-details { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 34px; align-items: start; }
.contact-band dl { display: grid; gap: 12px; margin: 0; }
.contact-band dl > div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.contact-band dt { color: var(--gold); font-size: 13px; }
.contact-band dd { margin: 0; color: #d8e1e8; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.wechat-qr { text-align: center; }
.wechat-qr-frame { width: 132px; aspect-ratio: 1; padding: 7px; background: #fff; border: 1px solid rgba(183,154,91,.75); }
.wechat-qr-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wechat-qr-placeholder { display: grid; place-content: center; width: 100%; height: 100%; color: var(--navy); border: 1px dashed #b8b1a1; background: #f7f5ef; }
.wechat-qr-placeholder span { font-size: 13px; font-weight: 700; }
.wechat-qr-placeholder small { margin-top: 5px; color: #7d7668; font-size: 11px; }
.contact-band .wechat-qr > p { margin-top: 9px; color: #d8e1e8; font-size: 12px; line-height: 1.5; }
.site-footer { background: #081828; color: #b9c5cf; padding: 33px 0; font-size: 12px; }
.site-footer .container { display: block; }

.page-head { background: var(--navy); color: #fff; padding: 74px 0; }
.page-head h1 { margin-top: 14px; font-size: 36px; }
.page-head p { max-width: 620px; color: #cfdae4; line-height: 1.9; }
.content-page { padding: 70px 0 95px; background: #fff; min-height: 600px; }
.prose { width: 100%; max-width: 760px; color: #3d4a55; line-height: 2; font-size: 15px; }
.prose h2 { color: var(--navy); margin: 35px 0 12px; font-size: 23px; }
.prose p { margin: 0 0 17px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--navy-2); text-decoration: underline; }
.profile-intro { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); gap: 68px; align-items: start; }
.profile-photo { margin: 0; min-height: 470px; overflow: hidden; background: #112940; border-bottom: 3px solid var(--gold); }
.profile-photo img { display: block; width: 100%; height: 470px; object-fit: cover; object-position: 72% center; }
.profile-photo-empty { min-height: 470px; display: grid; place-items: center; color: #c6d1da; font-size: 14px; }
.profile-copy h2 { color: var(--navy); margin: 10px 0 4px; font-size: 34px; }
.profile-role { margin: 0 0 28px; color: var(--gold); font: 600 13px Montserrat, "Noto Sans SC", sans-serif; letter-spacing: 1px; }
.profile-copy .prose { width: auto; }
.profile-section { padding-top: 76px; }
.profile-section-head { margin-bottom: 30px; }
.profile-section-head h2 { color: var(--navy); margin-top: 10px; font-size: 29px; }
.experience-timeline { border-top: 1px solid var(--line); }
.experience-item { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 38px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.experience-year { color: var(--gold); font: 600 13px Montserrat, sans-serif; padding-top: 3px; }
.experience-item h3 { color: var(--navy); font-size: 18px; margin-bottom: 7px; }
.experience-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.credential-card { min-height: 182px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfcfc; }
.credential-mark { color: var(--gold); font: 600 12px Montserrat, sans-serif; }
.credential-card h3 { color: var(--navy); margin: 27px 0 8px; font-size: 17px; }
.credential-card p { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.7; }
.profile-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.profile-gallery figure { margin: 0; height: 260px; overflow: hidden; background: #dce3e7; }
.profile-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
.profile-gallery figure:hover img { transform: scale(1.03); }
.listing { display: grid; gap: 16px; }
.listing-item { display: grid; grid-template-columns: 168px 150px 1fr auto; gap: 25px; align-items: center; padding: 25px 28px; background: #fff; border: 1px solid var(--line); }
.listing-item .date { color: var(--gold); font: 600 12px Montserrat, sans-serif; line-height: 1.7; }
.listing-item h2 { color: var(--navy); font-size: 19px; margin: 0 0 8px; }
.listing-item p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.65; }
.empty-state { padding: 58px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }

.admin-shell { min-height: 100vh; background: #f4f6f8; display: grid; grid-template-columns: 250px 1fr; }
.admin-side { background: var(--navy); color: #d9e3eb; padding: 25px 17px; }
.admin-brand { color: #fff; margin: 0 10px 39px; font: 700 16px Montserrat, sans-serif; letter-spacing: .6px; }
.admin-brand span { color: var(--gold); display: block; font-size: 10px; margin-top: 7px; letter-spacing: 1.5px; }
.admin-role { display: flex; flex-wrap: wrap; gap: 6px; margin: -24px 10px 24px; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a { color: #b5c2ce; padding: 11px 12px; font-size: 14px; }
.admin-nav a:hover, .admin-nav a.active { background: #183b5c; color: #fff; }
.admin-side-bottom { border-top: 1px solid #29445d; margin: 28px 10px 0; padding-top: 18px; font-size: 12px; color: #99aab9; }
.admin-side-bottom a { display: block; margin-top: 12px; color: var(--gold); }
.admin-main { padding: 35px 46px 60px; max-width: 1370px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 31px; }
.admin-top h1 { font-size: 25px; color: var(--navy); }
.admin-top p { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-bottom: 30px; }
.admin-stat { background: #fff; border: 1px solid #e2e7eb; padding: 21px; }
.admin-stat span { color: var(--muted); font-size: 13px; }
.admin-stat strong { display: block; margin-top: 12px; font: 700 29px Montserrat, sans-serif; color: var(--navy); }
.admin-stat-grid { grid-template-columns: repeat(6, 1fr); }
.panel { background: #fff; border: 1px solid #e2e7eb; margin-bottom: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 19px 23px; border-bottom: 1px solid #e2e7eb; }
.panel-head h2 { color: var(--navy); font-size: 17px; }
.panel-body { padding: 23px; }
.activity { width: 100%; border-collapse: collapse; font-size: 13px; }
.activity th { text-align: left; color: var(--muted); font-weight: 500; padding: 0 0 12px; }
.activity td { padding: 13px 0; border-top: 1px solid #edf0f2; }
.badge { display: inline-block; padding: 3px 8px; font-size: 11px; font-weight: 600; }
.badge.published { background: #e4f2eb; color: var(--success); }
.badge.draft { background: #f7edcf; color: #83651b; }
.badge.unpublished { background: #eef0f2; color: #63717d; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { padding: 12px; color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; background: #f7f9fa; }
.admin-table td { padding: 13px 12px; border-top: 1px solid #edf0f2; vertical-align: middle; }
.table-actions { display: flex; gap: 8px; justify-content: flex-end; }
.text-button { color: var(--navy-2); border: 0; background: transparent; font-size: 12px; font-weight: 600; padding: 3px; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.content-link { padding: 23px; background: #fff; border: 1px solid #e2e7eb; }
.content-link h2 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.content-link p { color: var(--muted); margin: 0 0 15px; font-size: 13px; }
.form-panel { max-width: 920px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #344350; margin-bottom: 8px; }
.field .hint { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 5px; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 11px; border: 1px solid #ccd5db; background: #fff; color: var(--ink); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(18,51,82,.09); }
.field textarea { min-height: 94px; resize: vertical; line-height: 1.7; }
.field textarea.rich { min-height: 255px; font-family: "Noto Sans SC", Arial, sans-serif; }
.field.full { grid-column: 1 / -1; }
.form-section { margin-top: 34px; padding-top: 28px; border-top: 1px solid #e5eaed; }
.form-section h2 { color: var(--navy); font-size: 17px; margin: 0 0 18px; }
.repeat-row { padding: 16px; margin-bottom: 14px; border: 1px solid #e2e7eb; background: #fbfcfc; }
.image-field { margin-bottom: 18px; }
.image-field .field { margin-bottom: 8px; }
.image-upload { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.image-preview { display: block; width: 180px; height: 118px; margin-top: 12px; object-fit: cover; background: #edf1f3; border: 1px solid #dbe2e6; }
.image-preview.is-empty { display: none; }
.image-field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.image-field-grid .image-preview { width: 100%; }
.profile-form-panel { max-width: 1040px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #43515d; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; padding-top: 20px; border-top: 1px solid #e5eaed; margin-top: 26px; }
.login-page { min-height: 100vh; background: var(--navy); display: grid; place-items: center; }
.login-card { width: 405px; background: #fff; padding: 42px; border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.login-card h1 { font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.login-card p { color: var(--muted); font-size: 13px; margin: 0 0 27px; }
.login-card .button { width: 100%; margin-top: 8px; }
.login-help { margin-top: 20px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px !important; line-height: 1.7; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 9; padding: 13px 18px; background: var(--navy); color: #fff; box-shadow: var(--shadow); font-size: 13px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(8,24,40,.62); z-index: 20; display: grid; place-items: center; padding: 28px; }
.modal { width: 830px; max-height: calc(100vh - 56px); overflow: auto; background: #fff; box-shadow: var(--shadow); }
.modal .panel-head { position: sticky; top: 0; background: #fff; z-index: 1; }
.notice { padding: 11px 14px; background: #fbf4df; color: #6f5717; border-left: 3px solid var(--gold); font-size: 12px; line-height: 1.7; margin-bottom: 18px; }
.muted { color: var(--muted); }
.enterprise-banner { padding: 12px 14px; margin-bottom: 18px; background: #eef4f8; color: #29445d; border-left: 3px solid var(--navy-2); font-size: 12px; line-height: 1.7; }
.wide-form { max-width: 1120px; }
.admin-filter { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 13px; background: #fff; border: 1px solid #e2e7eb; }
.admin-filter select, .admin-filter input { min-height: 34px; border: 1px solid #ccd5db; padding: 0 10px; background: #fff; }
.mini-tag, .taxonomy-pill { display: inline-flex; align-items: center; min-height: 24px; margin: 2px 4px 2px 0; padding: 0 8px; background: #eef3f6; color: #344350; font-size: 12px; border: 1px solid #dce4e9; }
.taxonomy-list { display: flex; flex-wrap: wrap; gap: 6px; }
.risk-text { color: var(--danger); font-size: 12px; font-weight: 700; }
.compliance-box .check { margin: 9px 0; }
.compliance-result { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 12px; background: #f7f9fa; border: 1px solid #e2e7eb; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.media-card { border: 1px solid #e2e7eb; background: #fbfcfc; padding: 10px; display: grid; gap: 9px; }
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #edf1f3; border: 1px solid #dbe2e6; }
.media-card strong { display: block; color: var(--navy); font-size: 13px; word-break: break-all; }
.media-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.lead-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.subhead { margin: 22px 0 8px; color: var(--navy); font-size: 15px; }
.follow-list { margin: 0; padding-left: 18px; color: #344350; line-height: 1.8; font-size: 13px; }
.badge.pending, .badge.warning, .badge.unchecked { background: #f7edcf; color: #83651b; }
.badge.contacted, .badge.scheduled, .badge.passed, .badge.active { background: #e4f2eb; color: var(--success); }
.badge.closed, .badge.need_more_info, .badge.disabled, .badge.blocked { background: #f6e7e7; color: var(--danger); }
.badge.reviewing, .badge.archived, .badge.prototype { background: #e8eef4; color: var(--navy-2); }
.badge.super_admin, .badge.content_editor, .badge.publisher, .badge.lead_manager, .badge.readonly { background: #e8eef4; color: var(--navy-2); }
.readiness-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.readiness-item { min-height: 72px; padding: 13px; background: #fbfcfc; border: 1px solid #e2e7eb; display: grid; gap: 7px; align-content: start; }
.readiness-item span { color: var(--navy); font-weight: 700; font-size: 13px; }
.readiness-item small { color: var(--muted); }
.workflow-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 10px; background: #f7f9fa; border: 1px solid #e2e7eb; }
.workflow-steps span { min-height: 26px; display: inline-flex; align-items: center; padding: 0 10px; color: var(--muted); border: 1px solid #dce4e9; background: #fff; font-size: 12px; font-weight: 700; }
.workflow-steps span.active { color: var(--navy); border-color: var(--gold); background: #fbf4df; }
.system-list { margin: 0; padding-left: 18px; color: #344350; line-height: 1.9; font-size: 13px; }

@media (max-width: 900px) {
  .header-inner, .container, .hero-inner { width: min(100% - 40px, 700px); }
  .header-inner { height: auto; min-height: 68px; gap: 18px; }
  .main-nav { gap: 15px; font-size: 13px; }
  .header-link { display: none; }
  .hero { min-height: 560px; }
  .hero-bg { justify-content: center; transform: translateX(12%); }
  .hero-inner { padding: 106px 0 86px; }
  .hero h1 { font-size: 41px; }
  .split, .profile-intro { gap: 42px; }
  .admin-shell { grid-template-columns: 210px 1fr; }
  .admin-main { padding: 28px; }
  .admin-stat-grid { grid-template-columns: repeat(3, 1fr); }
  .readiness-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  body { padding-bottom: 0; }
  body:has(.mobile-consult-bar) { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  body.nav-open { overflow: hidden; }
  .site-header { position: sticky; z-index: 40; }
  .header-inner { position: relative; z-index: 3; width: calc(100% - 32px); height: 64px; min-height: 64px; padding: 0; align-items: center; gap: 12px; }
  .brand { flex: 0 0 auto; font-size: 13px; }
  .brand { min-height: 44px; }
  .brand > span:last-child { white-space: nowrap; }
  .brand small { display: none; }
  .brand-mark { width: 34px; height: 34px; font-size: 12px; }
  .nav-toggle { display: grid; width: 44px; height: 44px; margin-left: auto; place-content: center; gap: 5px; padding: 0; color: #fff; background: transparent; border: 0; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: 2; top: 64px; left: 0; right: 0; display: grid; height: auto; gap: 0; padding: 8px 16px 18px; background: #0b1f36; border-top: 1px solid rgba(183,154,91,.35); box-shadow: 0 18px 32px rgba(2,13,24,.3); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .site-header.nav-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { display: flex; min-height: 50px; align-items: center; justify-content: space-between; padding: 0 12px; color: #d9e0e7; border-bottom: 1px solid rgba(255,255,255,.1); border-left: 3px solid transparent; }
  .main-nav a.active { color: #fff; background: rgba(255,255,255,.05); border-bottom-color: rgba(255,255,255,.1); border-left-color: var(--gold); }
  .main-nav .mobile-nav-contact { display: flex; color: var(--gold); border-bottom: 0; }
  .main-nav a::after { content: "›"; color: #8796a3; font-size: 20px; font-weight: 400; }
  .nav-backdrop { position: fixed; z-index: 1; inset: 64px 0 0; width: 100%; height: calc(100vh - 64px); padding: 0; background: rgba(3,13,24,.58); border: 0; opacity: 0; visibility: hidden; pointer-events: none; }
  .site-header.nav-open .nav-backdrop { display: block; opacity: 1; visibility: visible; pointer-events: auto; }
  .hero, .section, .content-page { min-height: auto; }
  .hero-bg { justify-content: center; transform: translateX(18%); }
  .hero::after { background: linear-gradient(90deg, rgba(5, 20, 35, .96) 0%, rgba(5, 20, 35, .82) 58%, rgba(5, 20, 35, .45) 100%); }
  .hero-inner, .container { width: min(100% - 32px, 560px); }
  .hero-inner { padding: 68px 0 62px; }
  .hero h1 { font-size: 32px; line-height: 1.3; }
  .hero p { margin: 20px 0 26px; font-size: 14px; line-height: 1.85; }
  .hero-trust { gap: 8px; margin-top: 24px; }
  .hero-trust span { padding: 6px 8px; font-size: 11px; }
  .hero-slogan { display: -webkit-box; max-width: 100%; min-height: 0; padding: 7px 11px; font-size: 13px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .section { padding: 50px 0; }
  .section-head, .contact-band .container, .site-footer .container { display: grid; gap: 18px; }
  .section-head { align-items: start; }
  .section-head h2 { font-size: 27px; }
  .section-head .button { width: fit-content; }
  .button { min-height: 44px; }
  .page-head { padding: 48px 0 52px; }
  .page-head h1 { margin-top: 12px; font-size: 30px; line-height: 1.35; overflow-wrap: anywhere; }
  .page-head p { margin: 14px 0 0; font-size: 14px; line-height: 1.8; }
  .content-page { padding: 44px 0 72px; }
  .prose { max-width: 100%; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
  .prose h2 { margin: 28px 0 10px; font-size: 21px; }
  .detail-block { margin-bottom: 24px; padding-bottom: 24px; }
  .detail-block h2 { margin-bottom: 13px; font-size: 21px; }
  .detail-block ul, .detail-block ol { padding-left: 20px; line-height: 1.85; }
  .faq-list details { padding: 0 14px; }
  .faq-list summary { display: flex; min-height: 50px; align-items: center; line-height: 1.55; }
  .contact-showcase { min-height: 0; }
  .contact-showcase-inner { grid-template-columns: 1fr; gap: 44px; padding-top: 58px; padding-bottom: 54px; }
  .contact-showcase-intro { padding-right: 0; }
  .contact-showcase h1 { margin: 14px 0 18px; font-size: 36px; }
  .contact-showcase-intro > p { font-size: 14px; line-height: 1.85; }
  .contact-scope { gap: 8px; margin-top: 26px; }
  .contact-scope span { padding: 6px 9px; }
  .contact-showcase-details { grid-template-columns: 1fr; gap: 28px; padding: 30px 22px 32px; border-top: 4px solid var(--gold); border-radius: 6px; box-shadow: 0 18px 38px rgba(2,13,24,.24); }
  .contact-showcase-details h2 { margin: 10px 0 22px; font-size: 24px; }
  .contact-showcase-details .contact-info-list { gap: 13px; }
  .contact-showcase-details .contact-info-list > div { grid-template-columns: 42px minmax(0, 1fr); gap: 9px; }
  .contact-showcase-details dd { font-size: 12px; }
  .contact-showcase-details .wechat-qr { text-align: left; }
  .contact-showcase-details .wechat-qr-frame { width: 132px; }
  .contact-guidance { padding: 42px 0 48px; }
  .contact-guidance-grid { grid-template-columns: 1fr; }
  .contact-guidance article, .contact-guidance article:first-child, .contact-guidance article:last-child { min-height: 0; padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .contact-guidance article:first-child { padding-top: 0; border-top: 0; }
  .contact-guidance p { max-width: none; }
  .contact-band .contact-band-inner { grid-template-columns: 1fr; gap: 34px; width: 100%; padding: 34px 24px 38px; }
  .contact-band-details { grid-template-columns: 1fr; gap: 26px; }
  .contact-band-details .wechat-qr { text-align: left; }
  .wechat-qr-frame { width: 124px; }
  .contact-band dl > div { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .defense-results-section { padding: 58px 0 64px; }
  .results-head { display: grid; gap: 12px; margin-bottom: 34px; }
  .results-head h2 { font-size: 34px; }
  .results-panel { grid-template-columns: 1fr; min-height: 0; padding: 20px 18px; }
  .result-metric { gap: 16px; padding: 27px 0; }
  .result-metric + .result-metric { border-left: 0; border-top: 1px solid rgba(151,137,106,.45); }
  .result-metric span { min-height: 36px; font-size: 16px; }
  .result-metric strong { font-size: 60px; }
  .result-metric small { font-size: 24px; }
  .profile-advantages-layout { grid-template-columns: 1fr; }
  .profile-advantage-image { min-height: 300px; }
  .profile-advantage-copy { padding: 28px 18px 24px; }
  .profile-advantage-copy h2 { font-size: 29px; }
  .profile-advantage-lead { font-size: 14px; }
  .advantage-card { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 14px; }
  .advantage-card h3 { font-size: 17px; }
  .advantage-card p { font-size: 13px; line-height: 1.8; }
  .service-grid, .article-grid, .split, .stats, .profile-intro, .credential-grid, .profile-gallery, .image-field-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 22px 20px; }
  .service-card-link { min-height: 170px; }
  .article-card { min-height: 0; padding: 20px; }
  .article-card > a:last-child { display: flex; min-height: 44px; align-items: center; }
  .service-row { padding: 20px 18px; }
  .service-row h2 { font-size: 19px; }
  .filter-bar { padding: 14px; }
  .filter-bar input, .filter-bar select { min-height: 46px; font-size: 16px; }
  .button.small { min-height: 44px; padding: 0 15px; font-size: 13px; }
  .listing-item { padding: 16px; }
  .listing-item h2 { font-size: 18px; line-height: 1.55; }
  .row-cover { min-width: 0; }
  .portrait { min-height: 300px; }
  .profile-photo, .profile-photo img, .profile-photo-empty { min-height: 320px; height: 320px; }
  .profile-copy h2 { font-size: 30px; }
  .trust-panel { padding: 14px; }
  .profile-section { padding-top: 54px; }
  .experience-item { grid-template-columns: 1fr; gap: 7px; }
  .profile-gallery figure { height: 240px; }
  .listing-item { grid-template-columns: 1fr; gap: 11px; }
  .listing-item .button { width: fit-content; }
  .contact-side-panel { padding: 22px; }
  .contact-side-panel .wechat-qr.compact .wechat-qr-frame { width: 124px; }
  .site-footer { padding: 26px 0; line-height: 1.8; }
  .admin-shell { display: block; }
  .admin-side { padding: 18px 16px; }
  .admin-brand { margin-bottom: 16px; }
  .admin-nav { grid-template-columns: repeat(2, 1fr); }
  .admin-side-bottom { display: none; }
  .admin-main { padding: 25px 16px; }
  .admin-top, .form-grid, .content-grid, .stat-grid, .admin-stat-grid, .media-grid, .readiness-grid { grid-template-columns: 1fr; display: grid; gap: 16px; }
  .admin-filter { display: grid; }
  .table-actions { justify-content: flex-start; }
  .admin-table { min-width: 650px; }
  .panel-body { overflow-x: auto; }
}
