/* Shared language navigation. English pages use the same layout and motion assets. */
.site-header .header-inner { gap: 24px; }
.site-header .brand { order: 1; white-space: nowrap; }
.site-header .nav { order: 2; flex: 0 0 auto; align-items: center; margin-right: 0; }
.site-header .nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; line-height: 1.2; white-space: nowrap; }
.site-header .nav-link::before { bottom: 4px; }
.site-header .header-inner > .btn { order: 3; flex: 0 0 auto; min-height: 44px; line-height: 1.2; letter-spacing: .12em; white-space: nowrap; }
.site-header .header-inner > .btn svg { flex-shrink: 0; }
.site-header .nav-toggle { order: 5; }
.language-switch { order: 4; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px; }
.language-switch a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; font: 600 11px/1 var(--f-sans, sans-serif); letter-spacing: .06em; color: var(--c-paper, #f5f1e8); opacity: .52; text-decoration: none; transition: opacity .2s; }
.language-switch a[aria-current="page"] { opacity: 1; }
.language-switch a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px; background: var(--c-accent, #d7ff2f); }
.language-switch a:hover, .language-switch a:focus-visible { opacity: 1; }
.language-switch a:focus-visible { outline: 1px solid var(--c-accent, #d7ff2f); outline-offset: 2px; }
.source-language-note { position: relative; z-index: 2; margin: 0; padding: 108px max(24px, calc((100vw - 1320px)/2)) 0; font-size: 12px; line-height: 1.5; color: #aaa69e; background: #0a0a0a; }
html[lang="en"] .hero--ribbon .hero-title { font-size: clamp(40px, 6.2vw, 94px); }
html:lang(en) .site-header .nav-link { letter-spacing: .12em; }
html[lang="en"] .format-purpose { text-wrap: balance; }
@media (max-width: 1320px) {
 .site-header .brand-role { display: none; }
 .site-header .nav { gap: 20px; margin-right: 0; }
 .site-header .header-inner { gap: 18px; }
}
@media (max-width: 1000px) {
 .site-header .header-inner > .btn { display: none; }
 .site-header .nav { gap: 14px; }
 html:lang(en) .site-header .nav-link { font-size: 10px; letter-spacing: .08em; }
}
@media (max-width: 800px) {
 .site-header .header-inner { gap: 8px; }
 .site-header .language-switch { margin-left: auto; }
 .language-switch a { min-width: 32px; }
 html:lang(en) .site-header .brand-name { font-size: 11px; letter-spacing: .08em; }
 html[lang="en"] .hero--ribbon .hero-title { font-size: min(56px, calc((100vw - 2 * var(--gutter)) / 8.6)); }
 .source-language-note { padding: 88px 24px 0; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .language-switch a { transition: none; } }

html[lang="en"] .hero--ribbon .hero-title .line-inner { white-space: nowrap; }
html[lang="en"] .flow-main::after { content: "↺ If the resident does not confirm completion, the request returns to the contractor"; }
html[lang="en"] .cva-brief > em::before { content: "earlier: "; }
@media (max-width: 1024px) and (orientation: portrait) { html[lang="en"] .hero--ribbon .hero-title { font-size: min(56px, calc((100vw - 2 * var(--gutter)) / 8.6)); } }
