/* English typography: preserve existing layouts while accommodating longer labels. */
.diagram-full-size {
  display: block;
  padding: .8rem 1.2rem;
  background: #eef5f7;
  color: #075c63;
  font-size: .875rem;
  font-weight: 700;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.diagram-full-size:focus-visible { outline: 3px solid #08a9a4; outline-offset: -3px; }
html[lang="en"] h1 {
  font-size: clamp(2.15rem, 4.3vw, 4rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}
html[lang="en"] h2 { text-wrap: balance; }
html[lang="en"] :is(h3, h4, .button, button, label, .card-link) { overflow-wrap: break-word; }
html[lang="en"] :is(.hero__actions, .hero-actions, .inquiry-actions) { flex-wrap: wrap; }
html[lang="en"] .hero__actions .button { white-space: normal; text-align: center; }
html[lang="en"] .site-logo__wordmark small { letter-spacing: .015em; font-size: .63rem; }
html[lang="en"] :is(.section-heading, .hero__layout, .hero-layout, .digital-grid, .brand-grid, .service-grid) > * { min-width: 0; }
html[lang="en"] .form-status a { display: inline-block; margin-top: .6rem; font-weight: 700; text-decoration: underline; }
html[lang="en"] .direct-contact-actions { flex-wrap: wrap; }
html[lang="en"] .direct-contact-actions > * { white-space: normal; text-align: center; }
html[lang="en"] img[src$="-diagram-en.svg"] { object-fit: contain; background: #f0f5f7; }
/* Diagram-specific layout; complete photo framing is shared in media-layout.css. */
html[lang="en"] main img[src*="/images/article/"][src$=".svg"] {
  object-fit: contain;
}
html[lang="en"] .article-overview:has(> figure img[src$=".svg"]) {
  grid-template-columns: minmax(0, 1fr);
}
html[lang="en"] .article-summary > picture:has(img[src$=".svg"]) {
  align-self: start;
  height: auto;
}
html[lang="en"] .article-summary > picture img[src$=".svg"] {
  height: auto;
  min-height: 0;
  max-height: none;
}
html[lang="en"] :is(.article-overview figure, .article-figure):has(img[src$=".svg"]) {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  align-self: start;
}
html[lang="en"] :is(.article-overview figure, .article-figure):has(img[src$=".svg"]) :is(picture, img) {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}
@media (max-width: 760px) {
  html[lang="en"] h1 { font-size: clamp(1.95rem, 8vw, 3rem); }
  html[lang="en"] .hero__meta { grid-template-columns: 1fr; }
  html[lang="en"] .hero__actions .button { flex-basis: 100%; }
  html[lang="en"] :is(.digital-models, .spec-grid, .specification-grid) { overflow-wrap: anywhere; }
  html[lang="en"] .article-overview { grid-template-columns: minmax(0, 1fr); }
  html[lang="en"] .article-overview > * { min-width: 0; max-width: 100%; }
  html[lang="en"] .article-overview figure { width: 100%; }
}
