/* Locale overrides only; source design and shared styles remain unchanged. */
/* Japanese palette only. Header, imagery, overlays and geometry stay unchanged. */
html[lang="ja"] main {
  --paper: #f7f8f8;
  --blue: #405363;
  --navy: #405363;
  --line: #dce1e4;
}
html[lang="ja"] .home-v1 .solutions-home,
html[lang="ja"] .home-v1 .home-capability-band,
html[lang="ja"] .home-v1 .projects-trust,
html[lang="ja"] .home-v1 .v1-footer,
html[lang="ja"] .detail-section--soft,
html[lang="ja"] .application-gallery article,
html[lang="ja"] .detail-scene figcaption,
html[lang="ja"] .system-roles article,
html[lang="ja"] .system-control {
  background-color: #f7f8f8;
}
html[lang="ja"] .home-v1 .projects-trust__cta,
html[lang="ja"] .home-v1 .home-cta,
html[lang="ja"] main .button-dark {
  background-color: #405363;
  color: #fff;
}
html[lang="ja"] .home-v1 .projects-trust__cta:hover,
html[lang="ja"] main .button-dark:hover {
  background-color: #334450;
}
html[lang="ja"] .home-v1 .text-link,
html[lang="ja"] .news-all,
html[lang="ja"] .news-card__link,
html[lang="ja"] .news-breadcrumb a,
html[lang="ja"] .news-related a,
html[lang="ja"] .application-gallery a,
html[lang="ja"] .system-roles a,
html[lang="ja"] .detail-link,
html[lang="ja"] .detail-route-links a {
  color: #405363;
}
html[lang="ja"] main :focus-visible { outline-color: #405363; }
html[lang="ja"] .home-v1 .project-entry a:hover { background-color: #eef1f2; }
html[lang="ja"] .home-v1 .home-proof-band,
html[lang="ja"] .news-related { border-color: #dce1e4; }
html[lang="ja"] .system-control { border-color: #82939f; }
.language-switcher { position: relative; color: inherit; font-size: 13px; flex-shrink: 0; text-align: start; }
.language-switcher summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; padding: 10px 5px; min-height: 44px; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after { content: '⌄'; }
.language-switcher ul { position: absolute; inset-inline-end: 0; top: 100%; z-index: 150; width: 240px; max-height: min(70vh, 520px); overflow-y: auto; list-style: none; margin: 4px 0 0; padding: 8px; border: 1px solid #dce3eb; border-radius: 12px; background: #fff; color: #10263e; box-shadow: 0 12px 32px #10263e24; }
.language-switcher li { margin: 0; }
.language-switcher a, .language-switcher li > span { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; min-height: 44px; color: #10263e; text-decoration: none; align-items: center; }
.language-switcher a:hover, .language-switcher a[aria-current] { background: #edf2f7; border-radius: 6px; }
.language-switcher li > span { color: #728091; }
.language-switcher small { font-size: 11px; max-width: 105px; }
.language-switcher :focus-visible { outline: 2px solid #1681d6; outline-offset: 2px; }
.language-fallback-note { font-size: .75em; font-weight: 400; opacity: .8; }
.v1-nav .language-fallback-note, .site-header .language-fallback-note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a.news-card__image > .language-fallback-note, .products-studio .language-fallback-note { display: none; }
.home-v1[dir] h1 { overflow-wrap: anywhere; }
html[lang=de] .hero-home h1 { font-size: clamp(36px, 4.5vw, 66px); }
html[dir=rtl] body { font-family: Tahoma, Arial, sans-serif; }
html[dir=rtl] .skip-link:not(:focus) { left: auto; right: -10000px; }
html[dir=rtl] .hero-home__content, html[dir=rtl] .system-story__copy, html[dir=rtl] .section-lead, html[dir=rtl] .projects-trust__copy { text-align: right; }
html[dir=rtl] .hero-home h1 { letter-spacing: 0; line-height: 1.45; font-size: clamp(34px, 4.1vw, 62px); }
html[dir=rtl] .home-v1 h2, html[dir=rtl] .home-v1 h3 { letter-spacing: 0; }
html[dir=rtl] .hero-home__shade { background: linear-gradient(270deg, #071728a6, transparent 75%); }
html[dir=rtl] .energy-flow li:not(:last-child)::after { content: '←'; right: auto; left: -12px; }
html[dir=rtl] .home-proof-band__metrics > div { border-right: 0; border-inline-end: 1px solid #10263e20; }
html[dir=rtl] .home-proof-band__metrics > div:first-child { padding-inline-start: 0; padding-inline-end: 20px; }
html[dir=rtl] .home-capability-band__grid li { border-left: 0; border-inline-start: 1px solid #10263e20; }
html[dir=rtl] .home-capability-band__grid li:first-child { border-inline-start: 0; }
html[dir=rtl] .hero-explore__arrow, html[dir=rtl] .solution-scene__arrow { transform: scaleX(-1); }
html[dir=rtl] input[type=email], html[dir=rtl] .home-proof-band__metrics dd { direction: ltr; unicode-bidi: isolate; }
/* Owner requirement: keep the original horizontal header; never disclose navigation. */
.home-v1 .v1-nav { grid-template-columns: auto minmax(0, 1fr) auto; }
.home-v1 .v1-menu { display: none; }
.home-v1 .v1-nav nav {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 1.8vw, 30px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  backdrop-filter: none;
  max-height: none;
  overflow: visible;
}
.home-v1 .v1-nav nav a { padding: 0; font-size: 14px; white-space: nowrap; }
@media (max-width: 600px) {
  .language-switcher ul { max-width: calc(100vw - 40px); }
  html[dir=rtl] .home-proof-band__metrics > div:nth-child(even) { border-inline-end: 0; }
  html[dir=rtl] .home-capability-band__grid li:nth-child(odd) { border-inline-start: 0; }
}
