/* Final scoped multilingual typography layer: preserve words and licence facts. */
html:not(:lang(zh)) .float-contact.consultation-dock .float-trigger {
  height: 124px;
}
html:not(:lang(zh)) .float-contact.consultation-dock .float-trigger > span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  letter-spacing: .02em;
  font-size: 11px;
  line-height: 1.25;
}
.float-contact.consultation-dock.dock-intro-hidden:not(.is-open):not(:focus-within) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
main h1, main h2, main h3, main h4,
.closing-cta h2,
.site-header .brand-services,
.consultation-dock .consultation-card h3 {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}
main h1, main h2, main h3,
.closing-cta h2 { text-wrap: balance; }
.text-unit { white-space: nowrap; }
.hero .hero-kicker {
  display: block;
  width: auto;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  line-height: 1.8;
}
.hero .hero-trust {
  flex-wrap: wrap;
  gap: 8px 16px;
}
html:not(:lang(zh)) .hero-trust > span {
  min-width: 0;
  white-space: normal;
}
html:not(:lang(zh)) .price-card .section-title,
html:not(:lang(zh)) .price-card h3 {
  min-width: 0;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  text-wrap: balance;
}
.quick-paths > a,
.quick-paths > a > span:not(.quick-icon) {
  min-width: 0;
}
.quick-paths > a > span:not(.quick-icon) {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
@media (max-width: 767px) {
  html:not(:lang(zh)) .float-contact.consultation-dock .float-trigger {
    height: 50px;
  }
  .float-contact.consultation-dock .back-top { height: 40px; }
  .hero .hero-kicker { font-size: 10px; letter-spacing: .025em; }
  html:not(:lang(zh)) .hero h1 { font-size: 32px; line-height: 1.5; }
  html:lang(ja) .hero h1 { line-height: 1.55; }
  .hero .hero-copy { min-width: 0; }
  .closing-cta h2 { max-width: 100%; line-height: 1.55; }
  .cost-calculator h2 { line-height: 1.55; }
  .quick-paths { min-width: 0; }
  .quick-paths > a { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; }
  .quick-paths > a > span:not(.quick-icon) { font-size: 11px; }
  .quick-paths > a > span:not(.quick-icon) > small { font-size: 7px; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  .float-contact.consultation-dock { transition: none; }
}

html { scroll-padding-top: var(--sticky-header-height, 100px); }
