/* Native Chinese typography; shared layout and interactions stay bilingual. */
:root:lang(zh) { --zh-font: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', Arial, sans-serif; font-family: var(--zh-font); }
:lang(zh) :is(p, a, button, li, dt, figcaption, small, strong, h1, h2, h3) { font-family: var(--zh-font); }
:lang(zh) :is(p, li) { overflow-wrap: break-word; }
/* The upper fifth contains the swoosh; center the wording in the navy badge below it. */
.brand-zh { container-type: inline-size; display: grid; grid-template-rows: 20% minmax(0, 1fr); justify-items: center; align-items: center; height: 64px; padding: 0; background: url('assets/hydroforce-logo-background-v1.webp') center / 100% 100% no-repeat; }
.brand-zh strong { grid-row: 2; display: block; width: 85%; margin-left: 7%; color: white; font-size: clamp(12px, 7.3cqw, 25px); font-weight: 900; font-style: italic; line-height: 1.2; letter-spacing: 0; text-align: center; white-space: nowrap; text-shadow: 0 2px 3px #001326; }
:lang(zh) #navigation a { font-size: clamp(16px, 1.25vw, 20px); }
:lang(zh) .contact-label { font-size: 13px; letter-spacing: .04em; }
:lang(zh) .header-coverage-label { font-family: var(--zh-font); letter-spacing: .035em; }
:lang(zh) .hero h1 { font-family: var(--zh-font); font-size: calc(94 * var(--u)); font-weight: 900; line-height: 1.08; letter-spacing: .015em; }
:lang(zh) .hero h1 span:last-child { margin-top: calc(8 * var(--u)); font-size: calc(84 * var(--u)); line-height: 1.1; }
:lang(zh) .ribbon { width: fit-content; max-width: calc(100% - 8px); height: calc(52 * var(--u)); margin: calc(14 * var(--u)) 0 calc(18 * var(--u)) calc(5 * var(--u)); padding-inline: calc(28 * var(--u)); }
:lang(zh) .ribbon span { font-family: var(--zh-font); font-size: calc(34 * var(--u)); font-style: normal; font-weight: 800; }
:lang(zh) .benefits li { font-size: calc(34 * var(--u)); line-height: 1.25; }
:lang(zh) .van-badge strong { font: italic 800 calc(30 * var(--u))/1.4 var(--zh-font); }
:lang(zh) .service-shortcut { font-size: clamp(17px, 1.55vw, 24px); line-height: 1.4; letter-spacing: .015em; }
:lang(zh) :is(.section-intro h2, .specialty-copy h2, .business-card h3, .equipment-panel h3, .maintenance-feature h3, .service-area-panel h2, .contact-panel h2, .guide-hero h1, .guide-article h2, .guide-card h3, .stage-details h3, .primary-service-area strong) { font-family: var(--zh-font); font-style: normal; letter-spacing: 0; line-height: 1.4; }
:lang(zh) .specialty-copy h2 em { font-style: normal; }
:lang(zh) .guide-hero h1 { font-size: clamp(32px, 4.3vw, 62px); max-width: 1100px; }
:lang(zh) .section-kicker { font-family: var(--zh-font); font-size: .875rem; line-height: 1.6; letter-spacing: .07em; }
:lang(zh) :is(.guide-deck, .guide-article p, .guide-article li, .guide-card p, .business-card p, .scope-card p, .stage-details p, .contact-request-list, .service-detail-list p) { line-height: 1.85; }
:lang(zh) .guide-card h3 { font-size: 24px; }
:lang(zh) .scope-card h3 { line-height: 1.45; }
:lang(zh) .guide-sidebar a { line-height: 1.6; }
:lang(zh) .primary-service-area strong { font-size: clamp(26px, 2.2vw, 34px); }
:lang(zh) .service-region-list span { display: block; margin-top: 4px; }
:lang(zh) .service-region-nearby { grid-column: 1 / -1; }
:lang(zh) .photo-description p { line-height: 1.7; }
:lang(zh) .language-switch { font-family: Arial, sans-serif; }
@media (min-width: 761px) {
  /* Center on the blue field between the worker's 440u edge and the van's 966u edge. */
  :lang(zh) .hero-copy { left: calc(351 * var(--u)); top: calc(20 * var(--u)); width: calc(704 * var(--u)); text-align: center; }
  :lang(zh) .hero h1 { font-size: calc(120 * var(--u)); line-height: 1.02; }
  :lang(zh) .hero h1 span:last-child { font-size: calc(108 * var(--u)); line-height: 1.04; }
  :lang(zh) .hero .ribbon { height: calc(48 * var(--u)); margin: calc(12 * var(--u)) auto calc(16 * var(--u)); }
  :lang(zh) .hero .benefits { width: max-content; max-width: 100%; gap: calc(10 * var(--u)); margin-inline: auto; text-align: left; }
  :lang(zh) .hero .benefits li { min-height: calc(42 * var(--u)); font-size: calc(32 * var(--u)); }
  :lang(zh) .hero .check { width: calc(42 * var(--u)); height: calc(42 * var(--u)); }
}
@media (max-width: 760px) {
  :lang(zh) .masthead { --header-padding: 10px; grid-template-columns: minmax(0, 1fr) 52px 44px; column-gap: 6px; }
  :lang(zh) .language-switch { font-size: 13px; }
  .brand-zh { height: 48px; }
  :lang(zh) .hero h1 { font-size: clamp(40px, 13.7vw, 92px); line-height: 1.18; }
  :lang(zh) .hero h1 span:last-child { margin-top: 6px; font-size: clamp(36px, 12.1vw, 82px); line-height: 1.18; }
  :lang(zh) .ribbon { height: 46px; margin: 16px 0 20px 4px; padding-inline: 18px; }
  :lang(zh) .ribbon span { font-size: clamp(17px, 4.8vw, 30px); }
  :lang(zh) .benefits li { font-size: clamp(19px, 5.3vw, 29px); }
  :lang(zh) .van-badge strong { font-size: 14px; font-style: normal; }
  :lang(zh) .scene-caption { line-height: 1.5; }
  :lang(zh) .service-shortcut { font-size: 17px; }
  :lang(zh) .service-shortcut-primary { font-size: 23px; }
  :lang(zh) .guide-card h3 { font-size: 22px; }
}
