:root {
  --forest: #123c38;
  --forest-deep: #0b2927;
  --ink: #15211f;
  --muted: #5f6e69;
  --paper: #f4f4ef;
  --paper-warm: #e8ebe3;
  --white: #ffffff;
  --line: #ccd5cc;
  --line-dark: rgba(255, 255, 255, 0.22);
  --rust: #b75a40;
  --gold: #d6aa57;
  --max: 1240px;
  --radius: 10px;
  --shadow: 0 20px 48px rgba(10, 35, 32, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}
body::selection { color: var(--white); background: var(--rust); }
main { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.inline-icon, .section-icon svg, .card-icon svg, .case-tag svg, .metric-icon, .info-heading svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.inline-icon { width: 17px; height: 17px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 70px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: rgba(11, 41, 39, 0.96);
  border-bottom: 1px solid var(--line-dark);
}
.site-header::before { content: "ZHAO XIN / IP COUNSEL"; font-size: 12px; font-weight: 800; letter-spacing: .13em; color: rgba(255,255,255,.72); }
.nav-tagline { grid-column: 2; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.nav-links { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 26px; color: rgba(255,255,255,.9); font-size: 13px; }
.nav-links > a { transition: color 180ms ease; }
.nav-links > a:hover { color: var(--gold); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: inherit; border: 0; background: none; cursor: pointer; }
.nav-dropdown-chevron { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 180ms ease; }
.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-chevron { transform: rotate(225deg) translateY(-1px); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 12px); right: 0; display: grid; min-width: 250px; padding: 8px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease; }
.nav-dropdown-menu.is-open, .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-item { padding: 11px 12px; font-size: 13px; border-radius: 5px; }
.nav-dropdown-item:hover { color: var(--forest); background: var(--paper-warm); }
.nav-dropdown-menu .nav-dropdown-item,
.nav-links .nav-dropdown-menu .nav-dropdown-item {
  display: block;
  color: var(--ink);
  opacity: 1;
  visibility: visible;
}
.nav-dropdown-menu .nav-dropdown-item:hover,
.nav-dropdown-menu .nav-dropdown-item:focus-visible,
.nav-links .nav-dropdown-menu .nav-dropdown-item:hover,
.nav-links .nav-dropdown-menu .nav-dropdown-item:focus-visible {
  color: var(--forest);
  background: var(--paper-warm);
}

.hero { position: relative; min-height: 720px; color: var(--white); background: var(--forest-deep); overflow: hidden; }
.hero-bg { position: absolute; inset: 0 0 0 48%; background: url("./assets/hansheng-building.webp") center / cover no-repeat; opacity: .72; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--forest-deep) 0%, rgba(11,41,39,.72) 22%, rgba(11,41,39,.16) 100%); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; width: min(var(--max), calc(100% - 48px)); min-height: 720px; margin: 0 auto; padding: 126px 0 54px; }
.hero-top-grid { width: min(760px, 100%); }
.lead-profile-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 30px; align-items: start; padding: 0; color: var(--white); background: transparent; border: 0; box-shadow: none; }
.lead-profile-photo { width: 140px; height: 190px; overflow: hidden; border: 1px solid var(--gold); border-radius: 8px; background: var(--forest); }
.lead-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.82); }
.lead-profile-label { display: flex; align-items: center; gap: 8px; margin: 3px 0 18px; color: var(--gold); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.lead-profile-copy h1 { margin: 0 0 16px; color: var(--white); font-size: clamp(36px, 4.2vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.lead-profile-copy p:not(.lead-profile-label) { max-width: 690px; margin: 0 0 22px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.65; }
.lead-profile-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-profile-tags span { padding: 7px 9px; color: rgba(255,255,255,.82); font-size: 11px; line-height: 1.2; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; }
.hero-profile-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: min(930px, 100%); margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-proof { display: flex; gap: 28px; }
.hero-proof div { max-width: 170px; }
.hero-proof strong { display: block; margin-bottom: 7px; color: var(--gold); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hero-proof span { display: block; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.45; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: var(--forest-deep); background: var(--gold); }
.btn.primary:hover { background: #e3bf70; }
.btn.secondary { color: var(--white); border-color: rgba(255,255,255,.34); background: transparent; }
.btn.secondary:hover { color: var(--gold); border-color: var(--gold); }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 92px 0; }
.section-heading { max-width: 800px; margin-bottom: 36px; }
.eyebrow { margin: 0 0 12px; color: var(--rust); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 16px; color: var(--forest); font-size: clamp(28px, 3.3vw, 40px); line-height: 1.08; font-weight: 780; letter-spacing: -.035em; text-wrap: balance; }
h3 { margin-bottom: 10px; color: var(--forest); font-size: 18px; line-height: 1.24; font-weight: 760; }
.section-heading > p:not(.eyebrow), .firm-copy p, .footer-copy p, .service-card p, .process-step p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.section-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 17px; color: var(--rust); border-bottom: 2px solid var(--rust); }
.section-icon svg { width: 20px; height: 20px; }
.section-icon.light { margin-bottom: 0; color: var(--gold); border-color: var(--gold); }

.urgency-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; width: 100%; max-width: none; margin: 0; padding: 34px max(24px, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--rust); }
.band-copy { display: flex; align-items: center; gap: 18px; }
.urgency-band .eyebrow { margin-bottom: 7px; color: rgba(255,255,255,.72); }
.urgency-band h2 { max-width: 860px; margin-bottom: 0; color: var(--white); font-size: clamp(22px, 2.8vw, 34px); }
.urgency-band .btn.primary { color: var(--rust); background: var(--white); }

.service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service-card { min-width: 0; padding: 22px 18px 10px 0; border-bottom: 1px solid var(--line); }
.service-card + .service-card { padding-left: 18px; border-left: 1px solid var(--line); }
.card-icon-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--rust); border: 1px solid rgba(183,90,64,.28); border-radius: 50%; }
.card-icon svg { width: 17px; height: 17px; }
.card-number { color: var(--rust); font-size: 12px; font-weight: 900; }
.service-card h3 { min-height: 48px; font-size: 17px; }
.service-card p { font-size: 13px; line-height: 1.6; }

.fee-section { padding-top: 42px; }
.fee-section-shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 70px; align-items: start; padding: 54px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fee-heading { margin: 0; }
.fee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fee-card { min-height: 245px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.fee-card-top { display: flex; justify-content: space-between; margin-bottom: 42px; color: var(--rust); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.fee-rate { display: flex; align-items: baseline; gap: 7px; margin-bottom: 14px; color: var(--forest); }
.fee-rate strong { font-size: 46px; line-height: .95; letter-spacing: -.04em; }
.fee-rate span { color: var(--muted); font-size: 13px; }
.fee-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.fee-minimum { grid-column: 2; display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; padding: 18px 0 0; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.fee-minimum-icon { color: var(--rust); }
.fee-minimum-icon svg { width: 19px; height: 19px; }

.case-section { padding-top: 92px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.case-card { min-height: 252px; padding: 26px; color: var(--white); background: var(--forest); border-radius: var(--radius); }
.case-card:nth-child(2), .case-card:nth-child(3) { background: var(--paper-warm); color: var(--ink); }
.case-card:nth-child(2) h3, .case-card:nth-child(3) h3 { color: var(--forest); }
.case-tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 40px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.case-card:nth-child(2) .case-tag, .case-card:nth-child(3) .case-tag { color: var(--rust); }
.case-tag svg { width: 15px; height: 15px; }
.case-card h3 { color: var(--white); font-size: 20px; }
.case-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.7; }
.case-card:nth-child(2) p, .case-card:nth-child(3) p { color: var(--muted); }

.personal-cases-section { padding-top: 34px; }
.personal-case-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.personal-case-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 42px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.personal-case-metric { display: grid; align-content: center; gap: 8px; min-height: 120px; padding: 16px; background: var(--forest); }
.metric-icon { width: 23px; height: 23px; color: var(--gold); }
.personal-case-metric span { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.personal-case-metric strong { color: var(--white); font-size: 22px; line-height: 1.1; }
.personal-case-copy { align-self: center; }
.personal-case-copy h3 { font-size: 21px; }
.personal-case-copy p { max-width: 730px; margin: 0; color: var(--muted); line-height: 1.75; }

.firm-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 74px; align-items: center; }
.firm-media { min-height: 510px; overflow: hidden; background: var(--forest); }
.firm-media img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; filter: saturate(.72); }
.firm-copy { max-width: 570px; }
.firm-copy .stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.firm-copy .stat-row div { min-width: 0; padding: 17px 14px 0 0; border-bottom: 0; background: transparent; }
.stat-row strong { display: block; margin-bottom: 5px; color: var(--rust); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.stat-row span { color: var(--muted); font-size: 12px; line-height: 1.4; }

.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.process-step { padding: 24px 26px 8px 0; border-bottom: 1px solid var(--line); }
.process-step + .process-step { padding-left: 26px; border-left: 1px solid var(--line); }
.process-step .step-number { display: block; margin-bottom: 38px; color: var(--rust); font-size: 13px; font-weight: 900; }
.process-step h3 { font-size: 19px; }
.process-step p { font-size: 14px; }

.tailored-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr); gap: 76px; align-items: center; }
.tailored-media { width: 100%; overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper-warm); }
.tailored-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.tailored-copy { max-width: 600px; }
.tailored-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.78; }

.dispute-review-section { padding-top: 30px; }
.dispute-review-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 34px; color: var(--white); background: var(--forest); border-radius: var(--radius); }
.dispute-review-copy .eyebrow { margin-bottom: 8px; color: var(--gold); }
.dispute-review-copy h2 { margin-bottom: 10px; color: var(--white); font-size: clamp(24px, 2.9vw, 36px); }
.dispute-review-copy p:not(.eyebrow) { max-width: 780px; margin: 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; }

.footer { color: var(--white); background: var(--forest-deep); }
.footer-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .85fr) minmax(330px, 1fr); gap: 54px; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 78px 0 82px; }
.footer-terms-panel { display: grid; gap: 22px; }
.footer-terms-panel h2 { color: var(--white); font-size: 26px; }
.footer-terms-panel ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,.63); font-size: 13px; line-height: 1.75; }
.footer-info { display: grid; align-content: start; gap: 12px; }
.info-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; }
.info-heading svg { width: 18px; height: 18px; color: var(--gold); }
.footer-info h3, .footer-form-panel h3 { margin: 0; color: var(--gold); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.footer-info p { margin: 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.6; }
.footer-info a { color: rgba(255,255,255,.86); text-decoration: underline; text-decoration-color: rgba(214,170,87,.65); text-underline-offset: 3px; }
.map-link { display: inline-flex; width: fit-content; margin-top: 7px; padding: 8px 10px; color: var(--forest-deep) !important; background: var(--gold); text-decoration: none !important; border-radius: 4px; font-size: 12px; font-weight: 800; }
.footer-map { height: 158px; overflow: hidden; margin-top: 10px; border: 1px solid var(--line-dark); }
.footer-map iframe { width: 100%; height: 100%; border: 0; }
.footer-form-panel { display: grid; align-content: start; gap: 16px; }
.lead-form { display: grid; gap: 12px; padding: 22px; color: var(--ink); background: var(--white); border-radius: var(--radius); }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-field, .lead-form label { display: grid; gap: 6px; }
.lead-form span { color: var(--ink); font-size: 12px; font-weight: 800; }
.field-help, .form-note, .form-status { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.phone-input-row { display: grid; grid-template-columns: minmax(130px, .43fr) minmax(0, 1fr); gap: 8px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-width: 0; min-height: 42px; padding: 10px 11px; color: var(--ink); border: 1px solid #cdd7d0; border-radius: 5px; background: #f7f9f6; outline: none; }
.lead-form textarea { min-height: 78px; resize: vertical; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #75817b; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--rust); box-shadow: 0 0 0 3px rgba(183,90,64,.13); }
.form-submit { width: 100%; margin-top: 4px; }
.form-submit:disabled { cursor: wait; opacity: .7; }
.form-status { min-height: 17px; color: var(--rust); }
.success-modal[hidden] { display: none; }
.success-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; }
.success-modal-backdrop { position: absolute; inset: 0; background: rgba(11,41,39,.74); }
.success-modal-card { position: relative; z-index: 1; width: min(100%, 560px); padding: 44px; text-align: center; color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.success-modal-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 20px; color: var(--rust); background: var(--paper-warm); border-radius: 50%; }
.success-modal-icon svg { width: 35px; height: 35px; }
.success-modal-icon svg path { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.success-modal-card h2 { margin-bottom: 14px; font-size: 34px; }
.success-modal-card p { margin: 0 auto 24px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.success-modal-button { min-width: 150px; min-height: 46px; color: var(--white); background: var(--forest); border: 0; border-radius: 5px; cursor: pointer; }
body.modal-open { overflow: hidden; }
.whatsapp-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--white); box-shadow: 0 12px 26px rgba(7,37,33,.24); transition: transform 180ms ease; }
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.whatsapp-float::after { content: attr(data-tooltip); position: absolute; right: calc(100% + 9px); top: 50%; padding: 7px 9px; color: var(--white); background: var(--forest-deep); border-radius: 4px; font-size: 11px; white-space: nowrap; opacity: 0; transform: translateY(-50%) translateX(5px); pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
.whatsapp-float:hover::after, .whatsapp-float:focus-visible::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* Compact rhythm: keep the editorial hierarchy without the wide gaps between modules. */
.section { padding-block: 58px; }
.section-heading { margin-bottom: 24px; }
.fee-section { padding-top: 28px; }
.fee-section-shell { padding-block: 38px; }
.case-section { padding-top: 58px; }
.personal-cases-section { padding-top: 22px; }
.firm-section, .tailored-section { gap: 48px; }
.dispute-review-section { padding-top: 22px; }
.footer-inner { gap: 38px; padding-block: 58px 62px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .site-header::before { display: none; }
  .nav-tagline { grid-column: 1; justify-self: start; text-align: left; }
  .nav-links { grid-column: 2; }
  .hero-bg { inset: 0; opacity: .3; }
  .hero-bg::after { background: linear-gradient(90deg, var(--forest-deep) 0%, rgba(11,41,39,.72) 100%); }
  .hero-inner { width: min(var(--max), calc(100% - 40px)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(odd) { padding-left: 0; border-left: 0; }
  .service-card:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .service-card h3 { min-height: 0; }
  .fee-section-shell, .firm-section, .tailored-section { grid-template-columns: 1fr; gap: 34px; }
  .fee-minimum { grid-column: auto; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-form-panel { grid-column: 1 / -1; max-width: 620px; }
}
@media (max-width: 640px) {
  .site-header { min-height: 62px; padding: 10px 16px; }
  .nav-tagline { max-width: 65vw; overflow: hidden; font-size: 10px; text-overflow: ellipsis; }
  .nav-links { gap: 11px; font-size: 12px; }
  .nav-links > a { display: none; }
  .hero, .hero-inner { min-height: 680px; }
  .hero-inner { width: calc(100% - 32px); padding: 98px 0 30px; }
  .lead-profile-card { grid-template-columns: 88px minmax(0,1fr); gap: 16px; }
  .lead-profile-photo { width: 88px; height: 122px; }
  .lead-profile-label { margin-bottom: 12px; font-size: 10px; letter-spacing: .1em; }
  .lead-profile-copy h1 { margin-bottom: 13px; font-size: 32px; }
  .lead-profile-copy p:not(.lead-profile-label) { font-size: 14px; line-height: 1.55; }
  .lead-profile-tags { gap: 5px; }
  .lead-profile-tags span { padding: 6px 7px; font-size: 10px; }
  .hero-profile-footer { display: grid; gap: 22px; margin-top: 34px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; padding-inline: 10px; font-size: 11px; }
  .hero-proof { gap: 14px; }
  .hero-proof div { max-width: none; flex: 1; }
  .hero-proof span { font-size: 10px; }
  .section { width: calc(100% - 32px); padding: 42px 0; }
  h2 { font-size: 27px; }
  .section.urgency-band { width: 100%; margin: 0; grid-template-columns: 1fr; gap: 18px; padding: 24px 16px; }
  .band-copy { align-items: flex-start; }
  .urgency-band .btn { width: 100%; }
  .service-grid, .case-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(even) { padding: 21px 0; border-left: 0; }
  .service-card:first-child { padding-top: 21px; }
  .card-icon-row { margin-bottom: 23px; }
  .fee-section-shell { padding: 28px 0; }
  .fee-grid { grid-template-columns: 1fr; }
  .fee-card { min-height: 0; }
  .fee-minimum { margin-top: 0; }
  .case-card { min-height: 0; padding: 22px; }
  .case-tag { margin-bottom: 28px; }
  .personal-case-card { grid-template-columns: 1fr; gap: 16px; padding: 22px 0; }
  .personal-case-metric { min-height: 98px; }
  .firm-media, .firm-media img { min-height: 320px; }
  .firm-copy .stat-row { grid-template-columns: 1fr 1fr; }
  .process-step, .process-step + .process-step { padding: 21px 0; border-left: 0; }
  .process-step .step-number { margin-bottom: 22px; }
  .tailored-media { aspect-ratio: 1 / .82; }
  .dispute-review-card { grid-template-columns: 1fr; gap: 17px; padding: 24px; }
  .dispute-review-copy h2 { font-size: 28px; }
  .dispute-review-card .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; width: calc(100% - 32px); padding: 44px 0 52px; gap: 32px; }
  .footer-form-panel { grid-column: auto; }
  .phone-input-row { grid-template-columns: 1fr; }
  .lead-form { padding: 18px; }
  .success-modal-card { padding: 32px 22px; }
}

@media (max-width: 640px) {
  .fee-section, .case-section, .personal-cases-section, .dispute-review-section { padding-top: 30px; }
  .section-heading { margin-bottom: 20px; }
  .firm-section, .tailored-section { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Final compact pass: smaller titles and a tighter section rhythm. */
.lead-profile-copy h1 { font-size: clamp(32px, 3.7vw, 48px); }
h2 { font-size: clamp(25px, 2.8vw, 34px); }
h3 { font-size: 17px; }
.urgency-band h2 { font-size: clamp(21px, 2.4vw, 30px); }
.case-card h3, .personal-case-copy h3 { font-size: 19px; }
.process-step h3 { font-size: 18px; }
.dispute-review-copy h2 { font-size: clamp(22px, 2.5vw, 32px); }
.section { padding-block: 44px; }
.section-heading { margin-bottom: 18px; }
.card-icon-row { margin-bottom: 28px; }
.fee-section { padding-top: 20px; }
.fee-section-shell { padding-block: 30px; }
.case-section { padding-top: 42px; }
.personal-cases-section { padding-top: 16px; }
.dispute-review-section { padding-top: 16px; }
.firm-section, .tailored-section { gap: 34px; }
.footer-inner { padding-block: 46px 50px; gap: 30px; }

@media (max-width: 640px) {
  .lead-profile-copy h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  h3 { font-size: 16px; }
  .urgency-band h2 { font-size: 21px; }
  .case-card h3, .personal-case-copy h3 { font-size: 18px; }
  .dispute-review-copy h2 { font-size: 23px; }
  .section { padding-block: 30px; }
  .section-heading { margin-bottom: 16px; }
  .section.urgency-band { padding-block: 20px; }
  .fee-section, .case-section, .personal-cases-section, .dispute-review-section { padding-top: 24px; }
  .fee-section-shell { padding-block: 22px; }
  .personal-case-card { padding-block: 17px; }
  .process-step, .process-step + .process-step { padding-block: 16px; }
  .firm-section, .tailored-section { gap: 22px; }
  .footer-inner { padding-block: 38px 44px; gap: 26px; }
}

/* Shared adapters for the four Zhao Xin service pages. */
body.sue-page .site-header::before { content: "ZHAO XIN / CHINA CLAIMS"; }
body.commercial-litigation-page .site-header::before { content: "ZHAO XIN / LITIGATION"; }
body.trade-page .site-header::before { content: "ZHAO XIN / TRADE COUNSEL"; }
body.commercial-litigation-page .site-header .brand,
body.commercial-litigation-page .site-header .menu-toggle,
body.trade-page .site-header .brand,
body.trade-page .site-header .menu-toggle { display: none; }
body.commercial-litigation-page .nav-links > a,
body.trade-page .nav-links > a { display: none; }
body.commercial-litigation-page .hero-top-grid,
body.trade-page .hero-top-grid { width: min(1040px, 100%); }
body.commercial-litigation-page .lead-profile-card,
body.trade-page .lead-profile-card { grid-template-columns: 140px minmax(0, 1fr); max-width: 1040px; }
body.commercial-litigation-page .lead-profile-copy,
body.trade-page .lead-profile-copy { max-width: none; }
body.commercial-litigation-page .lead-profile-copy h1,
body.trade-page .lead-profile-copy h1 { max-width: 860px; }

.commercial-overview-grid,
.commercial-service-grid,
.commercial-scenario-grid,
.commercial-process-grid,
.trade-risk-grid,
.trade-principles-grid,
.trade-tier-grid,
.trade-module-grid,
.trade-delivery-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.commercial-overview-grid,
.trade-principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.commercial-service-grid,
.trade-module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.commercial-scenario-grid,
.trade-tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.commercial-process-grid,
.trade-delivery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trade-risk-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.commercial-overview-card,
.commercial-service-card,
.commercial-process-grid article,
.trade-risk-card,
.trade-principle-card,
.trade-module-card,
.trade-delivery-card {
  min-width: 0;
  padding: 22px 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.commercial-overview-card + .commercial-overview-card,
.commercial-service-card:not(:nth-child(3n + 1)),
.commercial-process-grid article + article,
.trade-risk-card + .trade-risk-card,
.trade-principle-card + .trade-principle-card,
.trade-module-card:not(:nth-child(3n + 1)),
.trade-delivery-card + .trade-delivery-card {
  border-left: 1px solid var(--line);
}

.commercial-overview-card h3,
.commercial-service-card h3,
.commercial-process-grid h3,
.trade-risk-card h3,
.trade-principle-card h3,
.trade-module-card h3,
.trade-delivery-card h3 { color: var(--forest); }

.commercial-overview-card p,
.commercial-service-card > p,
.commercial-process-grid article p,
.trade-risk-card p,
.trade-principle-card p,
.trade-module-card > p,
.trade-delivery-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.commercial-service-card ul,
.trade-module-card ul,
.trade-tier-card ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  list-style: none;
}

.commercial-service-card li,
.trade-module-card li,
.trade-tier-card li {
  position: relative;
  padding: 7px 0 0 15px;
  border-top: 1px solid var(--line);
}

.commercial-service-card li::before,
.trade-module-card li::before,
.trade-tier-card li::before {
  position: absolute;
  top: 13px;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--rust);
}

.commercial-scenario-card {
  min-height: 230px;
  padding: 24px;
  color: var(--white);
  background: var(--forest);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}
.commercial-scenario-card:nth-child(2),
.commercial-scenario-card:nth-child(3) { color: var(--ink); background: var(--paper-warm); }
.commercial-scenario-card > span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}
.commercial-scenario-card h3 { color: inherit; font-size: 19px; }
.commercial-scenario-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.68; }
.commercial-scenario-card:nth-child(2) > span,
.commercial-scenario-card:nth-child(3) > span { color: var(--rust); }
.commercial-scenario-card:nth-child(2) p,
.commercial-scenario-card:nth-child(3) p { color: var(--muted); }

.commercial-image-section,
.commercial-international-section,
.commercial-firm-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}
.commercial-image-media,
.commercial-international-media,
.commercial-firm-media { overflow: hidden; min-height: 390px; background: var(--forest); }
.commercial-image-media img,
.commercial-international-media img,
.commercial-firm-media img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; filter: saturate(.76); }
.commercial-image-copy p,
.commercial-international-copy p,
.commercial-firm-copy p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.commercial-international-section { width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); background: var(--paper-warm); }
.commercial-international-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid var(--line); }
.commercial-international-points span { padding: 14px 14px 14px 0; color: var(--forest); font-size: 12px; font-weight: 800; }
.commercial-international-points span + span { padding-left: 14px; border-left: 1px solid var(--line); }
.commercial-firm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; border-top: 1px solid var(--line); }
.commercial-firm-stat { padding: 16px 12px 0 0; }
.commercial-firm-stat strong { display: block; margin-bottom: 5px; color: var(--rust); font-size: 16px; font-weight: 760; }
.commercial-firm-stat span { color: var(--muted); font-size: 12px; }
.commercial-process-grid article b { display: block; margin-bottom: 30px; color: var(--rust); font-size: 13px; }

.trade-counsel-meta { margin: -7px 0 12px !important; color: var(--gold) !important; font-size: 12px !important; font-weight: 800; }
.trade-risk-card > b { display: block; margin-bottom: 26px; color: var(--rust); font-size: 13px; }
.trade-experience-note,
.trade-positioning-callout {
  display: grid;
  grid-template-columns: minmax(180px, .28fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 22px 24px;
  color: var(--white);
  background: var(--forest);
  border-left: 1px solid var(--gold);
}
.trade-positioning-callout { margin: 0 0 18px; }
.trade-experience-note strong,
.trade-positioning-callout strong { color: var(--gold); font-size: 15px; }
.trade-experience-note p,
.trade-positioning-callout span { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.65; }
.trade-tier-grid { gap: 14px; border-top: 0; }
.trade-tier-card { min-height: 100%; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.trade-tier-card.featured { color: var(--white); background: var(--forest); border-color: var(--forest); }
.trade-tier-kicker { margin-bottom: 34px; color: var(--rust); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.trade-tier-card > strong,
.trade-tier-price-stack strong { display: block; margin-top: 18px; color: var(--rust); font-size: 17px; font-weight: 720; }
.trade-tier-card > span { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.trade-tier-card.featured h3 { color: var(--white); }
.trade-tier-card.featured p,
.trade-tier-card.featured li,
.trade-tier-card.featured > span { color: rgba(255,255,255,.72); }
.trade-tier-card.featured .trade-tier-kicker,
.trade-tier-card.featured strong { color: var(--gold); }
.trade-response-matrix { margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trade-response-row { display: grid; grid-template-columns: 1fr .7fr 1fr; gap: 18px; padding: 13px 0; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.trade-response-row:last-child { border-bottom: 0; }
.trade-response-row.heading { color: var(--rust); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.trade-response-row strong { color: var(--forest); }
.trade-choice-panel { padding: 30px; color: var(--white); background: var(--forest); border-radius: var(--radius); }
.trade-choice-panel h2 { color: var(--white); }
.trade-choice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.22); }
.trade-choice-list div { padding: 18px 16px 8px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.trade-choice-list div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.16); }
.trade-choice-list strong,
.trade-choice-list span { display: block; }
.trade-choice-list strong { margin-bottom: 6px; color: var(--gold); font-size: 13px; }
.trade-choice-list span { color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.55; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { padding: 16px 0; color: var(--forest); font-weight: 760; cursor: pointer; }
.faq-list details p { max-width: 820px; color: var(--muted); font-size: 14px; line-height: 1.65; }

@media (max-width: 980px) {
  .commercial-service-grid,
  .trade-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commercial-service-card:not(:nth-child(3n + 1)),
  .trade-module-card:not(:nth-child(3n + 1)) { border-left: 0; }
  .commercial-service-card:nth-child(even),
  .trade-module-card:nth-child(even) { border-left: 1px solid var(--line); }
  .trade-risk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trade-risk-card + .trade-risk-card { border-left: 0; }
  .trade-risk-card:nth-child(even) { border-left: 1px solid var(--line); }
  .commercial-process-grid,
  .trade-delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body.commercial-litigation-page .lead-profile-card,
  body.trade-page .lead-profile-card { grid-template-columns: 88px minmax(0, 1fr); gap: 15px; }
  body.commercial-litigation-page .hero-top-grid,
  body.trade-page .hero-top-grid { width: 100%; }
  .commercial-overview-grid,
  .commercial-service-grid,
  .commercial-scenario-grid,
  .commercial-process-grid,
  .commercial-image-section,
  .commercial-international-section,
  .commercial-firm-section,
  .trade-risk-grid,
  .trade-principles-grid,
  .trade-tier-grid,
  .trade-module-grid,
  .trade-delivery-grid,
  .trade-choice-list { grid-template-columns: 1fr; }
  .commercial-overview-card + .commercial-overview-card,
  .commercial-service-card:nth-child(even),
  .commercial-process-grid article + article,
  .trade-risk-card:nth-child(even),
  .trade-principle-card + .trade-principle-card,
  .trade-module-card:nth-child(even),
  .trade-delivery-card + .trade-delivery-card,
  .trade-choice-list div:nth-child(even) { padding-left: 0; border-left: 0; }
  .commercial-overview-card,
  .commercial-service-card,
  .commercial-process-grid article,
  .trade-risk-card,
  .trade-principle-card,
  .trade-module-card,
  .trade-delivery-card { padding: 18px 0; }
  .commercial-scenario-card { min-height: 0; padding: 22px; }
  .commercial-image-media,
  .commercial-international-media,
  .commercial-firm-media,
  .commercial-image-media img,
  .commercial-international-media img,
  .commercial-firm-media img { min-height: 270px; }
  .commercial-international-section { padding-inline: 16px; }
  .commercial-international-points,
  .commercial-firm-stats { grid-template-columns: 1fr; }
  .commercial-international-points span + span { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .trade-experience-note,
  .trade-positioning-callout { grid-template-columns: 1fr; gap: 9px; padding: 18px; }
  .trade-tier-card { padding: 20px; }
  .trade-response-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .trade-response-row.heading { display: none; }
  .trade-choice-panel { padding: 22px; }
  body.commercial-litigation-page .lead-profile-copy h1 { font-size: 25px; line-height: 1.06; }
  body.commercial-litigation-page .lead-profile-copy p:not(.lead-profile-label) { margin-bottom: 14px; font-size: 13px; line-height: 1.48; }
  body.commercial-litigation-page .lead-profile-tags span { padding: 5px 6px; font-size: 9px; }
  body.commercial-litigation-page .hero-profile-footer { margin-top: 20px; }
}
