/* R2.69: visible language links, without cookies or forced redirects. */
.header{gap:18px}.header nav{gap:clamp(12px,1.8vw,30px)}
.language-switch{display:flex;align-items:center;gap:2px;flex-shrink:0}
.language-switch a{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:44px;font-size:12px;letter-spacing:.02em;text-decoration:none;border-bottom:1px solid transparent}
.language-switch a[aria-current]{border-bottom-color:currentColor}
.language-switch a:hover{text-decoration:underline;text-underline-offset:4px}
.language-switch a:focus-visible{outline:2px solid var(--cacao);outline-offset:2px}
@media(max-width:900px){.header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'brand languages' 'brand menu';gap:0 12px}.header .brand{grid-area:brand}.header .menu-toggle{grid-area:menu;justify-self:end;min-height:40px;margin:0}.language-switch{grid-area:languages;justify-self:end}.language-switch a{min-width:40px;min-height:40px}.header nav{grid-area:auto}}

/* R2.70: tight underline and explicit separation from the menu. */
.language-switch a{border-bottom:0;text-underline-offset:2px;text-decoration-thickness:1px;text-decoration-skip-ink:auto}
.language-switch a[aria-current],.language-switch a:hover{text-decoration:underline;text-underline-offset:2px}
@media(max-width:900px){.header{row-gap:6px}}


/* R2.83: contact shortcut and an accessible three-line mobile menu. */
.header-actions{order:2;flex-shrink:0}
.header-tools{display:flex;align-items:center;gap:8px}
.header-contact{display:none}
.header nav{order:1}
.header .menu-toggle{width:44px;height:44px;min-height:44px;padding:11px;transform:none;display:flex;align-items:center;justify-content:center}
.header .menu-toggle span{margin:0}
.menu-icon{display:flex;width:20px;height:18px;flex-direction:column;justify-content:space-between}
.menu-icon>span{display:block;width:20px;height:2px;background:currentColor}
.menu-toggle[aria-expanded=true] .menu-icon>span:first-child{transform:translateY(8px) rotate(45deg)}
.menu-toggle[aria-expanded=true] .menu-icon>span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded=true] .menu-icon>span:last-child{transform:translateY(-8px) rotate(-45deg)}
@media(max-width:900px){
 .header{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'brand actions';gap:8px;padding-top:8px;padding-bottom:8px}
 .header-actions{grid-area:actions;display:flex;flex-direction:column;align-items:stretch;gap:6px}
 .header-tools{justify-content:flex-end;gap:6px}
 .language-switch{gap:0}
 .language-switch a{min-width:32px;min-height:44px}
 .header .menu-toggle{flex-shrink:0}
 .header-contact{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:8px 14px;background:var(--cacao);color:var(--beige);border:1px solid var(--cacao);font-size:14px;line-height:1.3;text-decoration:none;white-space:nowrap}
 .header-contact:hover{background:var(--beige);color:var(--cacao)}
 .header-contact:focus-visible{outline-color:var(--cacao)}
 .header-contact span{font-size:20px;line-height:1}
 .header nav{top:100%}
 html:not(.js-ready) .header nav{grid-column:1/-1}
}
@media(max-width:350px){
 .header{padding-left:4%;padding-right:4%;gap:6px}
 .header .complete-logo{width:132px}
}

/* R2.83.1: smaller visible frame, unchanged 44px touch target. */
.header .menu-toggle{position:relative;border:0;padding:0}
.header .menu-toggle::before{content:'';position:absolute;width:32px;height:32px;border:1px solid var(--cacao);pointer-events:none}
.header .menu-icon{width:16px;height:14px}
.header .menu-icon>span{width:16px;height:1.5px}
.menu-toggle[aria-expanded=true] .menu-icon>span:first-child{transform:translateY(6.25px) rotate(45deg)}
.menu-toggle[aria-expanded=true] .menu-icon>span:last-child{transform:translateY(-6.25px) rotate(-45deg)}

/* R2.83.2: compact frame aligned visually with language labels. */
.header .menu-toggle::before{box-sizing:border-box;width:24px;height:24px}
.header .menu-icon{width:14px;height:11px}
.header .menu-icon>span{width:14px;height:1px}
.menu-toggle[aria-expanded=true] .menu-icon>span:first-child{transform:translateY(5px) rotate(45deg)}
.menu-toggle[aria-expanded=true] .menu-icon>span:last-child{transform:translateY(-5px) rotate(-45deg)}
