/* Language selector lives in the navigation, avoiding a fourth button on mobile. */
.heritage .navlinks a.lang-switch{
 display:inline-flex;align-items:center;white-space:nowrap;
 margin-left:clamp(4px,.7vw,12px);padding:4px 0 4px 14px;
 border-left:1px solid var(--line);color:var(--accent);
 font:600 .8rem/1.45 Arial,Helvetica,sans-serif;letter-spacing:.025em;
 text-decoration:none;
}
.heritage .navlinks a.lang-switch:hover,.heritage .navlinks a.lang-switch:focus-visible{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1000px){
 .heritage .navlinks a.lang-switch{border-left:0;border-top:1px solid var(--line);padding:14px 0 4px;margin:10px 0 0;display:block}
}
html[lang="zh-Hant"] body.heritage{
 font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",Arial,sans-serif;line-height:1.6;
}
html[lang="zh-Hant"] .heritage h1,html[lang="zh-Hant"] .heritage h2,html[lang="zh-Hant"] .heritage h3,
html[lang="zh-Hant"] .heritage #work .vg-stage-caption h3{
 font-family:"Noto Serif TC","Songti TC","PMingLiU","PingFang TC",serif;
 letter-spacing:0;line-height:1.35;
}
html[lang="zh-Hant"] .heritage .eyebrow,html[lang="zh-Hant"] .heritage .mh-kicker,
html[lang="zh-Hant"] .heritage .vg-kicker{letter-spacing:.08em}
html[lang="zh-Hant"] .heritage .thank-you-signoff{font-family:inherit;font-style:normal}
html[lang="zh-Hant"] .heritage #work .vg-stage-caption small{letter-spacing:.04em}
html[lang="zh-Hant"] .heritage #work .vg-project-text strong{font-family:inherit;line-height:1.45}
.heritage .mh-service h3,.heritage .mh-third h3{overflow-wrap:break-word}

/* Compact EN / Traditional / Simplified selector within the mobile menu. */
.heritage .navlinks .language-switcher{
 display:inline-flex;align-items:center;gap:7px;flex:none;
 margin-left:clamp(4px,.7vw,12px);padding:4px 0 4px 12px;
 border-left:1px solid var(--line);font:600 .82rem/1.4 Arial,sans-serif;
 color:var(--muted);white-space:nowrap;
}
.heritage .navlinks .language-switcher a{
 display:inline-block;text-decoration:none;color:var(--ink);padding:5px 2px;
}
.heritage .navlinks .language-switcher .language-current{color:#895532;font-weight:800}
.heritage .navlinks .language-switcher a:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1000px){
 .heritage .navlinks .language-switcher{
  display:flex;align-items:center;justify-content:flex-start;gap:14px;
  width:max-content;margin:12px 0 0;padding:12px 0 4px;border-left:0;
  border-top:1px solid var(--line)
 }
}
html[lang="zh-Hans"] body.heritage{font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",Arial,sans-serif;line-height:1.6}
html[lang="zh-Hans"] .heritage h1,
html[lang="zh-Hans"] .heritage h2,
html[lang="zh-Hans"] .heritage h3,
html[lang="zh-Hans"] .heritage #work .vg-stage-caption h3{
 font-family:"Noto Serif SC","Songti SC","SimSun","PingFang SC",serif;letter-spacing:0;line-height:1.35
}
html[lang="zh-Hans"] .heritage .mh-kicker,
html[lang="zh-Hans"] .heritage .vg-kicker{letter-spacing:.08em}
