/* Fonts: self-hosted (was Google Fonts). Chinese fonts load only when 中文 is chosen (see i18n.js).
   The "Fallback" faces are system fonts resized to match, so nothing shifts when the web fonts arrive. */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/eb-garamond-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/eb-garamond-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/eb-garamond-latin-ext-500-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/eb-garamond-latin-500-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EBG Fallback"; src: local("Georgia"); size-adjust: 83.56%; ascent-override: 120.52%; descent-override: 35.66%; line-gap-override: 0%; }
@font-face { font-family: "EBG Fallback 2"; src: local("Times New Roman"), local("Liberation Serif"), local("Tinos"); size-adjust: 91.69%; ascent-override: 109.82%; descent-override: 32.50%; line-gap-override: 0%; }
@font-face { font-family: "EBG Fallback 3"; src: local("Noto Serif"); size-adjust: 77.44%; ascent-override: 130.03%; descent-override: 38.48%; line-gap-override: 0%; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("Liberation Sans"), local("Arimo"); size-adjust: 111.37%; ascent-override: 94.28%; descent-override: 31.43%; line-gap-override: 8.98%; }
@font-face { font-family: "Poppins Fallback 2"; src: local("Roboto"); size-adjust: 111.62%; ascent-override: 94.07%; descent-override: 31.36%; line-gap-override: 8.96%; }

/* Eng Chambers — shared styles. Tokens follow design-system/eng-chambers/MASTER.md */

:root {
  --ink: #23201c;
  --bronze: #a0825a;
  --bronze-deep: #74583a;
  --bronze-tint: #efe8dd;
  --sage: #2f3b36;
  --sage-soft: #3c4a44;
  --sage-deep: #222b28;
  --on-sage: #f2efe9;
  --on-sage-muted: #c9c4ba;
  --linen: #f7f5f1;
  --white: #ffffff;
  --stone: #ddd6ca;
  --muted: #5e584f;
  --bronze-light: #c9a978;
  --espresso: #1d1915;
  --espresso-2: #27221d;
  --on-dark: #f2ece3;
  --on-dark-muted: #bfb4a3;
  --line-dark: rgba(242, 236, 227, 0.16);
  --error: #a3262a;
  --success: #2f6b46;

  --font-display: "EB Garamond", "EBG Fallback", "EBG Fallback 2", "EBG Fallback 3", "Noto Serif SC", Georgia, serif;
  --font-body: "Poppins", "Poppins Fallback", "Poppins Fallback 2", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-20: 1.25rem;
  --fs-25: 1.5625rem;
  --fs-31: 1.9375rem;
  --fs-39: 2.4375rem;
  --fs-49: 3.0625rem;
  --fs-61: 3.8125rem;

  --container: 1240px;
  --gutter: 24px;
  --section: 120px;
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 767px) {
  :root { --section: 72px; --header-h: 64px; }
}
@media (max-width: 479px) {
  :root { --gutter: 16px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:lang(zh) body, body:lang(zh) { line-height: 1.85; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(var(--fs-39), 5.4vw, var(--fs-61)); letter-spacing: -0.01em; }
h2 { font-size: clamp(var(--fs-31), 3.6vw, var(--fs-49)); }
h3 { font-size: var(--fs-25); }
h4 { font-size: var(--fs-20); font-weight: 600; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4 { font-family: "Noto Serif SC", var(--font-display); font-weight: 600; letter-spacing: 0; line-height: 1.3; }

:focus-visible { outline: 3px solid var(--bronze-deep); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--on-sage); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 68ch; }
.lede { font-size: var(--fs-20); color: var(--muted); max-width: 52ch; line-height: 1.6; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section--sage { background: var(--sage); color: var(--on-sage); }
.section--sage h2, .section--sage h3 { color: var(--on-sage); }
.section--sage a { color: var(--on-sage); }
.section--sage .lede, .section--sage .muted { color: var(--on-sage-muted); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.section-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 760px; }
.section-head h2 { margin: 0; }
.section-head--split {
  max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px;
}
@media (max-width: 767px) { .section-head--split { grid-template-columns: 1fr; } }

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font: 500 var(--fs-16)/1.2 var(--font-body);
  border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
  touch-action: manipulation;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--bronze-deep); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.on-dark .btn--primary, .section--sage .btn--primary { background: var(--on-sage); color: var(--sage); }
.on-dark .btn--primary:hover, .section--sage .btn--primary:hover { background: var(--bronze-tint); color: var(--ink); }
.section--sage .btn--ghost { border-color: var(--on-sage); color: var(--on-sage); }
.section--sage .btn--ghost:hover { background: var(--on-sage); color: var(--sage); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 500; text-decoration: underline;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(247, 245, 241, 0.96);
  border-bottom: 1px solid var(--stone);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(247, 245, 241, 0.88); backdrop-filter: blur(8px); }
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 767px) { .brand img { height: 38px; } }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--ink); text-decoration: none; font-size: var(--fs-16);
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--bronze-deep); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--bronze); color: var(--ink); font-weight: 500; }

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

.lang-switch { display: flex; border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; }
.lang-switch button {
  min-width: 44px; min-height: 40px; padding: 0 10px; border: 0; background: transparent;
  font: 500 var(--fs-14)/1 var(--font-body); color: var(--muted); cursor: pointer;
}
.lang-switch button + button { border-left: 1px solid var(--stone); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--ink); background: var(--bronze-tint); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--stone); border-radius: var(--radius);
  background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

.header-cta { white-space: nowrap; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
}
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--linen); border-bottom: 1px solid var(--stone);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { min-height: 52px; font-size: var(--fs-20); font-family: var(--font-display); border-bottom: 1px solid var(--stone); padding: 0; }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--stone); color: var(--bronze-deep); }
  .nav .btn { width: 100%; margin-top: 20px; }
  .header-actions { margin-left: auto; }
}
@media (min-width: 900px) { .nav .btn { display: none; } }
@media (max-width: 380px) {
  .brand img { height: 32px; }
  .lang-switch button { min-width: 40px; padding: 0 6px; }
}


/* ---------- Shield portrait (signature) ---------- */
.shield {
  --shield: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%);
  position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 420px; margin-inline: auto;
}
.shield::before {
  content: ""; position: absolute; inset: 0; background: var(--bronze); clip-path: var(--shield);
}
.shield-inner {
  position: absolute; inset: 3px; clip-path: var(--shield); background: var(--sage);
  display: grid; place-items: center; overflow: hidden;
}
.shield-inner img { width: 100%; height: 100%; object-fit: cover; }
.shield-placeholder {
  width: 100%; height: 100%; display: grid; align-content: center; justify-items: center; gap: 8px;
  background: var(--bronze-tint); color: var(--bronze-deep); text-align: center; padding: 24px 24px 72px;
}
.shield-placeholder img { width: 58%; height: auto; mix-blend-mode: multiply; }
.shield-placeholder span { font-size: var(--fs-14); }
.shield-caption { margin-top: 20px; text-align: center; }
.shield-caption strong { display: block; font-family: var(--font-display); font-size: var(--fs-25); font-weight: 500; }
.shield-caption span { font-size: var(--fs-14); color: var(--muted); }

/* ---------- Facts strip ---------- */
.facts { border-block: 1px solid var(--stone); background: var(--white); }
.facts-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.facts-list li { padding: 28px 24px; border-left: 1px solid var(--stone); }
.facts-list li:first-child { border-left: 0; padding-left: 0; }
.facts-list strong { display: block; font-family: var(--font-display); font-size: var(--fs-25); font-weight: 500; line-height: 1.2; margin-bottom: 4px; }
.facts-list span { font-size: var(--fs-14); color: var(--muted); }
@media (max-width: 899px) {
  .facts-list { grid-template-columns: 1fr 1fr; }
  .facts-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts-list li:nth-child(n + 3) { border-top: 1px solid var(--stone); }
}
@media (max-width: 479px) {
  .facts-list { grid-template-columns: 1fr; }
  .facts-list li { border-left: 0; padding: 20px 0; }
  .facts-list li + li { border-top: 1px solid var(--stone); }
}

/* ---------- Ruled list (services, values) ---------- */
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone); }
.ruled > li { border-bottom: 1px solid var(--stone); }
.ruled--2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 0; }
.ruled--2col > li:nth-child(-n + 2) { border-top: 1px solid var(--stone); }
@media (max-width: 767px) {
  .ruled--2col { grid-template-columns: 1fr; }
  .ruled--2col > li:nth-child(2) { border-top: 0; }
}
.ruled-link {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center;
  padding: 24px 0; color: var(--ink); text-decoration: none;
}
.ruled-link h3 { margin: 0; font-size: var(--fs-25); transition: color 150ms var(--ease); }
.ruled-link p { grid-column: 1; margin: 0; color: var(--muted); font-size: var(--fs-16); }
.ruled-link svg { grid-row: 1 / span 2; grid-column: 2; width: 24px; height: 24px; color: var(--bronze); transition: transform 150ms var(--ease); }
.ruled-link:hover h3 { color: var(--bronze-deep); }
@media (prefers-reduced-motion: no-preference) { .ruled-link:hover svg { transform: translateX(4px); } }

.ruled-item { padding: 24px 0; }
.ruled-item h3 { font-size: var(--fs-20); font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; }
:lang(zh) .ruled-item h3 { font-family: "Noto Sans SC", var(--font-body); }
.ruled-item p { color: var(--muted); margin: 0; }

/* ---------- Comparison (joint vs single) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--stone); background: var(--white); }
.compare-col { padding: 40px; }
.compare-col + .compare-col { border-left: 1px solid var(--stone); }
.compare-col h3 { margin-bottom: 4px; }
.compare-col .when { color: var(--bronze-deep); font-weight: 500; margin-bottom: 20px; }
.compare dl { margin: 24px 0 0; display: grid; gap: 14px; }
.compare dt { font-size: var(--fs-14); color: var(--muted); }
.compare dd { margin: 0; font-weight: 500; }
.compare-foot { margin-top: 24px; color: var(--muted); max-width: 72ch; }
@media (max-width: 767px) {
  .compare { grid-template-columns: 1fr; }
  .compare-col { padding: 28px 24px; }
  .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--stone); }
}

/* ---------- Two-column split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.split--top { align-items: start; }
.split--reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
@media (max-width: 899px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 40px; }
}
.credentials { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 10px; }
.credentials li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.credentials svg { width: 20px; height: 20px; color: var(--bronze); margin-top: 4px; }

/* ---------- Steps (real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--bronze); padding-top: 20px; }
.steps li::before {
  content: counter(step); display: block; font-family: var(--font-display); font-size: var(--fs-39);
  line-height: 1; color: var(--bronze); margin-bottom: 16px;
}
.steps h3 { font-size: var(--fs-20); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: var(--fs-16); }
.section--sage .steps li { border-top-color: var(--bronze); }
.section--sage .steps p { color: var(--on-sage-muted); }
@media (max-width: 1023px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 559px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; list-style: none; margin: 0; padding: 0; }
.quotes blockquote { margin: 0; }
.quotes p { font-family: var(--font-display); font-size: var(--fs-25); line-height: 1.35; color: var(--ink); }
:lang(zh) .quotes p { font-family: "Noto Serif SC", var(--font-display); font-size: var(--fs-20); line-height: 1.7; }
.quotes footer { margin-top: 16px; font-size: var(--fs-14); color: var(--muted); }
.quotes footer::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--bronze); vertical-align: middle; margin-right: 10px; }
@media (max-width: 899px) { .quotes { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Publications ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--stone); background: var(--white); color: var(--ink);
  font: 500 var(--fs-14)/1 var(--font-body); cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.chip:hover { border-color: var(--bronze); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1023px) { .pub-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .pub-grid { grid-template-columns: 1fr; } }
.pub-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 28px; color: var(--ink); text-decoration: none;
  transition: border-color 150ms var(--ease);
}
.pub-card:hover { border-color: var(--bronze); color: var(--ink); }
.pub-card h3, .pub-card .h3 { font-size: var(--fs-25); margin: 12px 0; }
.pub-card p { color: var(--muted); font-size: var(--fs-16); }
.pub-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--fs-14); color: var(--muted); }
.pub-tag { color: var(--bronze-deep); font-weight: 500; }
.pub-card .text-link { margin-top: auto; padding-top: 12px; color: var(--bronze-deep); }
.pub-card-wrap.is-hidden { display: none; }
.draft-flag {
  display: inline-block; font-size:13px; font-weight: 500; padding: 2px 8px; border-radius: 999px;
  background: var(--bronze-tint); color: var(--bronze-deep);
}
.empty-state { padding: 40px 0; color: var(--muted); }

/* ---------- Article ---------- */
.article-head { padding-block: 56px 40px; border-bottom: 1px solid var(--stone); }
.article-head h1 { font-size: clamp(var(--fs-31), 4.4vw, var(--fs-49)); max-width: 22ch; }
.article-body { padding-block: 56px var(--section); }
.article-body .prose h2 { font-size: var(--fs-31); margin-top: 1.6em; }
.article-body .prose h3 { font-size: var(--fs-25); margin-top: 1.4em; }
.article-body .prose ul { padding-left: 1.2em; }
.article-body .prose li { margin-bottom: 0.5em; }
.callout { border-left: 3px solid var(--bronze); background: var(--white); padding: 20px 24px; margin: 32px 0; }
.breadcrumb { font-size: var(--fs-14); margin-bottom: 20px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--stone); }
.breadcrumb a { color: var(--muted); }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: 64px 56px; border-bottom: 1px solid var(--stone); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-top: 8px; }

/* ---------- Services page ---------- */
.service-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.service-index { position: sticky; top: calc(var(--header-h) + 32px); }
.service-index h2 { font-family: var(--font-body); font-size: var(--fs-14); font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.service-index ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--stone); }
.service-index a {
  display: flex; align-items: center; min-height: 44px; padding: 6px 0 6px 16px; margin-left: -1px;
  border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: var(--fs-14); line-height: 1.4;
}
.service-index a:hover { color: var(--ink); }
.service-index a.is-active { border-left-color: var(--bronze); color: var(--ink); font-weight: 500; }
.service-block { padding-block: 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--stone); }
.service-block:last-child { border-bottom: 0; margin-bottom: 0; }
.service-block h2 { font-size: var(--fs-39); }
.service-block .prose { margin-bottom: 24px; }
.service-block h3 { font-family: var(--font-body); font-size: var(--fs-16); font-weight: 600; margin: 24px 0 8px; }
:lang(zh) .service-block h3 { font-family: "Noto Sans SC", var(--font-body); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.tick-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.tick-list svg { width: 18px; height: 18px; color: var(--bronze); margin-top: 5px; }
@media (max-width: 1023px) {
  .service-layout { grid-template-columns: 1fr; gap: 32px; }
  .service-index { position: static; }
  .service-index ol { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; }
  .service-index a { border: 1px solid var(--stone); border-radius: 999px; padding: 0 14px; margin: 0; background: var(--white); color: var(--ink); }
  .service-index a.is-active { border-color: var(--bronze); }
}
@media (max-width: 639px) { .tick-list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--stone); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--stone); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--fs-20); font-weight: 500;
}
:lang(zh) .faq summary { font-family: "Noto Serif SC", var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; color: var(--bronze-deep); transition: transform 200ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 64px; align-items: start; }
.contact-band .lede { margin-bottom: 32px; }
.contact-details { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.contact-details li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; }
.contact-details svg { width: 22px; height: 22px; color: var(--bronze); margin-top: 3px; }
.contact-details strong { display: block; font-weight: 500; }
.contact-details span, .contact-details address { font-style: normal; color: var(--muted); }
.section--sage .contact-details span, .section--sage .contact-details address { color: var(--on-sage-muted); }
@media (max-width: 899px) { .contact-band { grid-template-columns: 1fr; gap: 40px; } }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; align-items: start; }
@media (max-width: 899px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 32px; }
.aside-box { background: var(--white); border: 1px solid var(--stone); padding: 28px; border-radius: var(--radius); }
.aside-box h2 { font-size: var(--fs-25); }

.form { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 40px; }
@media (max-width: 559px) { .form { padding: 24px 20px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 639px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field legend { font-weight: 500; font-size: var(--fs-14); }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 var(--fs-16)/1.4 var(--font-body); color: var(--ink);
  background: var(--linen); border: 1px solid #b9b0a2; border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--bronze-deep); outline-offset: 1px; background: var(--white); }
.field .hint { font-size: var(--fs-14); color: var(--muted); }
.field .error, .check-wrap .error { font-size: var(--fs-14); color: var(--error); display: none; margin: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error .error, .check-wrap.has-error .error { display: block; }
.check-wrap .error { padding-left: 30px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radio-row label, .check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; font-size: var(--fs-16); cursor: pointer; }
.radio-row input, .check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--bronze-deep); flex: none; }
.check { align-items: flex-start; }
.check input { margin-top: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); display: none; }
.form-status.is-success { display: block; background: #e8f1ea; color: var(--success); }
.form-status.is-error { display: block; background: #f6e6e6; color: var(--error); }
.error-summary { display: none; border: 2px solid var(--error); padding: 16px 20px; margin-bottom: 24px; border-radius: var(--radius); }
.error-summary.is-visible { display: block; }
.error-summary h2 { font-family: var(--font-body); font-size: var(--fs-16); font-weight: 600; color: var(--error); margin-bottom: 8px; }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: var(--error); }

.map-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--stone); background: var(--stone); border-radius: var(--radius); overflow: hidden; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: 8px; }
@media (max-width: 767px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage-deep); color: var(--on-sage-muted); padding-block: 72px 32px; font-size: var(--fs-14); }
.site-footer a { color: var(--on-sage); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 120px; margin-bottom: 16px; filter: brightness(0) invert(0.92) sepia(0.15); }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-14); font-weight: 600; color: var(--on-sage); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer li a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--sage); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.disclaimer { max-width: 80ch; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #1f7a4d; color: var(--white);
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(35, 32, 28, 0.25);
}
.wa-float:hover { background: #17603c; color: var(--white); }
.wa-float svg { width: 28px; height: 28px; }

/* Language-specific long-form blocks */
[data-lang-block] { display: none; }
[data-lang-block].is-current { display: block; }
html:not(.i18n-ready) [data-lang-block="en"] { display: block; }

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

@media print {
  .site-header, .wa-float, .site-footer, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
.appr-goal { margin-top: 24px; }

/* =====================================================================
   Firm homepage (v2) — see design-system/eng-chambers/MASTER.md
   ===================================================================== */

/* ---------- Shared accents ---------- */
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--bronze-deep); }
.on-dark h1 em, .on-dark h2 em { color: var(--bronze-light); }
:lang(zh) h1 em, :lang(zh) h2 em { font-style: normal; }

.kicker {
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
  font: 500 13px/1.4 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bronze-light);
}
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.kicker--dark { color: var(--bronze-deep); }
:lang(zh) .kicker { letter-spacing: 0.08em; }

.on-dark { color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }
.on-dark :focus-visible { outline-color: var(--bronze-light); }

.section--espresso { background: var(--espresso); color: var(--on-dark); }
.section--bronze-tint { background: var(--bronze-tint); }

.btn--light { background: var(--on-dark); color: var(--espresso); }
.btn--light:hover { background: var(--bronze-light); color: var(--espresso); }
.btn--outline-light { border-color: rgba(242, 236, 227, 0.55); color: var(--on-dark); background: transparent; }
.btn--outline-light:hover { border-color: var(--on-dark); background: var(--on-dark); color: var(--espresso); }

/* ---------- Overlay header (home) ---------- */
.site-header--overlay {
  position: fixed; inset: 0 0 auto 0;
  background: transparent; border-bottom-color: transparent;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), backdrop-filter 300ms var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header--overlay { background: transparent; backdrop-filter: none; }
}
.site-header--overlay:not(.is-solid) .brand img { filter: brightness(0) invert(1); opacity: 0.94; }
.site-header--overlay:not(.is-solid) .lang-switch { border-color: rgba(242, 236, 227, 0.35); }
.site-header--overlay:not(.is-solid) .lang-switch button { color: rgba(242, 236, 227, 0.8); }
.site-header--overlay:not(.is-solid) .lang-switch button + button { border-left-color: rgba(242, 236, 227, 0.35); }
.site-header--overlay:not(.is-solid) .lang-switch button[aria-pressed="true"] { background: var(--on-dark); color: var(--espresso); }
.site-header--overlay:not(.is-solid) .lang-switch button:not([aria-pressed="true"]):hover { background: rgba(242, 236, 227, 0.12); color: var(--on-dark); }
.site-header--overlay:not(.is-solid) .nav-toggle { border-color: rgba(242, 236, 227, 0.35); color: var(--on-dark); }
.site-header--overlay:not(.is-solid) .header-cta { background: var(--on-dark); color: var(--espresso); }
.site-header--overlay:not(.is-solid) .header-cta:hover { background: var(--bronze-light); }
.site-header--overlay:not(.is-solid) :focus-visible { outline-color: var(--bronze-light); }
@media (min-width: 900px) {
  .site-header--overlay:not(.is-solid) .nav-list a { color: var(--on-dark); }
  .site-header--overlay:not(.is-solid) .nav-list a:hover { color: var(--bronze-light); }
  .site-header--overlay:not(.is-solid) .nav-list a[aria-current="page"] { border-bottom-color: var(--bronze-light); }
}
.site-header--overlay.is-solid { background: rgba(247, 245, 241, 0.94); border-bottom-color: var(--stone); }
@supports (backdrop-filter: blur(8px)) {
  .site-header--overlay.is-solid { background: rgba(247, 245, 241, 0.86); backdrop-filter: blur(10px); }
}

/* ---------- Full-bleed hero ---------- */
.hero-full {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  background: var(--espresso);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: brightness(1.12) saturate(1.05); }
.hero-full::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 17, 14, 0.92) 0%, rgba(20, 17, 14, 0.72) 38%, rgba(20, 17, 14, 0.18) 72%, rgba(20, 17, 14, 0.05) 100%),
    linear-gradient(0deg, rgba(20, 17, 14, 0.9) 0%, rgba(20, 17, 14, 0) 34%),
    linear-gradient(180deg, rgba(20, 17, 14, 0.6) 0%, rgba(20, 17, 14, 0) 22%);
}
.hero-full-inner { display: flex; align-items: center; padding-top: calc(var(--header-h) + 64px); padding-bottom: 56px; }
.hero-full-copy { max-width: 720px; }
.hero-full h1 {
  font-size: clamp(2.75rem, 6.6vw, 5.5rem); line-height: 1.02; letter-spacing: -0.015em; font-weight: 400;
  margin-bottom: 28px;
}
:lang(zh) .hero-full h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.25; }
.hero-lede { font-size: var(--fs-20); line-height: 1.6; color: var(--on-dark-muted); max-width: 46ch; margin-bottom: 40px; }

.hero-foot { position: relative; border-top: 1px solid var(--line-dark); }
.hero-foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.hero-proof { display: flex; list-style: none; margin: 0; padding: 0; }
.hero-proof li { display: flex; align-items: baseline; gap: 10px; padding: 0 32px; border-left: 1px solid var(--line-dark); }
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.hero-proof strong { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-31); color: var(--on-dark); line-height: 1; }
:lang(zh) .hero-proof strong { font-family: "Noto Serif SC", var(--font-display); font-size: var(--fs-25); }
.hero-proof span { font-size: var(--fs-14); color: var(--on-dark-muted); }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px;
  color: var(--on-dark-muted); text-decoration: none; font-size:13px; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue:hover { color: var(--on-dark); }
.scroll-cue i { position: relative; width: 1px; height: 44px; background: var(--line-dark); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: var(--bronze-light); }

@media (max-width: 899px) {
  .hero-full::before {
    background:
      linear-gradient(0deg, rgba(20, 17, 14, 0.95) 0%, rgba(20, 17, 14, 0.78) 45%, rgba(20, 17, 14, 0.35) 100%);
  }
  .hero-full-inner { align-items: flex-end; padding-top: calc(var(--header-h) + 96px); padding-bottom: 40px; }
  .hero-media img { object-position: 50% 50%; }
  .scroll-cue { display: none; }
  .hero-foot-inner { min-height: 0; padding-block: 24px; }
  .hero-proof { flex-wrap: wrap; gap: 16px 0; }
  .hero-proof li { padding: 0 20px; }
}
@media (max-width: 559px) {
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-proof li { padding: 0; border-left: 0; flex-direction: column; gap: 4px; }
  .hero-proof li:last-child { grid-column: 1 / -1; }
  .hero-lede { font-size: var(--fs-16); margin-bottom: 32px; }
  .hero-full .btn-row .btn { flex: 1 1 100%; }
}

/* Scroll cue: motion.js runs the falling line by moving --cue */
.scroll-cue i::after { transform: translateY(var(--cue, -16px)); }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 96px; align-items: center; }
.intro h2 { max-width: 18ch; margin-bottom: 32px; }
.intro .prose { color: var(--muted); font-size: 1.0625rem; margin-bottom: 20px; }
.intro-figure { position: relative; margin: 0; }
.frame-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.frame-photo img { width: 100%; height: 100%; object-fit: cover; }
.frame-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(242, 236, 227, 0.45); pointer-events: none; }
.intro-note {
  position: absolute; left: -48px; bottom: 40px; max-width: 230px;
  display: grid; gap: 4px; padding: 24px 26px;
  background: var(--espresso); color: var(--on-dark-muted); font-size: var(--fs-14); line-height: 1.5;
}
.intro-note { font-family: var(--font-display); font-size: var(--fs-20); line-height: 1.35; color: var(--on-dark); }
:lang(zh) .intro-note { font-family: "Noto Serif SC", var(--font-display); font-size: var(--fs-16); line-height: 1.7; }
.intro-note-mark { font-size: 56px; line-height: 0.6; height: 28px; color: var(--bronze-light); }
@media (max-width: 1023px) { .intro-grid { gap: 56px; } .intro-note { left: -24px; } }
@media (max-width: 899px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-figure { max-width: 520px; }
  .intro-note { left: auto; right: 16px; bottom: -24px; }
}

/* ---------- Practice areas ---------- */
.practice-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 96px; align-items: start; }
.practice-head { position: sticky; top: calc(var(--header-h) + 48px); }
.practice-head h2 { font-size: clamp(var(--fs-39), 4.6vw, 4.25rem); font-weight: 400; line-height: 1.05; margin-bottom: 24px; }
.practice-lede { color: var(--on-dark-muted); max-width: 38ch; margin-bottom: 36px; }
.practice-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.practice-list li { border-bottom: 1px solid var(--line-dark); }
.practice-list a {
  position: relative; display: grid; grid-template-columns: 1fr 28px; gap: 8px 32px; align-items: center;
  padding: 30px 8px 30px 0; color: var(--on-dark); text-decoration: none;
  transition: padding-left 300ms var(--ease);
}
.practice-list a::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--bronze-light);
  transition: width 500ms var(--ease);
}
.practice-title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
:lang(zh) .practice-title { font-family: "Noto Serif SC", var(--font-display); }
.practice-tag {
  font: 500 13px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bronze-light); border: 1px solid rgba(201, 169, 120, 0.5); padding: 6px 10px; border-radius: 999px;
}
.practice-desc { grid-column: 1; color: var(--on-dark-muted); font-size: var(--fs-16); max-width: 56ch; }
.practice-list svg { grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; color: var(--bronze-light); transition: transform 300ms var(--ease); }
.practice-list a:hover .practice-title, .practice-list a:focus-visible .practice-title { color: var(--bronze-light); }
.practice-list a:hover::before, .practice-list a:focus-visible::before { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .practice-list a:hover { padding-left: 12px; }
  .practice-list a:hover svg { transform: translate(3px, -3px); }
}
@media (max-width: 1023px) {
  .practice-grid { grid-template-columns: 1fr; gap: 48px; }
  .practice-head { position: static; }
}
@media (max-width: 559px) { .practice-list a { padding: 24px 0; gap: 8px 16px; } }

/* ---------- Why us ---------- */
.why-grid { list-style: none; margin: 0 0 88px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.why-grid li { border-top: 1px solid var(--bronze); padding-top: 24px; }
.why-grid h3 { font-size: var(--fs-25); margin-bottom: 10px; }
.why-grid p { color: var(--muted); margin: 0; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--stone); }
.stats div { padding: 40px 32px; border-left: 1px solid var(--stone); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.75rem); line-height: 0.9; color: var(--ink); font-weight: 400; }
.stats dd span { color: var(--bronze); }
.stats dt { font-size: var(--fs-14); color: var(--muted); max-width: 22ch; }
@media (max-width: 1023px) {
  .why-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 1px solid var(--stone); }
}
@media (max-width: 559px) {
  .why-grid { grid-template-columns: 1fr; margin-bottom: 64px; }
  .stats div { padding: 28px 16px; }
  .stats div:nth-child(odd) { padding-left: 0; }
}

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.team-lead { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.shield--lead { max-width: 340px; }
.team h3 { font-size: var(--fs-31); margin-bottom: 4px; }
.team .role { color: var(--bronze-deep); font-weight: 500; font-size: var(--fs-14); margin-bottom: 16px; letter-spacing: 0.02em; }
.team-lead-copy > p:not(.role) { color: var(--muted); }
.team-lead .credentials { margin: 20px 0 0; font-size: var(--fs-14); }
.team-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; margin-bottom: 20px; overflow: hidden;
  display: grid; align-content: center; justify-items: center; gap: 10px;
  background: linear-gradient(160deg, #f3ede4 0%, var(--bronze-tint) 100%);
  color: var(--bronze-deep); font-size: 13px; text-align: center;
}
.portrait::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(160, 130, 90, 0.45); pointer-events: none; }
.portrait img { width: 46%; mix-blend-mode: multiply; }
.team-list h3 { font-size: var(--fs-25); }
.team-list .role { margin-bottom: 6px; }
.team-list .focus { font-size: var(--fs-14); color: var(--muted); }
@media (max-width: 1100px) {
  .team { grid-template-columns: 1fr; gap: 64px; }
  .team-list { max-width: 640px; }
}
@media (max-width: 639px) {
  .team-lead { grid-template-columns: 1fr; gap: 32px; }
  .shield--lead { max-width: 280px; margin-inline: 0; }
  .team-list { gap: 20px; }
}

/* ---------- Steps (light variant) ---------- */
.steps--light li { border-top: 1px solid var(--bronze); }
.steps--light li::before { font-size: var(--fs-49); font-weight: 400; }
.steps--light h3 { font-size: var(--fs-25); }

/* ---------- Testimonials ---------- */
.quote-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.quote-feature > blockquote { margin: 0; position: relative; padding-top: 56px; }
.quote-feature > blockquote::before {
  content: "“"; position: absolute; top: -24px; left: -6px; font-family: var(--font-display); font-size: 140px; line-height: 1; color: var(--bronze);
}
.quote-feature > blockquote p { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.25; color: var(--ink); }
:lang(zh) .quote-feature > blockquote p { font-family: "Noto Serif SC", var(--font-display); font-size: var(--fs-25); line-height: 1.6; }
.quote-feature footer, .quote-side footer { margin-top: 20px; font-size: var(--fs-14); color: var(--muted); }
.quote-feature footer::before, .quote-side footer::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--bronze); vertical-align: middle; margin-right: 10px; }
.quote-side { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(116, 88, 58, 0.25); }
.quote-side li { padding: 32px 0; border-bottom: 1px solid rgba(116, 88, 58, 0.25); }
.quote-side blockquote { margin: 0; }
.quote-side p { font-family: var(--font-display); font-size: var(--fs-20); line-height: 1.45; color: var(--ink); }
:lang(zh) .quote-side p { font-family: "Noto Serif SC", var(--font-display); font-size: var(--fs-16); line-height: 1.8; }
@media (max-width: 899px) { .quote-feature { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Contact feature ---------- */
.contact-feature { position: relative; isolation: isolate; overflow: hidden; padding-block: 140px; background: var(--espresso); }
.contact-feature-media { position: absolute; inset: 0; z-index: -2; }
.contact-feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.contact-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 17, 14, 0.25) 0%, rgba(20, 17, 14, 0.15) 50%, rgba(20, 17, 14, 0.35) 100%); }
.contact-feature-inner { display: flex; justify-content: flex-start; }
.contact-feature-card { width: min(100%, 600px); background: rgba(29, 25, 21, 0.94); padding: 56px; }
@supports (backdrop-filter: blur(12px)) { .contact-feature-card { background: rgba(29, 25, 21, 0.86); backdrop-filter: blur(12px); } }
.contact-feature-card h2 { font-weight: 400; margin-bottom: 20px; }
.contact-feature-card > p:not(.kicker) { color: var(--on-dark-muted); margin-bottom: 32px; }
.contact-mini { list-style: none; margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 18px; font-size: var(--fs-14); }
.contact-mini li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.contact-mini span { color: var(--bronze-light); }
.contact-mini address, .contact-mini p { font-style: normal; margin: 0; color: var(--on-dark); }
.contact-mini a { color: var(--on-dark); }
@media (max-width: 639px) {
  .contact-feature { padding-block: 220px 0; }
  .contact-feature-inner { padding: 0; }
  .contact-feature-card { padding: 40px var(--gutter) 56px; }
  .contact-mini li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Footer (espresso) ---------- */
.site-footer { background: var(--espresso); color: var(--on-dark-muted); }
.site-footer a { color: var(--on-dark); }
.site-footer h2 { color: var(--bronze-light); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-size:13px; }
.footer-base { border-top-color: var(--line-dark); }
.footer-contact { margin-top: 12px !important; }

/* WhatsApp bubble waits until the visitor leaves the hero */
.site-header--overlay:not(.is-solid) ~ .wa-float { opacity: 0; transform: translateY(12px); pointer-events: none; }
.wa-float { transition: opacity 300ms var(--ease), transform 300ms var(--ease), background-color 150ms var(--ease); }
@media (max-width: 559px) { .hero-proof strong { font-size: 1.375rem; } }

/* ---------- Practice areas page ---------- */
.practice-badge {
  display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  font: 500 13px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bronze-deep); border: 1px solid rgba(116, 88, 58, 0.4);
}
.sub-services { margin-top: 40px; border-top: 1px solid var(--stone); }
.sub-service { padding: 32px 0 32px 28px; border-bottom: 1px solid var(--stone); position: relative; }
.sub-service::before { content: ""; position: absolute; left: 0; top: 40px; width: 12px; height: 1px; background: var(--bronze); }
.sub-service:last-child { border-bottom: 0; padding-bottom: 0; }
.service-block .sub-title { font-family: var(--font-display); font-size: var(--fs-25); font-weight: 500; margin: 0 0 12px; }
:lang(zh) .service-block .sub-title { font-family: "Noto Serif SC", var(--font-display); }
.service-block h4 { font-family: var(--font-body); font-size: var(--fs-14); font-weight: 600; margin: 20px 0 8px; color: var(--ink); }
.sub-service .prose { margin-bottom: 0; color: var(--muted); }
@media (max-width: 559px) { .sub-service { padding-left: 20px; } }
.team-list--wide { grid-template-columns: repeat(auto-fill, minmax(200px, 260px)); max-width: none; }
.team-list--wide h3 { font-size: var(--fs-25); }
.team-list .role { color: var(--bronze-deep); font-weight: 500; font-size: var(--fs-14); margin-bottom: 6px; }
.team-list h3 { margin-bottom: 4px; }
@media (max-width: 899px) { .team-list--wide { grid-template-columns: 1fr 1fr; } }
.hero-proof strong { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 560px) {
  .hero-proof li { flex-direction: column; gap: 4px; padding: 0 24px; }
  .hero-proof strong { font-size: var(--fs-25); }
}

/* ---------- Client reviews slider ---------- */
.reviews { background: var(--white); overflow: hidden; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.reviews-head h2 { font-size: clamp(var(--fs-39), 5vw, 4.25rem); font-weight: 400; line-height: 1.05; margin-bottom: 20px; }
.reviews-rating {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); text-decoration: none; font-size: var(--fs-14);
}
.reviews-rating strong { font-family: var(--font-display); font-size: var(--fs-25); font-weight: 500; line-height: 1; }
.reviews-rating span:last-child { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.reviews-rating:hover span:last-child { color: var(--ink); }
.g-mark { width: 18px; height: 18px; flex: none; }
.review-stars { color: #c99a3b; letter-spacing: 0.12em; font-size: 14px; }

.reviews-nav { display: flex; gap: 12px; flex: none; }
.reviews-btn {
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--espresso); color: var(--on-dark);
  transition: background-color 200ms var(--ease), opacity 200ms var(--ease), transform 200ms var(--ease);
}
.reviews-btn svg { width: 24px; height: 24px; }
.reviews-btn:hover:not(:disabled) { background: var(--bronze-deep); }
.reviews-btn:active:not(:disabled) { transform: scale(0.95); }
.reviews-btn:disabled { opacity: 0.25; cursor: default; }

.reviews-viewport { --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.reviews-track {
  list-style: none; margin: 0; padding: 4px var(--edge) 24px;
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline: 3px solid var(--bronze-deep); outline-offset: -3px; }

.review-card {
  flex: 0 0 clamp(290px, 31vw, 420px); min-height: 500px; scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #f5f1ea; border-radius: 28px; padding: 28px 32px 36px;
}
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.review-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--espresso); color: var(--bronze-light);
  font-family: var(--font-display); font-size: 1.375rem; letter-spacing: 0.04em;
}
.review-tag {
  padding: 10px 18px; border: 1px solid rgba(35, 32, 28, 0.18); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.review-mark { font-family: var(--font-display); font-size: 72px; line-height: 0.6; height: 36px; color: var(--bronze); }
.review-quote { margin: 20px 0 32px; flex: 1; }
.review-quote p { font-family: var(--font-display); font-size: clamp(1.5rem, 2.1vw, 1.875rem); line-height: 1.22; color: var(--ink); letter-spacing: -0.005em; }
:lang(zh) .review-quote p:not([lang="en"]) { font-family: "Noto Serif SC", var(--font-display); font-size: var(--fs-20); line-height: 1.7; }
.review-who { display: grid; gap: 4px; padding-left: 18px; border-left: 1px solid rgba(35, 32, 28, 0.25); }
.review-who strong { font-weight: 500; font-size: var(--fs-16); }
.review-src { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-14); color: var(--muted); }
.review-src .g-mark { width: 14px; height: 14px; }

@media (max-width: 767px) {
  .reviews-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .reviews-btn { width: 52px; height: 52px; }
  .review-card { flex-basis: 84vw; min-height: 440px; padding: 24px 24px 32px; border-radius: 22px; }
  .review-top { margin-bottom: 28px; }
  .review-avatar { width: 52px; height: 52px; font-size: 1.125rem; }
}

/* ---------- Footer social links (EN/BM accounts by default, Chinese accounts in 中文) ---------- */
.social { margin-top: 32px; }
.social-title { font: 500 13px/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-light); margin-bottom: 14px; }
:lang(zh) .social-title { letter-spacing: 0.06em; }
.social-set { list-style: none; margin: 0; padding: 0; gap: 10px; flex-wrap: wrap; align-items: center; }
.site-footer .social-set { display: flex; }
.site-footer .social-set li { display: block; }
.social-set a {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  background: rgba(242, 236, 227, 0.06); border: 1px solid rgba(201, 169, 120, 0.35);
  color: var(--on-dark); text-decoration: none; line-height: 1;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.social-set a:hover, .social-set a:focus-visible { background: var(--bronze-light); border-color: var(--bronze-light); color: var(--espresso); }
@media (prefers-reduced-motion: no-preference) { .social-set a:hover { transform: translateY(-2px); } }
.social-set .ico { display: block; height: 18px; width: auto; flex: none; }
.social-set .ico-fb { height: 17px; }
.social-set .ico-ig { height: 19px; }
.social-set .ico-th { height: 19px; }
.social-set a.social-rn { width: auto; padding: 0 18px; border-radius: 999px; font: 600 14px/1 "Noto Sans SC", "PingFang SC", var(--font-body); letter-spacing: 0.06em; }
.site-footer .social-set--zh { display: none; }
html:lang(zh) .site-footer .social-set--en { display: none; }
html:lang(zh) .site-footer .social-set--zh { display: flex; }

/* Reviews: controls below the cards + scroll effects */
.reviews-head { margin-bottom: 48px; }
.reviews-controls { display: flex; align-items: center; gap: 28px; margin-top: 40px; }
.reviews-progress { position: relative; flex: 1; height: 2px; background: var(--stone); overflow: hidden; border-radius: 2px; }
.reviews-progress-bar {
  position: absolute; inset: 0; background: var(--espresso); transform-origin: left center;
  transform: scaleX(var(--progress, 0.1)); transition: transform 180ms linear;
}
.reviews-count { margin: 0; display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.reviews-count [data-reviews-current] { font-size: var(--fs-31); color: var(--ink); line-height: 1; min-width: 2ch; }
.reviews-count-sep { color: var(--bronze); }
.reviews-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
@media (hover: hover) and (pointer: fine) { .reviews-track { cursor: grab; } }

@media (prefers-reduced-motion: no-preference) {
  .review-card { transition: opacity 500ms var(--ease), transform 500ms var(--ease), background-color 300ms var(--ease); }
  .review-card.is-dim { opacity: 0.45; transform: scale(0.965); }
  .review-card:hover { background: #efe8dc; }
  .review-mark { transition: transform 500ms var(--ease); }
  .review-card:not(.is-dim) .review-mark { transform: translateY(-4px); }
}
@media (max-width: 767px) {
  .reviews-controls { gap: 16px; margin-top: 28px; }
  .reviews-nav { order: -1; } /* keep arrows clear of the WhatsApp button */
  .reviews-count [data-reviews-current] { font-size: var(--fs-25); }
}

/* ---------- Practice areas: photo card grid ---------- */
.pa-section { position: relative; overflow: hidden; background: #f3eee6; }
.pa-watermark {
  position: absolute; top: 40px; right: -2vw; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: clamp(5rem, 15vw, 13rem); line-height: 1; color: rgba(116, 88, 58, 0.045);
}
.pa-section .container { position: relative; z-index: 1; }
.pa-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.pa-head h2 { font-size: clamp(var(--fs-39), 5vw, 4.25rem); font-weight: 400; line-height: 1.05; margin: 0; }
.pa-head-side p { color: var(--muted); margin-bottom: 8px; max-width: 46ch; }
.pa-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.pa-card--wide { grid-column: span 2; }
.pa-card a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.pa-media { display: block; position: relative; overflow: hidden; border-radius: 14px; height: clamp(170px, 15vw, 220px); background: var(--stone); }
.pa-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.pa-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 25, 21, 0) 55%, rgba(29, 25, 21, 0.22) 100%); opacity: 0; transition: opacity 400ms var(--ease); }
.pa-body { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; }
.pa-title { font-size: clamp(1.25rem, 1.6vw, 1.4375rem); font-weight: 500; line-height: 1.25; margin: 0; transition: color 200ms var(--ease); }
.pa-card--wide .pa-title { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.pa-desc { color: var(--muted); font-size: var(--fs-14); margin: 0; max-width: 56ch; }
.pa-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; font-size: var(--fs-14); font-weight: 500; color: var(--bronze-deep); }
.pa-more svg { width: 16px; height: 16px; transition: transform 250ms var(--ease); }
.pa-card a:hover .pa-title, .pa-card a:focus-visible .pa-title { color: var(--bronze-deep); }
.pa-card a:hover .pa-media::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .pa-card a:hover .pa-media img { transform: scale(1.05); }
  .pa-card a:hover .pa-more svg { transform: translateX(4px); }
}
@media (max-width: 1023px) {
  .pa-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .pa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .pa-media { height: clamp(150px, 26vw, 240px); }
}
@media (max-width: 559px) {
  .pa-grid { grid-template-columns: 1fr; gap: 28px; }
  .pa-card--wide { grid-column: auto; }
  .pa-media { height: 52vw; }
  .pa-watermark { top: 24px; font-size: 22vw; }
}

/* =====================================================================
   Practice Areas page (services.html)
   ===================================================================== */
.svc-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--espresso); padding-block: 120px 96px; }
.svc-hero-media { position: absolute; inset: 0; z-index: -2; }
.svc-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: brightness(1.1); }
.svc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,17,14,0.92) 0%, rgba(20,17,14,0.7) 45%, rgba(20,17,14,0.35) 100%); }
.svc-hero h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); font-weight: 400; line-height: 1.02; margin-bottom: 20px; }
.svc-hero-lede { color: var(--on-dark-muted); font-size: var(--fs-20); line-height: 1.6; max-width: 48ch; margin: 0; }
.breadcrumb--light { margin-bottom: 40px; }
.breadcrumb--light a { color: var(--on-dark-muted); }
.breadcrumb--light li { color: var(--on-dark); }
.breadcrumb--light li + li::before { color: var(--bronze-light); }
@media (max-width: 767px) { .svc-hero { padding-block: 72px 64px; } .breadcrumb--light { margin-bottom: 28px; } .svc-hero-lede { font-size: var(--fs-16); } }

/* Sticky area tabs */
.area-tabs { position: sticky; top: var(--header-h); z-index: 50; background: rgba(247, 245, 241, 0.94); border-bottom: 1px solid var(--stone); }
@supports (backdrop-filter: blur(8px)) { .area-tabs { background: rgba(247, 245, 241, 0.86); backdrop-filter: blur(10px); } }
.area-tabs ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.area-tabs ul::-webkit-scrollbar { display: none; }
.area-tabs a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--stone); background: var(--white); color: var(--ink); text-decoration: none; font-size: var(--fs-14);
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.area-tabs a:hover { border-color: var(--bronze); }
.area-tabs a.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--on-dark); }
html:has(.area-tabs) { scroll-padding-top: calc(var(--header-h) + 84px); }

/* Area blocks */
.areas .container { display: grid; gap: 0; }
.area { padding-block: 72px; border-bottom: 1px solid var(--stone); }
.area:first-child { padding-top: 0; }
.area:last-child { border-bottom: 0; padding-bottom: 0; }
.area-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.area--flip .area-media { order: 2; }
.area-media { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.area-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
@media (prefers-reduced-motion: no-preference) { .area-media:hover img { transform: scale(1.04); } }
.area-num { display: block; font-family: var(--font-display); font-size: var(--fs-20); color: var(--bronze); letter-spacing: 0.08em; margin-bottom: 10px; }
.area-body h2 { font-size: clamp(var(--fs-31), 3.4vw, 2.75rem); font-weight: 400; line-height: 1.1; margin-bottom: 20px; }
.area-body .prose { color: var(--muted); margin-bottom: 8px; }
.area-body h3 { font: 600 13px/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-deep); margin: 28px 0 14px; }
:lang(zh) .area-body h3 { letter-spacing: 0.06em; }
.area-body .tick-list { gap: 10px 28px; }
.area-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--bronze); }
.area-cta svg { width: 18px; height: 18px; color: var(--bronze-deep); transition: transform 250ms var(--ease); }
.area-cta:hover { color: var(--bronze-deep); }
.area-cta:hover svg { transform: translateX(4px); }

/* Family services cards */
.family-services { margin-top: 64px; }
.family-services-title { font-size: var(--fs-25); font-weight: 500; margin-bottom: 24px; }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.svc-card { background: var(--white); border: 1px solid var(--stone); border-radius: 16px; padding: 28px 28px 8px; display: flex; flex-direction: column; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.svc-card:hover { border-color: rgba(160, 130, 90, 0.6); box-shadow: 0 10px 30px -18px rgba(35, 32, 28, 0.35); }
.svc-card h4 { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 500; margin: 0 0 10px; }
:lang(zh) .svc-card h4 { font-family: "Noto Serif SC", var(--font-display); }
.svc-card > p { color: var(--muted); font-size: 0.9375rem; margin: 0 0 16px; flex: 1; }
.svc-card details { border-top: 1px solid var(--stone); }
.svc-card summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; list-style: none; font-size: var(--fs-14); font-weight: 500; color: var(--bronze-deep); }
.svc-card summary::-webkit-details-marker { display: none; }
.svc-card summary svg { width: 18px; height: 18px; transition: transform 250ms var(--ease); }
.svc-card details[open] summary svg { transform: rotate(45deg); }
.svc-card .tick-list { grid-template-columns: 1fr; padding-bottom: 20px; font-size: 0.9375rem; }
.svc-card:target { border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(160, 130, 90, 0.2); }

/* Process / CTA */
.svc-process .steps li { border-top-color: var(--bronze-light); }
.svc-process .steps li::before { color: var(--bronze-light); font-weight: 400; font-size: var(--fs-49); }
.svc-process .steps p { color: var(--on-dark-muted); }
.svc-cta { background: var(--espresso); padding-block: 96px; border-top: 1px solid var(--line-dark); }
.svc-cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 48px; align-items: end; }
.svc-cta h2 { font-weight: 400; margin-bottom: 14px; }
.svc-cta p:not(.kicker) { color: var(--on-dark-muted); max-width: 52ch; margin: 0; }

@media (max-width: 899px) {
  .area { padding-block: 56px; }
  .area-main { grid-template-columns: 1fr; gap: 32px; }
  .area--flip .area-media { order: 0; }
  .svc-cta-inner { grid-template-columns: 1fr; align-items: start; }
  .family-services { margin-top: 48px; }
}
@media (max-width: 559px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 24px 22px 6px; }
  .area-body .tick-list { grid-template-columns: 1fr; }
}
.areas { padding-top: 80px; }
@media (max-width: 767px) { .areas { padding-top: 48px; } }

/* Practice areas (home): equal cards on a dark background */
.pa-section { background: var(--espresso); color: var(--on-dark); }
.pa-watermark { color: rgba(201, 169, 120, 0.07); }
.pa-head-side p { color: var(--on-dark-muted); }
.pa-all { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); font-weight: 500; text-decoration: underline; text-decoration-color: var(--bronze-light); text-underline-offset: 4px; }
.pa-all:hover { color: var(--bronze-light); }
.pa-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px 28px; }
.pa-card { flex: 0 0 calc((100% - 3 * 28px) / 4); min-width: 0; }
.pa-card--wide { grid-column: auto; }
.pa-media { height: auto; aspect-ratio: 4 / 3; background: var(--espresso-2); }
.pa-card a { color: var(--on-dark); }
.pa-title { color: var(--on-dark); font-size: clamp(1.1875rem, 1.5vw, 1.375rem); }
.pa-more { color: var(--bronze-light); }
.pa-card a:hover .pa-title, .pa-card a:focus-visible .pa-title { color: var(--bronze-light); }
.pa-card a:focus-visible { outline-color: var(--bronze-light); }
@media (max-width: 1023px) {
  .pa-grid { gap: 36px 20px; }
  .pa-card { flex-basis: calc((100% - 20px) / 2); }
  .pa-media { height: auto; }
}
@media (max-width: 559px) {
  .pa-card { flex-basis: 100%; }
  .pa-media { height: auto; aspect-ratio: 16 / 10; }
}

/* Hero foot: three short promises, title over description */
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 1; max-width: 960px; }
.hero-proof li, .hero-proof li:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 32px; border-left: 1px solid var(--line-dark); }
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.hero-proof strong { font-size: var(--fs-25); white-space: normal; }
.hero-proof span { font-size: var(--fs-14); line-height: 1.5; max-width: 30ch; }
.hero-foot-inner { min-height: 0; padding-block: 28px; }
@media (max-width: 1100px) and (min-width: 560px) {
  .hero-proof li { padding: 0 20px; }
  .hero-proof strong { font-size: var(--fs-20); }
}
@media (max-width: 559px) {
  .hero-proof { grid-template-columns: 1fr; gap: 16px; }
  .hero-proof li, .hero-proof li:first-child, .hero-proof li:last-child { grid-column: auto; padding: 0 0 0 14px; border-left: 1px solid var(--bronze-light); gap: 2px; }
  .hero-proof strong { font-size: var(--fs-20); }
}

/* Hero foot icons */
.hero-proof li, .hero-proof li:first-child {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start;
}
.proof-ico {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: var(--bronze-light);
  border: 1px solid rgba(201, 169, 120, 0.45); background: rgba(201, 169, 120, 0.08);
}
.proof-ico svg { width: 22px; height: 22px; display: block; }
.hero-proof strong { align-self: end; }
@media (max-width: 1100px) and (min-width: 560px) {
  .proof-ico { width: 40px; height: 40px; }
  .proof-ico svg { width: 19px; height: 19px; }
}
@media (max-width: 559px) {
  .hero-proof li, .hero-proof li:first-child, .hero-proof li:last-child { padding-left: 0; border-left: 0; column-gap: 14px; }
  .proof-ico { width: 42px; height: 42px; }
  .proof-ico svg { width: 20px; height: 20px; }
}

/* ---------- Practice Areas dropdown in the main menu ---------- */
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 28px; height: 44px; margin-left: -8px; padding: 0;
  border: 0; background: transparent; color: inherit; cursor: pointer;
}
.sub-toggle svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.nav-list .has-sub > a { padding-right: 8px; }
.site-header .sub-toggle { color: var(--ink); }
.site-header--overlay:not(.is-solid) .sub-toggle { color: var(--on-dark); }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }

@media (min-width: 900px) {
  .nav-sub {
    position: absolute; top: 100%; left: -12px; z-index: 120; min-width: 320px;
    list-style: none; margin: 0; padding: 10px;
    background: var(--white); border: 1px solid var(--stone); border-radius: 14px;
    box-shadow: 0 24px 48px -24px rgba(29, 25, 21, 0.45);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms;
  }
  .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
  .has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub, .has-sub.is-open .nav-sub {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
  }
  .has-sub:hover .sub-toggle svg { transform: rotate(180deg); }
  .nav-list .nav-sub a,
  .site-header--overlay:not(.is-solid) .nav-list .nav-sub a {
    display: flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 0; border-radius: 8px;
    color: var(--ink); font-size: var(--fs-14); white-space: nowrap;
  }
  .nav-list .nav-sub a:hover, .nav-list .nav-sub a:focus-visible,
  .site-header--overlay:not(.is-solid) .nav-list .nav-sub a:hover { background: var(--bronze-tint); color: var(--bronze-deep); }
  .nav-sub-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--stone); }
  .nav-list .nav-sub-all a, .site-header--overlay:not(.is-solid) .nav-list .nav-sub-all a { color: var(--bronze-deep); font-weight: 500; }
}

@media (max-width: 899px) {
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 52px; height: 52px; margin: 0; border-bottom: 1px solid var(--stone); }
  .nav-sub { display: none; width: 100%; list-style: none; margin: 0; padding: 4px 0 8px 14px; border-left: 2px solid var(--bronze); }
  .has-sub.is-open .nav-sub { display: block; }
  .nav-list .nav-sub a { min-height: 44px; font-family: var(--font-body); font-size: var(--fs-16); border-bottom: 0; color: var(--muted); }
  .nav-list .nav-sub a:hover { color: var(--bronze-deep); }
  .nav-sub-all a { font-weight: 500; color: var(--bronze-deep) !important; }
}

/* Keep the top menu on one line at mid widths */
.nav-list a, .lang-switch button { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 900px) {
  .header-cta { display: none; }
  .nav-list a { padding: 0 10px; }
}

/* Why Eng Chambers: heading left, intro right */
.why-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: end; margin-bottom: 72px; }
.why-head h2 { font-size: clamp(var(--fs-39), 5vw, 4.25rem); font-weight: 400; line-height: 1.05; margin: 0; }
.why-intro p { color: var(--muted); font-size: 1.0625rem; margin: 0 0 14px; max-width: 60ch; }
.why-intro p:last-child { margin-bottom: 0; }
@media (max-width: 899px) { .why-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; } }

/* Why Eng Chambers: icons */
.why-ico {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%;
  background: var(--bronze-tint); color: var(--bronze-deep); border: 1px solid rgba(160, 130, 90, 0.35);
  transition: background-color 250ms var(--ease), color 250ms var(--ease);
}
.why-ico svg { width: 24px; height: 24px; display: block; }
.why-grid li:hover .why-ico { background: var(--espresso); color: var(--bronze-light); }

/* Practice Areas page: light overview grid of all seven areas (same cards as the home page) */
.pa-section--light { background: var(--linen); color: var(--ink); }
.pa-section--light .pa-head-side p { color: var(--muted); }
.pa-section--light .pa-media { background: var(--stone); }
.pa-section--light .pa-card a { color: var(--ink); }
.pa-section--light .pa-title { color: var(--ink); }
.pa-section--light .pa-more { color: var(--bronze-deep); }
.pa-section--light .pa-card a:hover .pa-title, .pa-section--light .pa-card a:focus-visible .pa-title { color: var(--bronze-deep); }
.pa-section--light .pa-card a:focus-visible { outline-color: var(--bronze-deep); }
.pa-section--light .pa-desc { color: var(--muted); font-size: var(--fs-14); line-height: 1.55; margin: 0; }
.pa-overview { padding-block: 96px 104px; border-bottom: 1px solid var(--stone); }
@media (max-width: 767px) { .pa-overview { padding-block: 64px 72px; } }
@media (max-width: 559px) {
  .pa-overview .pa-grid { gap: 24px 14px; }
  .pa-overview .pa-card { flex-basis: calc((100% - 14px) / 2); }
  .pa-overview .pa-media { aspect-ratio: 4 / 3; border-radius: 10px; }
  .pa-overview .pa-body { padding-top: 10px; gap: 4px; }
  .pa-overview .pa-title { font-size: 1.0625rem; }
  .pa-overview .pa-desc { display: none; }
  .pa-overview .pa-more { font-size: 13px; }
}

/* =====================================================================
   Practice Areas page: scroll design (driven by assets/js/services.js)
   ===================================================================== */

/* Banner depth: photo plane taller than the frame so it can travel */
.svc-hero-media { inset: -20% 0 0 0; will-change: transform; }
.svc-hero-inner { will-change: transform, opacity; }

/* Overview spotlight: the faint word behind the grid names the area in focus */
.pa-overview { position: relative; overflow: hidden; }
.ov-mark { top: 28px; right: -1vw; color: rgba(116, 88, 58, 0.07); }
@media (prefers-reduced-motion: no-preference) {
  .pa-overview .pa-card a { transition: opacity 300ms var(--ease); }
  .pa-overview .pa-card.is-active .pa-media img { transform: scale(1.05); }
  .pa-overview .pa-card.is-active .pa-title { color: var(--bronze-deep); }
  .pa-overview .pa-card.is-active .pa-more svg { transform: translateX(4px); }
}

/* Reading progress under the sticky tabs */
.area-tabs { position: sticky; }
.area-tabs-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left center; pointer-events: none;
}

/* Area photos: motion.js wipes each frame open and drifts the photo inside it */
.motion .area-media img { will-change: transform; }

/* Divorce process: a bronze line draws across the four steps (desktop layout only) */
.steps-track { position: relative; }
.steps-fill { display: none; }
@media (min-width: 1024px) {
  .steps-fill {
    display: block; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 1;
    background: var(--bronze-light); transform-origin: left center;
  }
  .svc-process .steps-track .steps li { border-top-color: var(--line-dark); }
  .svc-process .steps-track .steps li::before { color: rgba(201, 169, 120, 0.35); transition: color 400ms var(--ease); }
  .svc-process .steps-track .steps li.is-reached::before { color: var(--bronze-light); }
  .svc-process .steps-track .steps li h3, .svc-process .steps-track .steps li p { transition: opacity 400ms var(--ease); }
  .motion .svc-process .steps-track .steps li:not(.is-reached) h3, .motion .svc-process .steps-track .steps li:not(.is-reached) p { opacity: 0.55; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .pa-overview.has-active .pa-card:not(.is-active) a { opacity: 0.5; }
}

/* Divorce & Family Law: three sub-sections under the intro */
.family-detail {
  margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  background: var(--white); border: 1px solid var(--stone); border-radius: 18px; overflow: hidden;
}
.fd-block { padding: 36px 32px 34px; }
.fd-block + .fd-block { border-left: 1px solid var(--stone); }
.fd-block h3 {
  font-family: var(--font-display); font-size: clamp(1.25rem, 1.6vw, 1.4375rem); font-weight: 500; line-height: 1.25;
  margin: 0 0 16px; padding-top: 18px; border-top: 2px solid var(--bronze); display: inline-block;
}
:lang(zh) .fd-block h3 { font-family: "Noto Serif SC", var(--font-display); }
.fd-block p { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; margin: 0 0 12px; }
.fd-block p:last-child { margin-bottom: 0; }
@media (max-width: 1023px) {
  .family-detail { grid-template-columns: 1fr; }
  .fd-block + .fd-block { border-left: 0; border-top: 1px solid var(--stone); }
}
@media (max-width: 559px) { .family-detail { margin-top: 44px; } .fd-block { padding: 28px 22px; } }

/* =====================================================================
   Home: "The firm" — layered photo stack + word-fill heading (motion in assets/js/motion.js)
   ===================================================================== */
.intro--layered { overflow: hidden; padding-block: 140px 160px; }
.intro--layered .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 88px; }
.intro--layered .intro-title { font-size: clamp(2.25rem, 4.4vw, 3.75rem); font-weight: 400; line-height: 1.08; max-width: 15ch; margin-bottom: 36px; }
.intro--layered .prose { max-width: 52ch; }
.intro-cta { margin-top: 12px; }

/* Word fill: words start faint and reach full ink as the heading is read */
@media (prefers-reduced-motion: no-preference) {
  .intro-title .wf { will-change: opacity; }
}

/* The stack: back photo, front photo overlapping its lower-left corner, quote card on top */
/* Arch-topped photo: one tall image framed like a doorway, a soft bronze arch behind it,
   and the firm's line set into the foot of the photo. The photo and the tone drift at
   different speeds as the section scrolls (motion.js). */
.intro-arch { position: relative; isolation: isolate; width: min(100%, 470px); justify-self: end; margin-right: 28px; }
.intro-arch-tone {
  position: absolute; inset: 0; z-index: -1;
  border-radius: 50% 50% 20px 20px / 40% 40% 20px 20px;
  background: color-mix(in srgb, var(--bronze) 26%, var(--linen));
  translate: 28px 28px; will-change: transform;
}
.intro-arch-photo {
  position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 50% 50% 20px 20px / 40% 40% 20px 20px;
  background: var(--espresso);
  box-shadow: 0 40px 80px -40px rgba(29, 25, 21, 0.55);
}
.intro-arch-photo img {
  position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 60%; display: block;
  will-change: transform;
}
.intro-arch-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(20, 16, 12, 0.86) 0%, rgba(20, 16, 12, 0.45) 28%, rgba(20, 16, 12, 0) 52%);
}
.intro-arch-note {
  position: absolute; left: 36px; right: 36px; bottom: 34px; z-index: 1; margin: 0;
  font-family: var(--font-display); font-size: clamp(1.625rem, 2.4vw, 2.125rem); line-height: 1.15; color: var(--on-dark);
}
.intro-arch-note::before { content: ""; display: block; width: 40px; height: 2px; background: var(--bronze-light); margin-bottom: 18px; }
:lang(zh) .intro-arch-note { font-family: "Noto Serif SC", var(--font-display); font-size: var(--fs-25); line-height: 1.5; }

@media (max-width: 1023px) { .intro--layered .intro-grid { gap: 56px; } }
@media (max-width: 899px) {
  .intro--layered { padding-block: 88px 112px; }
  .intro--layered .intro-grid { grid-template-columns: 1fr; }
  .intro-arch { justify-self: start; width: min(calc(100% - 20px), 440px); margin-right: 0; }
  .intro-arch-tone { translate: 20px 20px; }
  .intro-arch-note { left: 26px; right: 26px; bottom: 26px; }
}


/* Phone numbers: small label before each number in the footer */
.tel-label { display: inline-block; min-width: 56px; margin-right: 8px; font-size:13px; letter-spacing: 0.04em; color: var(--on-dark-muted); }
.tel-note { color: var(--on-dark-muted); font-size:13px; }

/* =====================================================================
   Contact: "Visit us" — dark visit card beside a lens-reveal map (assets/js/contact.js)
   ===================================================================== */
.visit { background: var(--white); }
.visit-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.visit-head h2 { font-size: clamp(var(--fs-39), 4.6vw, 3.75rem); font-weight: 400; line-height: 1.05; margin: 0; }
.visit-lede { color: var(--muted); font-size: 1.0625rem; margin: 0; max-width: 46ch; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 24px; align-items: stretch; }

.visit-card {
  display: flex; flex-direction: column; gap: 28px; padding: 40px 36px;
  background: var(--espresso); color: var(--on-dark); border-radius: 20px;
}
.visit-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.visit-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--bronze-light); border: 1px solid rgba(201, 169, 120, 0.4); background: rgba(201, 169, 120, 0.08); }
.visit-ico svg { width: 20px; height: 20px; }
.visit-label { margin: 0 0 6px; font: 500 13px/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-light); }
:lang(zh) .visit-label { letter-spacing: 0.06em; }
.visit-address { font-style: normal; font-family: var(--font-display); font-size: var(--fs-20); line-height: 1.45; color: var(--on-dark); }
:lang(zh) .visit-address { font-family: var(--font-display); }
.visit-value { margin: 0; color: var(--on-dark); }
.visit-note { margin: 4px 0 0; color: var(--on-dark-muted); font-size: var(--fs-14); }
.visit-copy {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark);
  font: 500 var(--fs-14)/1 var(--font-body); cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.visit-copy svg { width: 16px; height: 16px; }
.visit-copy:hover { background: var(--on-dark); color: var(--espresso); border-color: var(--on-dark); }
.visit-copied { display: block; min-height: 1.4em; margin-top: 6px; font-size: var(--fs-14); color: var(--bronze-light); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.visit-actions .btn { flex: 1 1 160px; }
.visit-actions .btn svg { width: 16px; height: 16px; }
.visit-gmaps { align-self: flex-start; min-height: 32px; font-size: var(--fs-14); color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 4px; }
.visit-gmaps:hover { color: var(--on-dark); }

.visit-map { position: relative; min-height: 460px; }
.visit .map-frame { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 20px; border: 0; }

/* Lens reveal: the map starts as a circle around the pin and opens to the full frame */
.visit-map.is-lens .map-frame { clip-path: circle(calc(14% + var(--lens, 0) * 66%) at 50% 50%); will-change: clip-path; }
.visit-map.is-lens::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px;
  border-radius: 50%; border: 1px solid var(--bronze); pointer-events: none;
  opacity: calc(0.9 - var(--lens, 0) * 1.4);
  transform: scale(var(--pulse, 1));
}

@media (max-width: 899px) {
  .visit-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-map { min-height: 0; aspect-ratio: 4 / 3; }
  .visit-card { padding: 32px 24px; }
}
@media (max-width: 559px) { .visit-map { aspect-ratio: 1 / 1; } }

.stats dd { font-variant-numeric: tabular-nums; }

/* Home: process line on a light background */
@media (min-width: 1024px) {
  .steps-track--light .steps-fill { background: var(--bronze); }
  .steps-track--light .steps li { border-top-color: var(--stone); }
  .steps-track--light .steps li::before { color: rgba(160, 130, 90, 0.35); transition: color 400ms var(--ease); }
  .steps-track--light .steps li.is-reached::before { color: var(--bronze); }
  .steps-track--light .steps li h3, .steps-track--light .steps li p { transition: opacity 400ms var(--ease); }
  .motion .steps-track--light .steps li:not(.is-reached) h3, .motion .steps-track--light .steps li:not(.is-reached) p { opacity: 0.5; }
}

/* Home: closing photo settles slowly behind the card */
.contact-feature-media { inset: -60px 0; }
.contact-feature-media img { will-change: transform; }


/* =====================================================================
   About: dark header with a widening Kuala Lumpur view (motion in assets/js/motion.js)
   The tagline promises "a broader perspective": the panorama opens from a narrow
   slit to the full width of the screen as the visitor scrolls.
   ===================================================================== */
.about-hero { background: var(--espresso); color: var(--on-dark); padding-top: 96px; overflow: hidden; }
.about-hero-text { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 48px; align-items: end; padding-bottom: 56px; }
.about-hero h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); white-space: nowrap; font-weight: 400; line-height: 1; letter-spacing: -0.015em; margin: 0; }
.about-tagline { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.25; color: var(--on-dark); margin: 0; max-width: 22ch; justify-self: end; }
.about-tagline em { font-style: italic; color: var(--bronze-light); }
:lang(zh) .about-tagline { font-family: "Noto Serif SC", var(--font-display); }
:lang(zh) .about-tagline em { font-style: normal; }
.about-view { margin: 0; position: relative; height: clamp(320px, 62vh, 640px); overflow: hidden; }
.about-view img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(var(--view-scale, 1)); }


/* Intro: the first paragraph as a statement, the other two beside it */
.about-intro { padding-block: 140px 150px; }
.about-intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 80px; align-items: start; }
.about-statement { font-family: var(--font-display); font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.4; color: var(--ink); margin: 0; }
:lang(zh) .about-statement { font-family: "Noto Serif SC", var(--font-display); line-height: 1.6; }
.about-intro-text { padding-top: 8px; }
.about-intro-text p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink); margin: 0 0 18px; max-width: 54ch; }
.about-intro-text p:last-child { margin-bottom: 0; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 110px; background: var(--linen); border-radius: 20px; overflow: hidden; }
.about-col { padding: 48px 44px; }
.about-col + .about-col { background: var(--bronze-tint); }
.about-col h2 { font-size: clamp(var(--fs-31), 3vw, var(--fs-39)); font-weight: 400; margin-bottom: 18px; }
.about-col p { color: var(--ink); }
.about-col .area-cta { margin-top: 12px; }
.about-close { font-family: var(--font-display); font-size: var(--fs-20); line-height: 1.45; margin-top: 20px; color: var(--bronze-deep); }
:lang(zh) .about-close { font-family: "Noto Serif SC", var(--font-display); }

@media (max-width: 899px) {
  .about-hero { padding-top: 64px; }
  .about-hero-text { grid-template-columns: 1fr; gap: 20px; padding-bottom: 36px; }
  .about-tagline { justify-self: start; }
  .about-view { height: 52vw; min-height: 240px; }
  .about-intro { padding-block: 80px 88px; }
  .about-intro-grid, .about-cols { grid-template-columns: 1fr; gap: 32px; }
  .about-cols { margin-top: 64px; gap: 0; }
  .about-col { padding: 36px 26px; }
}
@media (max-width: 559px) { .about-hero h1 { white-space: normal; } }

/* About: panorama ends as a rounded frame inside the page width (sharper than full bleed) */
.about-hero { padding-bottom: 0; }
.about-hero .about-view { height: clamp(300px, 58vh, 600px); border-radius: 20px; }
.about-hero { isolation: isolate; }

/* About intro: statement + photo, then the "connections" panel */
.about-intro { padding-block: 96px 140px; }
.about-lead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; }
.about-lead .about-statement { font-size: clamp(1.375rem, 2.1vw, 1.875rem); line-height: 1.38; }
.about-lead-photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--stone); }
.about-lead-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.about-lead-photo:hover img { transform: scale(1.04); }

.about-links {
  margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  background: var(--espresso); color: var(--on-dark); border-radius: 24px; padding: 64px 56px;
}
.about-links-lead { font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.45; color: var(--on-dark); margin: 0 0 20px; }
:lang(zh) .about-links-lead { font-family: "Noto Serif SC", var(--font-display); }
.about-links-text p:not(.about-links-lead) { color: var(--on-dark-muted); margin: 0; }

/* The connections: each issue is a hub, the matters it touches branch off it */
.about-links-map { display: grid; gap: 28px; }
.link-cluster { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 0; align-items: center; }
.link-hub {
  margin: 0; padding: 14px 20px; border-radius: 999px; white-space: nowrap;
  background: var(--bronze-light); color: var(--espresso); font-weight: 500; font-size: var(--fs-16);
  position: relative; z-index: 1;
}
.link-branches { list-style: none; margin: 0; padding: 0 0 0 36px; position: relative; display: grid; gap: 10px; }
.link-branches::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 2px; background: var(--bronze-light); }
.link-branches::after { content: ""; position: absolute; left: 22px; top: 22px; bottom: 22px; width: 2px; background: var(--bronze-light); }
.link-branches li { position: relative; }
.link-branches li::before { content: ""; position: absolute; left: -14px; top: 50%; width: 14px; height: 2px; background: var(--bronze-light); }
.link-branches span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; font-size: var(--fs-14);
  background: rgba(242, 236, 227, 0.08); color: var(--on-dark); border: 1px solid rgba(201, 169, 120, 0.35);
}
.about-cols { margin-top: 32px; }

@media (max-width: 899px) {
  .about-intro { padding-block: 64px 88px; }
  .about-lead { grid-template-columns: 1fr; gap: 32px; }
  .about-links { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px; margin-top: 56px; }
}
@media (max-width: 559px) {
  .link-cluster { grid-template-columns: 1fr; gap: 14px; }
  .link-hub { justify-self: start; }
  .link-branches { padding-left: 28px; }
  .link-branches::before { left: 18px; top: -14px; width: 2px; height: 14px; }
  .link-branches::after { left: 18px; top: 0; bottom: 20px; }
  .link-branches li::before { left: -10px; width: 10px; }
}
.about-hero { overflow-x: clip; }
@media (max-width: 899px) { .about-hero .about-view { height: 60vw; min-height: 220px; } }

/* =====================================================================
   About header v3: full-width Kuala Lumpur panorama (real photograph, CC BY 2.0)
   that pulls back from the Twin Towers to the whole skyline as you scroll.
   ===================================================================== */
.about-pano-hero {
  position: relative; isolation: isolate; overflow: hidden; padding: 0;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end;
  background: #0d0f16;
}
.about-pano { position: absolute; inset: 0; margin: 0; z-index: -2; }
.about-pano img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pan, 50%) 45%;
  transform-origin: 43% 45%; will-change: transform;
}
/* a neutral scrim along the dark treeline, where the title sits */
.about-pano-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 9, 8, 0.88) 0%, rgba(10, 9, 8, 0.55) 30%, rgba(10, 9, 8, 0) 58%);
}
.about-pano-text { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 48px; align-items: end; padding-bottom: 96px; padding-top: 0; }
.about-pano-hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.75rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; margin: 0; white-space: nowrap; }
.about-pano-hero .about-tagline { justify-self: end; max-width: 20ch; margin: 0; }
.about-pano-credit {
  position: absolute; right: 104px; bottom: 18px; margin: 0; font-size:13px; color: rgba(242, 236, 227, 0.6);
}
.about-pano-credit a { color: rgba(242, 236, 227, 0.75); }
@media (max-width: 899px) {
  .about-pano-hero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
  .about-pano img { object-position: var(--pan, 40%) 45%; }
  .about-pano-text { grid-template-columns: 1fr; gap: 14px; padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  .about-pano-hero .about-tagline { justify-self: start; }
  .about-pano-hero h1 { white-space: normal; }
  .about-pano-credit { right: 84px; left: 16px; bottom: 14px; }
}
/* Tagline: keep "A broader perspective." together on its own line */
.about-tagline em { display: block; white-space: nowrap; }
.about-pano-hero .about-tagline { max-width: none; }


/* =====================================================================
   About: "What we do" practice list + "How we work" lit steps (motion in assets/js/motion.js)
   ===================================================================== */
.about-do { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.about-do h2, .about-how h2 { font-size: clamp(var(--fs-39), 4.4vw, 3.75rem); font-weight: 400; line-height: 1.05; margin-bottom: 24px; }
.about-do-text p { color: var(--ink); font-size: 1.0625rem; max-width: 52ch; }
.do-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.do-list a {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 20px; gap: 18px; align-items: center;
  padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--linen); color: var(--ink); text-decoration: none;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), transform 250ms var(--ease);
}
.do-list img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; transition: transform 400ms var(--ease); }
.do-list span { font-family: var(--font-display); font-size: var(--fs-20); line-height: 1.25; }
:lang(zh) .do-list span { font-family: "Noto Serif SC", var(--font-display); }
.do-list svg { width: 18px; height: 18px; color: var(--bronze-deep); transition: transform 250ms var(--ease); }
.do-list a:hover, .do-list a:focus-visible { background: var(--espresso); color: var(--on-dark); }
.do-list a:hover svg, .do-list a:focus-visible svg { color: var(--bronze-light); transform: translateX(4px); }
.do-list a:hover img { transform: scale(1.08); }

.about-how {
  margin-top: 120px; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; align-items: start;
  background: var(--espresso); color: var(--on-dark); border-radius: 28px; padding: 80px 64px;
}
.about-how h2 { color: var(--on-dark); }
.how-aside { position: sticky; top: calc(var(--header-h) + 48px); }
.how-quote { margin: 0 0 36px; }
.how-quote p { font-family: var(--font-display); font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.35; color: var(--bronze-light); margin: 0; }
:lang(zh) .how-quote p { font-family: "Noto Serif SC", var(--font-display); }
.how-progress { height: 2px; background: var(--line-dark); border-radius: 2px; overflow: hidden; max-width: 320px; }
.how-progress span { display: block; height: 100%; background: var(--bronze-light); transform-origin: left center; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.how-step {
  position: relative; padding: 36px 36px 36px 96px; border-radius: 20px;
  background: rgba(242, 236, 227, 0.05);
  transition: background-color 450ms var(--ease), opacity 450ms var(--ease);
}
.how-num {
  position: absolute; left: 32px; top: 34px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-size: var(--fs-20);
  background: rgba(201, 169, 120, 0.14); color: var(--bronze-light);
  transition: background-color 450ms var(--ease), color 450ms var(--ease);
}
.how-step h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 400; color: var(--on-dark); margin: 6px 0 12px; }
.how-step p { color: var(--on-dark-muted); margin: 0; }
.how-step.is-current { background: rgba(201, 169, 120, 0.16); }
.how-step.is-current .how-num { background: var(--bronze-light); color: var(--espresso); }
.how-step.is-current p { color: var(--on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .how-motion .how-step:not(.is-current) { opacity: 0.55; }
}

@media (max-width: 1023px) {
  .about-do, .about-how { grid-template-columns: 1fr; gap: 40px; }
  .how-aside { position: static; }
  .about-how { padding: 56px 32px; }
}
@media (max-width: 559px) {
  .about-do, .about-how { margin-top: 72px; }
  .about-how { padding: 44px 20px; border-radius: 22px; }
  .how-step { padding: 76px 22px 26px; }
  .how-num { left: 22px; top: 22px; }
  .do-list a { grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 14px; }
  .do-list img { width: 44px; height: 44px; }
  .do-list span { font-size: 1.0625rem; }
}

/* CTA band: Book + WhatsApp side by side, stacked full width on phones */
.cta-band-actions { flex-wrap: nowrap; }
.btn--wa { gap: 10px; }
.btn--wa svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 767px) {
  .cta-band-actions { flex-wrap: wrap; }
  .cta-band-actions .btn { flex: 1 1 100%; }
}

/* Contact details: each number on its own line */
.contact-details div > a { display: block; width: fit-content; }


/* =====================================================================
   Motion (assets/js/motion.js, GSAP)
   ===================================================================== */
/* Smooth scrolling wraps the page; the header and WhatsApp button stay outside it.
   The header is fixed, so pages without the overlay header start below it. */
body:not(.page-home) #smooth-content { padding-top: calc(var(--header-h) + 1px); }

/* Under smooth scrolling the page moves inside a wrapper, where CSS "sticky" can't hold;
   motion.js pins these instead. */
.has-smoother .area-tabs, .has-smoother .how-aside { position: relative; top: auto; }

/* Hidden only until GSAP brings them in. "motion" is set in <head> when motion is allowed;
   "motion-off" (no GSAP, or reduce motion) shows everything. */
.motion:not(.motion-off) [data-reveal] { visibility: hidden; }

/* Opening sections animate in with CSS from the first frame, instead of staying hidden until the
   animation scripts download (that wait was most of the slow load on phones). [data-intro] marks
   [data-reveal] blocks that sit in the first screen. Starting at 0.01 opacity (not 0) lets the
   browser count the text as shown straight away. */
@keyframes ec-rise { from { opacity: 0.01; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes ec-zoom { from { transform: scale(1.16); } to { transform: none; } }
@keyframes ec-pano { from { transform: scale(1.08); opacity: 0.4; } to { transform: none; opacity: 1; } }
.motion:not(.motion-off) :is(.hero-full-copy, .hero-foot, .svc-hero-inner, .about-pano-text, .page-head .container, .article-head .container, .pub-head-text, [data-intro]) > * {
  animation: ec-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.motion:not(.motion-off) :is(.page-head .container, .article-head .container) > .pub-head-text { animation: none; }
.motion:not(.motion-off) :is(.hero-full-copy, .hero-foot, .svc-hero-inner, .about-pano-text, .page-head .container, .article-head .container, .pub-head-text, [data-intro]) > :nth-child(2) { animation-delay: 0.08s; }
.motion:not(.motion-off) :is(.hero-full-copy, .hero-foot, .svc-hero-inner, .about-pano-text, .page-head .container, .article-head .container, .pub-head-text, [data-intro]) > :nth-child(3) { animation-delay: 0.16s; }
.motion:not(.motion-off) :is(.hero-full-copy, .hero-foot, .svc-hero-inner, .about-pano-text, .page-head .container, .article-head .container, .pub-head-text, [data-intro]) > :nth-child(4) { animation-delay: 0.24s; }
.motion:not(.motion-off) :is(.hero-full-copy, .hero-foot, .svc-hero-inner, .about-pano-text, .page-head .container, .article-head .container, .pub-head-text, [data-intro]) > :nth-child(n+5) { animation-delay: 0.32s; }
.motion:not(.motion-off) .hero-foot > * { animation-delay: 0.4s; }
.motion:not(.motion-off) .hero-full .hero-media { animation: ec-zoom 3s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.motion:not(.motion-off) .svc-hero-media img { animation: ec-zoom 3s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.motion:not(.motion-off) [data-about-pano] { animation: ec-pano 2.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; }

/* Heading lines rise out of a mask; a little room keeps descenders and italics unclipped */
.split-line-mask { padding: 0.06em 0.04em 0.16em; margin: -0.06em -0.04em -0.16em; }

/* Home hero: the photo darkens as the next section slides over it */
.hero-shade { position: absolute; inset: 0; z-index: -1; background: #0f0d0b; opacity: 0; pointer-events: none; }
.intro--layered { position: relative; z-index: 2; background: var(--linen); }

/* Articles: reading line under the header */
.reading-line {
  position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 1px); height: 2px; z-index: 99;
  background: var(--bronze); transform: scaleX(0); transform-origin: left center; pointer-events: none;
}

/* =====================================================================
   Apple HIG pass (1 pt = 1 CSS px). Tap targets: 44x44 on touch screens,
   28x28 minimum with a mouse. Contrast: 4.5:1 for text under 18 px, 3:1 for
   larger text and for graphics that carry meaning.
   ===================================================================== */
.contact-details div > a { display: flex; width: fit-content; align-items: center; min-height: 28px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 28px; }
.review-stars { color: #a47a2a; }
.section--espresso .lede, .svc-process .lede { color: var(--on-dark-muted); }

@media (max-width: 899px) {
  .brand { padding-block: 3px; }
  .lang-switch button { min-height: 44px; }
  .area-tabs a { min-height: 44px; }
  .site-footer li a { min-height: 44px; }
  .contact-details div > a, .breadcrumb a { min-height: 44px; }
  .breadcrumb a { min-width: 44px; justify-content: center; }
  .visit-copy, .visit-gmaps { min-height: 44px; display: inline-flex; align-items: center; }
}

/* =====================================================================
   Fees calculator (calculator.html, assets/js/calculator.js)
   ===================================================================== */
.calc-section { padding-top: 64px; }
.calc-tabs {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 40px;
  background: var(--white); border: 1px solid var(--stone); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.calc-tabs::-webkit-scrollbar { display: none; }
.calc-tabs button {
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; white-space: nowrap;
  font: 500 var(--fs-16)/1 var(--font-body); color: var(--muted); transition: background-color 250ms var(--ease), color 250ms var(--ease);
}
.calc-tabs button:hover { color: var(--ink); }
.calc-tabs button[aria-selected="true"] { background: var(--espresso); color: var(--on-dark); }
.calc-tabs button:focus-visible { outline: 3px solid var(--bronze-deep); outline-offset: 2px; }

.calc-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 32px; align-items: start; }
.calc-panel[hidden] { display: none; }
.calc-form { display: grid; gap: 24px; background: var(--white); border: 1px solid var(--stone); border-radius: 20px; padding: 40px; }
.calc-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-form [hidden] { display: none; }
.calc-form .field input { font-size: var(--fs-20); font-variant-numeric: tabular-nums; }

/* Two-way choice drawn as one control */
.calc-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #b9b0a2; border-radius: 12px; overflow: hidden; }
.calc-seg label { position: relative; display: flex; align-items: center; min-height: 52px; padding: 10px 16px; cursor: pointer; font-size: var(--fs-14); font-weight: 400; line-height: 1.35; background: var(--linen); }
.calc-seg label + label { border-left: 1px solid #b9b0a2; }
.calc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.calc-seg label:has(input:checked) { background: var(--espresso); color: var(--on-dark); }
.calc-seg label:has(input:focus-visible) { outline: 3px solid var(--bronze-deep); outline-offset: -3px; }

.calc-check { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 12px; background: var(--linen); cursor: pointer; min-height: 44px; }
.calc-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--espresso); }
.calc-check strong { display: block; font-weight: 500; font-size: var(--fs-16); }
.calc-check span span { display: block; margin-top: 4px; font-size: var(--fs-14); color: var(--muted); line-height: 1.5; }
.calc-check[hidden] { display: none; }

/* Results */
.calc-result { background: var(--espresso); color: var(--on-dark); border-radius: 20px; padding: 40px; }
.calc-result-label { margin: 0; font-size: var(--fs-14); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-light); }
:lang(zh) .calc-result-label { letter-spacing: 0.04em; }
.calc-total { margin: 8px 0 28px; font-family: var(--font-display); font-size: clamp(2.5rem, 4.6vw, 3.75rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--on-dark); }
.calc-lines { margin: 0; display: grid; }
.calc-lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-dark); }
.calc-lines > div[hidden] { display: none; }
.calc-lines dt { color: var(--on-dark-muted); font-size: var(--fs-16); }
.calc-lines dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--on-dark); text-align: right; white-space: nowrap; }
.calc-lines .calc-group { border-top: 0; padding: 18px 0 2px; }
.calc-lines .calc-group:first-child { padding-top: 0; }
.calc-lines .calc-group dt { font-family: var(--font-display); font-size: var(--fs-20); color: var(--bronze-light); }
.calc-note { margin: 18px 0 0; font-size: var(--fs-14); line-height: 1.6; color: var(--on-dark-muted); }
.calc-note:empty { display: none; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.calc-disclaimer { margin: 32px 0 0; max-width: 80ch; font-size: var(--fs-14); line-height: 1.6; color: var(--muted); }

/* How it's worked out */
.calc-how { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.calc-how h2 { font-size: clamp(var(--fs-31), 3.4vw, 3rem); font-weight: 400; line-height: 1.1; }
.calc-scales { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.calc-scales h3 { font-size: var(--fs-20); font-weight: 400; margin-bottom: 12px; }
.calc-scales ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.calc-scales li { padding-left: 16px; position: relative; color: var(--muted); font-size: var(--fs-16); line-height: 1.5; }
.calc-scales li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }

@media (max-width: 1023px) {
  .calc-panel { grid-template-columns: 1fr; }
  .calc-how { grid-template-columns: 1fr; gap: 32px; }
  .calc-scales { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .calc-section { padding-top: 40px; }
  .calc-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 28px; border-radius: 16px; overflow: visible; }
  .calc-tabs button { padding: 6px 8px; font-size: var(--fs-14); line-height: 1.25; white-space: normal; border-radius: 12px; }
  .calc-form, .calc-result { padding: 24px 20px; border-radius: 16px; }
  .calc-seg { grid-template-columns: 1fr; }
  .calc-seg label + label { border-left: 0; border-top: 1px solid #b9b0a2; }
  .calc-scales { grid-template-columns: 1fr; }
  .calc-actions .btn { flex: 1 1 100%; }
}

/* Header with six menu items: tighten spacing in steps so it stays on one line */
@media (min-width: 1181px) and (max-width: 1500px) {
  .nav-list a { padding: 0 9px; }
  .header-inner { gap: 16px; }
}
@media (max-width: 1180px) and (min-width: 900px) {
  .nav-list { gap: 0; }
  .nav-list a { padding: 0 8px; font-size: var(--fs-14); }
  .nav-list .has-sub > a { padding-right: 2px; }
  .header-inner { gap: 12px; }
  .brand img { height: 40px; }
}

/* With "Fees Calculator" in the menu the header is full, so its Book button steps aside
   (booking stays in every page body, the WhatsApp button and the footer). */
.header-cta { display: none; }
@media (min-width: 900px) and (max-width: 1060px) {
  .nav-list a { padding: 0 6px; }
  .lang-switch button { min-width: 40px; padding: 0 6px; }
}

/* Fees calculator: disclaimer */
.calc-legal { background: var(--linen); }
.calc-legal-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.calc-legal h2 { font-size: clamp(var(--fs-31), 3.4vw, 3rem); font-weight: 400; line-height: 1.1; }
.calc-legal-list { margin: 0; padding: 0; list-style: none; counter-reset: disc; display: grid; gap: 0; }
.calc-legal-list li {
  counter-increment: disc; display: grid; grid-template-columns: 40px 1fr; gap: 12px;
  padding: 18px 0; border-top: 1px solid var(--stone); color: var(--muted); font-size: var(--fs-16); line-height: 1.65;
}
.calc-legal-list li:last-child { border-bottom: 1px solid var(--stone); }
.calc-legal-list li::before { content: counter(disc, decimal-leading-zero); font-family: var(--font-display); font-size: var(--fs-20); color: var(--bronze-deep); line-height: 1.3; }
.calc-disclaimer a { color: var(--bronze-deep); }
@media (max-width: 1023px) { .calc-legal-inner { grid-template-columns: 1fr; gap: 24px; } }

/* ---- Articles grouped by topic ---- */
.pub-topics { display: grid; }
.pub-topic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 32px 56px; padding-block: 48px; border-top: 1px solid var(--stone); }
.pub-topic:first-child { border-top: 0; padding-top: 8px; }
.pub-topic.is-hidden { display: none; }
.pub-topic-head h2 { font-size: clamp(var(--fs-25), 2.6vw, var(--fs-31)); margin: 8px 0 12px; }
.pub-topic-head p { color: var(--muted); max-width: 34ch; margin: 0; }
.pub-topic-head .pub-topic-count { font-size: var(--fs-14); font-weight: 500; color: var(--bronze-deep); letter-spacing: .02em; }
.pub-topic .pub-grid { grid-template-columns: 1fr 1fr; align-content: start; }
.pub-topic .pub-tag { display: none; }
@media (max-width: 1023px) { .pub-topic { grid-template-columns: 1fr; gap: 24px; } .pub-topic-head p { max-width: 52ch; } }
@media (max-width: 639px) { .pub-topic { padding-block: 40px; } .pub-topic .pub-grid { grid-template-columns: 1fr; } }

/* ---- Article page: byline, quoted clauses, related ---- */
.article-byline { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 20px 0 0; font-size: var(--fs-14); color: var(--muted); }
.article-byline span { color: var(--ink); font-weight: 500; }
.article-byline time::before { content: "·"; margin-right: 12px; color: var(--stone); }
.article-body .prose blockquote.clause { margin: 24px 0; padding: 18px 22px; background: var(--white); border: 1px solid var(--stone); border-radius: 4px; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.55; color: var(--ink); }
.article-body .prose blockquote.clause p { margin: 0; }
.article-body .prose blockquote.clause p + p { margin-top: .6em; }
:lang(zh) .article-body .prose blockquote.clause { font-family: "Noto Serif SC", var(--font-display); font-size: var(--fs-16); }
.article-body .prose em { font-style: italic; }
.article-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--stone); font-size: var(--fs-14); }
.related .pub-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1023px) { .related .pub-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .related .pub-grid { grid-template-columns: 1fr; } }
@media (max-width: 639px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; margin-bottom: 24px; }
  .filters::-webkit-scrollbar { display: none; }
  .filters .chip { flex: none; }
}

/* ---- Press feedback (Apple HIG: respond the moment a finger or button goes down) ----
   :active applies on press, before the click completes. The slight shrink is a common web
   convention, not an Apple-published value. Reduced motion keeps it still. */
.btn, .chip, .calc-tabs button, .lang-switch button { transition-property: background-color, color, border-color, transform; }
@media (prefers-reduced-motion: no-preference) {
  .btn:active, .chip:active, .calc-tabs button:active, .lang-switch button:active { transform: scale(0.97); transition-duration: 80ms; }
}

/* ---- Articles page: full-width photo header, like Home and About ---- */
.pub-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(440px, 64vh, 680px); padding-block: 96px 64px;
  background: var(--espresso); color: var(--on-dark); border-bottom: 0;
}
.pub-hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.pub-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.pub-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 17, 14, 0.9) 0%, rgba(20, 17, 14, 0.6) 38%, rgba(20, 17, 14, 0.1) 70%, rgba(20, 17, 14, 0) 100%),
    linear-gradient(0deg, rgba(20, 17, 14, 0.7) 0%, rgba(20, 17, 14, 0) 40%);
}
.pub-hero .pub-head-text { max-width: 640px; }
.pub-hero h1 { color: var(--on-dark); font-size: clamp(2.75rem, 6.6vw, 5.5rem); line-height: 1.02; letter-spacing: -0.015em; font-weight: 400; margin-bottom: 20px; }
:lang(zh) .pub-hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.25; }
.pub-hero .lede { color: var(--on-dark-muted); max-width: 46ch; }
@media (max-width: 899px) {
  .pub-hero { min-height: clamp(420px, 70svh, 600px); padding-block: 72px 40px; }
  .pub-hero-media img { object-position: 72% 50%; }
  .pub-hero::before { background: linear-gradient(0deg, rgba(20, 17, 14, 0.95) 0%, rgba(20, 17, 14, 0.75) 42%, rgba(20, 17, 14, 0.15) 100%); }
}

/* ---- Article page: two columns, "Read more" on the right ---- */
.article-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: start; }
.article-main { min-width: 0; }
.article-main .prose { max-width: 66ch; }
.article-aside-inner { position: sticky; top: calc(var(--header-h) + 32px); max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; overscroll-behavior: contain; padding: 4px 4px 4px 28px; border-left: 1px solid var(--stone); scrollbar-width: thin; }
.has-smoother .article-aside-inner { position: static; top: auto; }
.aside-head { font-size: var(--fs-25); margin: 0 0 20px; }
.aside-group + .aside-group { margin-top: 24px; }
.aside-topic { font-family: var(--font-body); font-size: var(--fs-14); font-weight: 500; letter-spacing: .02em; color: var(--bronze-deep); margin: 0 0 4px; }
:lang(zh) .aside-topic { font-family: var(--font-body); font-weight: 500; }
.aside-group ul { list-style: none; margin: 0; padding: 0; }
.aside-group li + li { border-top: 1px solid var(--stone); }
.aside-group a { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: 10px 0; color: var(--ink); text-decoration: none; }
.aside-title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; transition: color 150ms var(--ease); }
:lang(zh) .aside-title { font-family: "Noto Serif SC", var(--font-display); font-size: var(--fs-16); line-height: 1.5; }
.aside-time { font-size: 13px; color: var(--muted); }
.aside-group a:hover .aside-title { color: var(--bronze-deep); }
.aside-group a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.aside-all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; }

@media (max-width: 1023px) {
  .article-body { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .article-main .prose { max-width: 68ch; }
  .article-aside-inner { position: static; max-height: none; overflow: visible; padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--ink); }
  .aside-head { font-size: var(--fs-31); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .article-aside-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .aside-head, .aside-all { grid-column: 1 / -1; }
  .aside-group + .aside-group { margin-top: 0; }
  .aside-group { margin-bottom: 24px; }
}

/* ---- Article reading comfort ---- */
.article-main .prose { font-size: 1.0625rem; line-height: 1.75; }
.article-main .prose p, .article-main .prose li { hyphens: manual; overflow-wrap: break-word; }
.article-main .prose p { margin-bottom: 1.15em; }
.article-main .prose h2 { margin-bottom: .5em; line-height: 1.2; }
.article-main .prose h3 { margin-bottom: .4em; line-height: 1.25; }
.article-main .prose ul, .article-main .prose ol { margin: 0 0 1.2em; }
.article-main .prose li::marker { color: var(--bronze); }
.article-main .prose .callout p:last-child { margin-bottom: 0; }
.article-main .prose .article-note { margin-top: 40px; font-size: var(--fs-14); }
.article-main .prose:lang(zh) { font-size: 1.0625rem; line-height: 1.9; letter-spacing: .01em; }
@media (max-width: 767px) {
  .article-head { padding-block: 32px 28px; }
  .article-head h1 { font-size: clamp(1.75rem, 7.4vw, var(--fs-31)); line-height: 1.2; }
  .article-head .lede { font-size: 1.0625rem; }
  .article-body { padding-top: 32px; }
  .article-main .prose { font-size: 1.0625rem; line-height: 1.7; }
  .article-main .prose h2 { font-size: 1.5rem; margin-top: 1.5em; }
  .article-main .prose h3 { font-size: 1.25rem; margin-top: 1.3em; }
  .article-main .prose blockquote.clause { padding: 14px 16px; font-size: 1.0625rem; margin-inline: 0; }
  .article-main .prose .callout { padding: 16px 18px; margin: 24px 0; }
  .article-main .prose ul, .article-main .prose ol { padding-left: 1.1em; }
}
.article-main .prose blockquote.clause { font-size: 1.25rem; line-height: 1.6; }
.article-main .prose:lang(zh) blockquote.clause { font-size: 1.0625rem; line-height: 1.85; }
@media (max-width: 767px) { .article-main .prose blockquote.clause { font-size: 1.125rem; } .article-main .prose:lang(zh) blockquote.clause { font-size: 1rem; } }
.article-main .prose { max-width: 62ch; } .article-main .prose:lang(zh) { max-width: 38em; }

/* ---- Agreement Drafting: fuller section, built like Family ---- */
.area-tag { font-family: var(--font-display); font-style: italic; font-size: var(--fs-20); line-height: 1.35; color: var(--bronze-deep); margin: -8px 0 18px; }
:lang(zh) .area-tag { font-family: "Noto Serif SC", var(--font-display); font-style: normal; font-size: var(--fs-16); }
.area-body .tick-list--single { grid-template-columns: 1fr; margin-top: 20px; }
.area-actions { display: flex; flex-wrap: wrap; gap: 4px 32px; }
.fd-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 0.9375rem; line-height: 1.5; }
.fd-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.fd-list svg { width: 16px; height: 16px; margin-top: 3px; color: var(--bronze); }
.svc-card--plain { padding: 26px 26px 24px; }
.svc-card--plain > p { margin-bottom: 0; }
.svc-num { font-family: var(--font-display); font-size: var(--fs-14); letter-spacing: 0.08em; color: var(--bronze); margin-bottom: 8px; }
.agr-process, .agr-faq { margin-top: 64px; }
.agr-steps { gap: 28px; }
.agr-steps h4 { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 500; margin: 0 0 8px; }
:lang(zh) .agr-steps h4 { font-family: "Noto Serif SC", var(--font-display); }
.agr-steps p { font-size: 0.9375rem; margin: 0; }
.agr-faq .faq { max-width: none; }
@media (max-width: 899px) { .agr-process, .agr-faq { margin-top: 48px; } }
@media (max-width: 559px) { .svc-card--plain { padding: 22px 20px 20px; } }

/* ---- Family: "Why clients choose us" row ---- */
.why-row { margin-top: 64px; }
.explore .why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--stone); }
.explore .why-grid li { padding: 24px 28px 26px 0; border-bottom: 1px solid var(--stone); }
.explore .why-grid li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--stone); }
.explore .why-grid h4 { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 500; line-height: 1.25; margin: 0 0 6px; }
:lang(zh) .explore .why-grid h4 { font-family: "Noto Serif SC", var(--font-display); }
.explore .why-grid p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; margin: 0; }
.why-row + .family-detail { margin-top: 48px; }
.fd-block .fd-note { margin-top: 16px; font-size: var(--fs-14); }
@media (max-width: 899px) {
  .why-row { margin-top: 48px; }
  .explore .why-grid { grid-template-columns: 1fr 1fr; }
  .explore .why-grid li, .explore .why-grid li:not(:nth-child(3n + 1)) { padding: 20px 20px 22px 0; border-left: 0; }
  .explore .why-grid li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--stone); }
}
@media (max-width: 559px) {
  .explore .why-grid { grid-template-columns: 1fr; }
  .explore .why-grid li, .explore .why-grid li:nth-child(even) { padding: 18px 0; border-left: 0; }
}

/* ---- Practice areas: one topic at a time ---- */
.explore { margin-top: 56px; }
.explore-tabs { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-bottom: 36px; box-shadow: inset 0 -1px 0 var(--stone); }
.explore-tab {
  appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  min-height: 52px; font: 500 var(--fs-16)/1.2 var(--font-body); color: var(--muted);
  box-shadow: inset 0 -2px 0 transparent; transition: color 150ms var(--ease), box-shadow 200ms var(--ease);
}
.explore-tab:hover { color: var(--ink); }
.explore-tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--bronze); }
.explore-tab:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.explore-panel:focus-visible { outline: 2px solid var(--bronze); outline-offset: 8px; }
.explore-panel > .family-services-title, .proc-body > .family-services-title { margin-top: 0; }
.explore .family-detail { margin-top: 0; }
.explore .faq { max-width: none; }
.explore .why-grid { border-top: 0; }
.panel-lead { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); max-width: 68ch; margin: 0 0 28px; }
.explore:not(.is-tabbed) .explore-tabs { display: none; }
.explore:not(.is-tabbed) .explore-panel + .explore-panel { margin-top: 56px; }

/* "Read more" inside the approach panels */
.fd-more { margin-top: 12px; }
.fd-more summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; list-style: none;
  font-size: var(--fs-14); font-weight: 500; color: var(--bronze-deep);
}
.fd-more summary::-webkit-details-marker { display: none; }
.fd-more summary svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.fd-more[open] summary svg { transform: rotate(180deg); }
.fd-more[open] summary span::after { content: ""; }
.fd-more p { margin-top: 4px; }

/* Process: a photograph beside the steps */
.proc-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.proc-photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; max-height: 620px; background: var(--stone); }
.proc-photo img { width: 100%; height: 100%; object-fit: cover; }
.proc-steps { grid-template-columns: 1fr; gap: 0; }
.proc-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; border-top: 1px solid var(--stone); padding: 22px 0; }
.proc-steps li:first-child { border-top: 0; padding-top: 8px; }
.proc-steps li::before { grid-row: 1 / span 2; font-size: var(--fs-31); margin: 0; }
.proc-steps h4 { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 500; margin: 2px 0 6px; }
:lang(zh) .proc-steps h4 { font-family: "Noto Serif SC", var(--font-display); }
.proc-steps p { margin: 0; color: var(--muted); font-size: var(--fs-16); }

@media (max-width: 899px) {
  .explore { margin-top: 40px; }
  .explore-tabs { gap: 0 24px; margin-bottom: 28px; }
  .proc-layout { grid-template-columns: 1fr; gap: 28px; }
  .proc-photo { aspect-ratio: 16 / 10; max-height: none; }
}
@media (max-width: 559px) {
  .explore-tabs { gap: 0 20px; }
  .explore-tab { min-height: 48px; font-size: 15px; }
  .proc-steps li { grid-template-columns: 44px minmax(0, 1fr); }
}

/* Breadcrumb: every item sits on one centre line, whatever the link's tap height */
.breadcrumb ol { align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { line-height: 1; }

/* ---- Articles: contents and text size ---- */
.text-size { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-size: var(--fs-14); color: var(--muted); }
.text-size-label { margin-right: 8px; }
.text-size button {
  appearance: none; cursor: pointer; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--stone); background: transparent; color: var(--ink); font: 500 15px/1 var(--font-body);
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.text-size button[data-size="lg"] { font-size: 18px; }
.text-size button:hover { border-color: var(--bronze); }
.text-size button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--linen); }
.text-size button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

.article-main .prose { font-size: 1.25rem; line-height: 1.75; }
.article-main .prose blockquote.clause { font-size: 1.375rem; }
.article-main .prose:lang(zh) { font-size: 1.25rem; line-height: 1.95; }
.article-main .prose:lang(zh) blockquote.clause { font-size: 1.1875rem; }
.article-main .prose .article-note { font-size: var(--fs-16); }
@media (max-width: 767px) {
  .article-main .prose { font-size: 1.1875rem; }
  .article-main .prose h2 { font-size: 1.625rem; }
}

.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--bronze-deep); }

/* Phone and tablet: a fold-out list at the top of the article */
.toc--inline { margin: 0 0 32px; background: var(--white); border: 1px solid var(--stone); border-radius: 12px; }
.toc--inline summary {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--fs-20); font-weight: 500;
}
:lang(zh) .toc--inline summary { font-family: "Noto Serif SC", var(--font-display); }
.toc--inline summary::-webkit-details-marker { display: none; }
.toc--inline summary svg { width: 20px; height: 20px; margin-left: auto; color: var(--bronze-deep); transition: transform 200ms var(--ease); }
.toc--inline[open] summary svg { transform: rotate(180deg); }
.toc-count { font-family: var(--font-body); font-size: var(--fs-14); color: var(--muted); }
.toc--inline ol { padding: 0 18px 12px; }
.toc--inline li { counter-increment: toc; border-top: 1px solid var(--stone); }
.toc--inline li a { display: grid; grid-template-columns: 28px 1fr; align-items: baseline; min-height: 44px; padding: 10px 0; font-size: var(--fs-16); line-height: 1.4; }
.toc--inline li a::before { content: counter(toc); font-family: var(--font-display); color: var(--bronze); }
.toc--inline li.is-sub a { padding-left: 14px; font-size: 15px; }
.toc--inline li.is-sub a::before { content: ""; }

/* Desktop: in the right column, above "Read more", following the reader */
.toc--aside { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--stone); }
.toc--aside li { counter-increment: toc; }
.toc--aside a {
  display: grid; grid-template-columns: 24px 1fr; align-items: baseline; min-height: 36px; padding: 6px 0;
  font-size: var(--fs-14); line-height: 1.4; color: var(--muted); transition: color 150ms var(--ease);
}
.toc--aside a::before { content: counter(toc); font-family: var(--font-display); color: var(--stone); transition: color 150ms var(--ease); }
.toc--aside li.is-sub a { padding-left: 12px; }
.toc--aside li.is-sub a::before { content: ""; }
.toc--aside a.is-current { color: var(--ink); font-weight: 500; }
.toc--aside a.is-current::before { color: var(--bronze); }
.toc--aside a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

@media (min-width: 1024px) { .toc--inline { display: none; } }
@media (max-width: 1023px) { .toc--aside { display: none; } }
.toc ol.toc-plain a { grid-template-columns: 1fr; }
.toc ol.toc-plain a::before { content: none; }

/* =====================================================================
   Articles: photo-card grid, topic chips and search
   ===================================================================== */
.pub-index { padding-top: 64px; }
.pub-tools {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  margin-bottom: 44px; padding-bottom: 28px; border-bottom: 1px solid var(--stone);
}
.pub-tools .filters { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; }
.chip-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  font-size:13px; font-weight: 500; background: var(--linen); color: var(--muted);
}
.chip[aria-pressed="true"] .chip-count { background: rgba(255, 255, 255, 0.16); color: var(--white); }

.pub-search { position: relative; display: block; order: -1; width: 100%; max-width: 440px; min-width: 0; }
.pub-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pub-search input {
  width: 100%; min-height: 48px; padding: 0 18px 0 44px; border: 1px solid var(--stone); border-radius: 999px;
  background: var(--white); color: var(--ink); font: 400 var(--fs-16)/1.2 var(--font-body);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.pub-search input::placeholder { color: var(--muted); }
.pub-search input:hover { border-color: var(--bronze); }
.pub-search input:focus { outline: none; border-color: var(--bronze-deep); box-shadow: 0 0 0 3px rgba(160, 130, 90, 0.22); }

.pub-grid--photo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.pub-grid--photo > li.is-hidden { display: none; }
.pub-card--photo {
  padding: 0; border: 0; border-radius: 0; background: transparent; height: 100%;
  display: flex; flex-direction: column;
}
.pub-thumb { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: var(--stone); }
.pub-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.pub-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(35, 32, 28, 0.06); }
.pub-card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }
.pub-card--photo .pub-meta { gap: 4px 0; font-size: 13px; }
.pub-card--photo .pub-time::before { content: "·"; margin: 0 8px; color: var(--stone); }
.pub-card--photo h3 {
  margin: 0; font-size: clamp(1.25rem, 1.55vw, 1.5rem); line-height: 1.25; color: var(--ink);
  transition: color 150ms var(--ease);
}
:lang(zh) .pub-card--photo h3 { font-size: var(--fs-20); line-height: 1.45; }
.pub-sum {
  color: var(--muted); font-size: 0.9375rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pub-more {
  margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: var(--fs-14); font-weight: 500; color: var(--bronze-deep);
}
.pub-more svg { width: 16px; height: 16px; transition: transform 250ms var(--ease); }
.pub-card--photo:hover, .pub-card--photo:focus-visible { color: var(--ink); }
.pub-card--photo:hover h3, .pub-card--photo:focus-visible h3 { color: var(--bronze-deep); }
.pub-card--photo:focus-visible { outline: 2px solid var(--bronze); outline-offset: 6px; border-radius: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .pub-card--photo:hover .pub-thumb img { transform: scale(1.05); }
  .pub-card--photo:hover .pub-more svg { transform: translateX(4px); }
}

@media (max-width: 1023px) {
  .pub-grid--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 22px; }
}
@media (max-width: 767px) { .pub-tools { align-items: stretch; } .pub-search { max-width: none; } .pub-tools .filters { max-width: calc(100% + 32px); } }
@media (max-width: 639px) {
  .pub-index { padding-top: 40px; }
  .pub-tools { margin-bottom: 28px; padding-bottom: 20px; }
  .pub-grid--photo { grid-template-columns: 1fr; gap: 32px; }
}

/* =====================================================================
   Founder spotlight (Home) and portrait (About)
   ===================================================================== */
.founder-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.founder-photo {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  background: #d9d9d9; box-shadow: 0 40px 80px -48px rgba(29, 25, 21, 0.55);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 14px; pointer-events: none; }
.founder-copy h2 { font-size: clamp(var(--fs-39), 4.6vw, 4rem); font-weight: 400; line-height: 1.02; margin: 0 0 10px; }
.founder-role { margin: 0 0 24px; font-size: var(--fs-14); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-deep); }
:lang(zh) .founder-role { letter-spacing: 0.04em; }
.founder-bio { font-size: 1.0625rem; line-height: 1.75; color: var(--muted); max-width: 58ch; margin: 0; }
.founder-creds { margin: 28px 0; padding: 24px 0; border-block: 1px solid var(--stone); }
.founder-focus { display: grid; gap: 12px; }
.founder-focus-label { margin: 0; font: 500 13px/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.founder-focus ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.founder-focus li { padding: 8px 14px; border-radius: 999px; background: var(--bronze-tint); color: var(--bronze-deep); font-size: var(--fs-14); font-weight: 500; }
.founder-actions { margin-top: 32px; }
.founder-actions .btn svg { width: 18px; height: 18px; }

/* About: the same clean portrait with a caption card over its foot */
.founder-photo--about { max-width: 460px; }
.founder-photo-cap {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1;
  display: grid; gap: 2px; padding: 16px 20px; border-radius: 14px;
  background: rgba(29, 25, 21, 0.82); color: var(--on-dark);
}
@supports (backdrop-filter: blur(8px)) { .founder-photo-cap { background: rgba(29, 25, 21, 0.68); backdrop-filter: blur(8px); } }
.founder-photo-cap strong { font-family: var(--font-display); font-size: var(--fs-25); font-weight: 500; line-height: 1.1; }
.founder-photo-cap span { font-size: 13px; color: var(--on-dark-muted); }
.founder-about .split { align-items: start; }

@media (max-width: 899px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 460px; }
}
@media (max-width: 559px) {
  .founder-photo { border-radius: 18px; }
  .founder-actions .btn { flex: 1 1 100%; }
}
.founder-copy .founder-name { font-size: clamp(var(--fs-39), 4.6vw, 4rem); font-weight: 400; line-height: 1.02; margin: 0 0 10px; }
.founder-focus { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--stone); }

/* Home: "Why us" runs straight into "How we work" (same background), so share one gap */
section[aria-labelledby="why-title"] .why-grid { margin-bottom: 0; }
section[aria-labelledby="why-title"] + section[aria-labelledby="proc-title"] { padding-top: 0; }

/* Fees calculator: tenancy length picker and four scale boxes */
.calc-seg--years { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #b9b0a2; }
.calc-seg--years label + label { border-left: 0; }
.calc-seg--years label { justify-content: center; text-align: center; }
.calc-scales { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
@media (max-width: 599px) {
  .calc-seg.calc-seg--years { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-seg--years label + label { border-top: 0; }
  .calc-scales { grid-template-columns: 1fr; }
}

/* About: second lawyer, photo on the other side; a crest stands in until the portrait arrives */
.team-member { margin-top: 96px; }
.team-member--flip > .founder-photo { order: 2; justify-self: end; }
.founder-photo--placeholder { background: var(--espresso); display: grid; place-items: center; }
.founder-photo--placeholder > img { width: 42%; height: auto; object-fit: contain; opacity: 0.9; margin-top: -18%; }
.founder-photo-soon { position: absolute; top: 58%; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--on-dark-muted); }
@media (max-width: 899px) {
  .team-member { margin-top: 64px; }
  .team-member--flip > .founder-photo { order: 0; justify-self: start; }
}
@media (min-width: 900px) { .team-member--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.founder-photo--placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding-bottom: 22%; }
.founder-photo--placeholder > img { margin-top: 0; width: 38%; }
.founder-photo--placeholder .founder-photo-soon { position: static; }

/* ---------- Single practice-area pages ---------- */
.area-crumb { padding-top: 40px; }
.area-crumb .breadcrumb { margin: 0; }
.areas--single .area--page { border-bottom: 0; padding-block: 40px 80px; }
.area-body h1 { font-size: clamp(var(--fs-39), 4.4vw, 3.5rem); font-weight: 400; line-height: 1.08; margin-bottom: 20px; }
.area-more { background: var(--white); border-top: 1px solid var(--stone); padding-block: 80px; }
.area-more-title { font-size: var(--fs-31); font-weight: 400; margin-bottom: 28px; }
.area-more-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.area-more-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--stone); text-decoration: none; color: var(--ink); font: 500 var(--fs-20)/1.3 var(--font-display); }
.area-more-list a:hover { color: var(--bronze-deep); }
.area-more-list svg { width: 18px; height: 18px; flex: none; color: var(--bronze-deep); }
.area-more .pa-all { color: var(--bronze-deep); }
@media (max-width: 1023px) { .area-more-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .area-more-list { grid-template-columns: 1fr; } .area-more { padding-block: 56px; } }

/* ---------- Rich article components (EPF, company shares, salary guides) ---------- */
.article-byline--date time::before { content: none; }
.pub-new { margin-left: 4px;  font-size:13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--bronze-deep); padding: 2px 8px; border-radius: 999px; align-self: center; }
.art-lang-note { padding: 12px 16px; margin: 0 0 24px; border-radius: 8px; background: var(--bronze-tint); color: var(--bronze-deep); font-size: var(--fs-14); }

.art-rich { --r: 14px; }
.art-rich h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.art-rich h3 { font-size: 1.35rem !important; color: var(--bronze-deep); margin-top: 1.8em !important; }

/* The short answer */
.art-short { margin: 0 0 36px; padding: 24px 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--stone); box-shadow: 0 14px 30px -24px rgba(60, 40, 20, .35); }
.art-short-label { margin: 0 0 8px !important; font: 600 13px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-deep); }
.art-short p:last-child { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.art-short strong { font-weight: 600; }

/* Small label above a group */
.art-kicker { margin: 28px 0 12px !important; font: 600 13px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-deep); }

/* Key points as cards */
.art-rich ul.art-keys { list-style: none; padding: 0 !important; margin: 0 0 24px !important; display: grid; gap: 12px; }
.art-keys li { margin: 0 !important; padding: 18px 20px 18px 54px; position: relative; background: var(--white); border: 1px solid var(--stone); border-radius: var(--r); counter-increment: k; }
.art-keys { counter-reset: k; }
.art-keys li::before { content: counter(k); position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--bronze-tint); color: var(--bronze-deep); font: 600 13px/24px var(--font-body); text-align: center; }
.art-keys--q li::before { content: "?"; }
.art-keys li strong { display: block; color: var(--ink); margin-bottom: 4px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.art-keys--grid { grid-template-columns: 1fr 1fr; }
.art-keys--grid li { padding-left: 20px; }
.art-keys--grid li::before { display: none; }

/* Callouts in rich articles: softer card look */
.art-rich .callout { border-left-width: 4px; border-radius: 0 var(--r) var(--r) 0; background: var(--bronze-tint); }

/* Bar chart */
.art-chart { margin: 28px 0; padding: 24px 24px 18px; background: var(--white); border: 1px solid var(--stone); border-radius: var(--r); --label: 190px; --val: 210px; }
.art-chart figcaption { display: grid; gap: 4px; margin-bottom: 18px; }
.art-chart figcaption strong { font: 500 1.25rem/1.3 var(--font-display); color: var(--ink); }
.art-chart figcaption span { font-size: var(--fs-14); color: var(--muted); }
.art-chart-scale { display: grid; grid-template-columns: var(--label) minmax(0, 1fr) var(--val); font-size:13px; color: var(--muted); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.art-chart-scale span:nth-child(1) { grid-column: 2; grid-row: 1; justify-self: start; }
.art-chart-scale span:nth-child(2) { grid-column: 2; grid-row: 1; justify-self: center; }
.art-chart-scale span:nth-child(3) { grid-column: 2; grid-row: 1; justify-self: end; }
.art-rich ol.art-bars { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 6px; }
.art-bars li { margin: 0 !important; display: grid; grid-template-columns: var(--label) minmax(0, 1fr) var(--val); align-items: center; gap: 0 12px; font-size: 14px; line-height: 1.3; }
.art-bars .l { text-align: right; color: var(--ink); }
.art-bars .l small { color: var(--muted); font-size:13px; white-space: nowrap; }
.art-bars .t { position: relative; height: 22px; background: linear-gradient(90deg, transparent calc(50% - .5px), var(--stone) calc(50% - .5px), var(--stone) calc(50% + .5px), transparent calc(50% + .5px)); border-left: 1px solid var(--stone); border-right: 1px dashed var(--stone); }
.art-bars .b { position: absolute; left: 0; top: 3px; bottom: 3px; width: var(--v); background: var(--bronze-light); border-radius: 0 4px 4px 0; }
.art-bars .is-key .b { background: var(--bronze-deep); }
.art-bars .is-zero .b { width: 12px; height: 12px; top: 5px; border-radius: 50%; background: var(--white); border: 2px solid var(--bronze-light); left: -6px; }
.art-chart--zero-key .is-zero .b { border-color: var(--bronze-deep); background: var(--bronze-deep); }
.art-bars .v { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.art-bars .v em { font-style: normal; font-weight: 400; color: var(--muted); }
.art-chart-src { margin: 16px 0 0 !important; font-size:13px !important; color: var(--muted); line-height: 1.5; }

/* Case cards */
.art-cases { display: grid; gap: 12px; margin: 12px 0 8px; }
.art-case { position: relative; padding: 18px 20px 16px; background: var(--white); border: 1px solid var(--stone); border-radius: var(--r); }
.art-case h4 { font: 500 1.2rem/1.3 var(--font-display); margin: 0 0 8px; padding-right: 76px; }
.art-case--wide h4 { padding-right: 140px; }
.art-case h4 small { display: block; font: 400 13px/1.4 var(--font-body); color: var(--muted); margin-top: 4px; }
.art-case p { margin: 0 0 .7em !important; font-size: 1rem; }
.art-pill { position: absolute; top: 16px; right: 16px; min-width: 56px; padding: 4px 10px; border-radius: 999px; background: var(--bronze-deep); color: var(--white); font: 600 14px/1.3 var(--font-body); text-align: center; font-variant-numeric: tabular-nums; }
.art-pill--zero { background: var(--white); color: var(--bronze-deep); border: 1.5px solid var(--bronze-deep); }
.art-cite { margin: 0 !important; font-size: 13px !important; font-style: italic; color: var(--bronze-deep); }
.art-cite::before { content: "— "; }
.clause .art-cite { margin-top: 10px !important; font-family: var(--font-body); }
.art-cite--top { margin: -2px 0 12px !important; }
.art-cite--top::before { content: none; }
.art-facts { margin: 0; display: grid; gap: 12px; }
.art-facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 16px; padding-top: 12px; border-top: 1px solid var(--stone); }
.art-facts dt { font: 600 13px/1.6 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--bronze-deep); }
.art-facts dd { margin: 0; font-size: 1rem; }

/* Numbered factors */
.art-rich ol.art-steps { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 0; margin: 12px 0 24px !important; }
.art-steps li { counter-increment: s; position: relative; padding: 14px 0 14px 52px; margin: 0 !important; border-top: 1px solid var(--stone); }
.art-steps li:last-child { border-bottom: 1px solid var(--stone); }
.art-steps li::before { content: counter(s); position: absolute; left: 0; top: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--bronze); color: var(--bronze-deep); font: 500 1.05rem/31px var(--font-display); text-align: center; }
.art-steps li strong { color: var(--ink); }

/* Story box */
.art-story { margin: 20px 0 24px; padding: 22px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--stone); border-top: 4px solid var(--bronze); }
.art-story p:last-child { margin-bottom: 0; }
.art-story-title { font: 500 1.3rem/1.3 var(--font-display); color: var(--ink); margin-bottom: .5em !important; }

/* Mistakes */
.art-rich ol.art-mistakes { list-style: none; padding: 0 !important; counter-reset: m; display: grid; gap: 10px; margin: 12px 0 28px !important; }
.art-mistakes li { counter-increment: m; position: relative; margin: 0 !important; padding: 16px 18px 16px 58px; border-radius: var(--r); background: #fbf3ea; border: 1px solid #efdcc6; }
.art-mistakes li::before { content: counter(m); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 8px; background: #b5603a; color: #fff; font: 600 14px/28px var(--font-body); text-align: center; }
.art-mistakes li strong { color: var(--ink); }

/* Myth / fact */
.art-myth { display: grid; gap: 10px; margin: 8px 0 20px; }
.art-myth p { margin: 0 !important; padding: 14px 18px; border-radius: var(--r); display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.art-myth span { font: 600 13px/1.6 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-align: center; border-radius: 999px; padding: 2px 0; }
.art-myth-q { background: #fbf3ea; text-decoration: line-through; text-decoration-color: rgba(181, 96, 58, .5); }
.art-myth-q span { background: #b5603a; color: #fff; text-decoration: none; display: inline-block; }
.art-myth-a { background: var(--white); border: 1px solid var(--stone); }
.art-myth-a span { background: var(--bronze-deep); color: #fff; }

/* Example and check lists */
.art-rich ul.art-examples, .art-rich ul.art-check { list-style: none; padding: 0 !important; display: grid; gap: 8px; margin: 8px 0 20px !important; }
.art-examples { grid-template-columns: 1fr 1fr; }
.art-examples li, .art-check li { margin: 0 !important; padding: 12px 14px 12px 40px; position: relative; border-radius: 10px; background: var(--white); border: 1px solid var(--stone); font-size: 1rem; }
.art-examples li::before { content: ""; position: absolute; left: 16px; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); }
.art-check li::before { content: ""; position: absolute; left: 16px; top: 1em; width: 11px; height: 6px; border-left: 1.75px solid var(--bronze-deep); border-bottom: 1.75px solid var(--bronze-deep); transform: rotate(-45deg); }

/* Help / contact box */
.art-help { margin: 44px 0 24px; padding: 28px; border-radius: var(--r); background: var(--sage); color: var(--on-sage); scroll-margin-top: calc(var(--header-h) + 24px); }
.art-help h2 { color: var(--on-sage) !important; margin-top: 0 !important; }
.art-help p { color: var(--on-sage-muted); }
.art-help .art-help-sub { color: var(--on-sage); font-weight: 500; margin-bottom: .5em; }
.art-help ul { list-style: none; padding: 0 !important; margin: 0 0 22px !important; display: grid; gap: 8px; }
.art-help li { position: relative; padding-left: 28px; margin: 0 !important; color: var(--on-sage); }
.art-help li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 12px; height: 6px; border-left: 1.75px solid var(--bronze-light); border-bottom: 1.75px solid var(--bronze-light); transform: rotate(-45deg); }
.art-help .btn--primary { background: var(--on-sage); color: var(--sage); }
.art-help .btn--primary:hover { background: var(--bronze-tint); color: var(--ink); }
.art-help .btn--ghost { border-color: rgba(242, 239, 233, .6); color: var(--on-sage); }
.art-help .btn--ghost:hover { background: var(--on-sage); color: var(--sage); }
.art-help-more { margin: 18px 0 0 !important; font-size: var(--fs-14); }
.art-help a:not(.btn) { color: var(--on-sage); }

/* References */
.art-refs { margin: 24px 0; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.art-refs summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 500 1.15rem/1.3 var(--font-display); }
.art-refs summary::-webkit-details-marker { display: none; }
.art-refs summary::after { content: "+"; font: 400 1.5rem/1 var(--font-body); color: var(--bronze-deep); transition: transform 200ms var(--ease); }
.art-refs[open] summary::after { transform: rotate(45deg); }
.art-refs ul, .art-refs p { font-size: var(--fs-14) !important; color: var(--muted); }
.art-refs li { margin-bottom: .35em !important; }

/* On this page */
.art-toc { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--stone); }
.art-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.art-toc li { counter-increment: toc; }
.art-toc a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 7px 0; font-size: var(--fs-14); color: var(--muted); text-decoration: none; line-height: 1.4; }
.art-toc a::before { content: counter(toc); color: var(--bronze); font-variant-numeric: tabular-nums; }
.art-toc a:hover { color: var(--bronze-deep); }

@media (max-width: 767px) {
  .art-short { padding: 20px; }
  .art-keys li { padding-left: 46px; }
  .art-keys li::before { left: 14px; }
  .art-short p:last-child { font-size: 1.15rem; }
  .art-chart { padding: 18px 16px 14px; }
  .art-chart-scale { grid-template-columns: minmax(0, 1fr); }
  .art-chart-scale span { grid-column: 1 !important; }
  .art-bars li { grid-template-columns: minmax(0, 1fr); gap: 3px; padding-bottom: 6px; }
  .art-bars .l { text-align: left; }
  .art-bars .v { font-size: 13px; }
  .art-keys--grid, .art-examples { grid-template-columns: 1fr; }
  .art-case h4, .art-case--wide h4 { padding-right: 0; padding-top: 34px; }
  .art-pill { left: 18px; right: auto; }
  .art-facts > div { grid-template-columns: 1fr; }
  .art-help { padding: 22px 18px; }
  .art-myth p { grid-template-columns: 1fr; gap: 6px; }
  .art-myth span { justify-self: start; padding: 2px 10px; }
}
.area-related { margin-top: 40px; display: grid; gap: 8px; max-width: 760px; }
.area-related-k { margin: 0; font: 600 13px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-deep); }
.area-related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 12px; background: var(--white); border: 1px solid var(--stone); color: var(--ink); text-decoration: none; font: 500 1.2rem/1.3 var(--font-display); }
.area-related a:hover { border-color: var(--bronze); }
.area-related svg { width: 20px; height: 20px; flex: none; color: var(--bronze-deep); }

/* A subtle internal-link banner for the debt recovery practice page. */
.debt-crosslink{background:#f5f2ea;padding:50px 0;border-block:1px solid #ddd5c8}
.debt-crosslink-inner{display:flex;align-items:center;justify-content:space-between;gap:50px}
.debt-crosslink h2{font:500 clamp(28px,3vw,40px)/1.13 "EB Garamond",Georgia,serif;color:#203b32;margin:7px 0 12px}
.debt-crosslink p:not(.kicker){max-width:680px;font-size:14px;line-height:1.8}
.debt-crosslink .btn{white-space:nowrap}
@media(max-width:700px){.debt-crosslink-inner{display:block}.debt-crosslink .btn{margin-top:18px}}


/* 2026-11-07 audit: article recommendations and TOC remain in natural page scroll. */
.pub-grid--photo > li { min-width:0; }
.pub-card--photo { min-width:0; }
.pub-card--photo .pub-card-body { min-width:0; }
.pub-card--photo h3 { overflow-wrap:anywhere; }
.article-aside-inner,.has-smoother .article-aside-inner {
  position:sticky; top:calc(var(--header-h) + 20px); max-height:none;
  overflow:visible; overscroll-behavior:auto; padding:8px 0 0 22px;
}
.article-aside-inner .aside-group--related { margin-top:10px; }
.article-aside-inner .aside-group--related li { border-bottom:1px solid var(--stone); }
.article-aside-inner .aside-group--related a { padding:15px 0; }
.article-aside-inner .aside-head { font-size:clamp(1.55rem,2vw,2.05rem); margin-bottom:8px; }
.article-aside-inner .aside-title { font-size:1.15rem; line-height:1.35; }
.article-aside-inner .aside-all { margin-top:20px; }
.article-main .toc--inline { display:block!important; margin:0 0 34px; background:var(--white); border:1px solid var(--stone); border-radius:10px; padding:0 20px; }
.article-main .toc--inline[hidden] { display:none!important; }
.article-main .toc--inline summary { cursor:pointer; }
.article-aside-inner .toc--aside { display:none!important; }
@media(max-width:1023px){.article-aside-inner{position:static;top:auto;max-height:none;overflow:visible;padding:26px 0 0}}
@media(max-width:640px){.pub-grid--photo{gap:38px}.pub-card-body{padding-top:15px}}
