/* Reserve a real touch target for the language switch in the existing header. */
.top #langSw { display: flex; align-items: center; justify-content: center; align-self: stretch; flex: 0 0 52px; display: grid; place-items: center; padding: 0; position: relative; overflow: hidden; font-weight: 600; text-decoration: none; }
@media (max-width: 760px) {
  .top:has(#langSw) { gap: 6px !important; padding-left: 12px !important; }
  .top:has(#langSw) .r2-stick { gap: 4px; padding-inline: 6px; font-size: 14px; }
  .top:has(#langSw) .r2-hire { min-width: 0; padding-inline: 10px; white-space: normal; text-align: center; line-height: 1.15; }
}

/* equal air each side of the code: cancel the header's flex gap before the switch, so button-to-code equals code-to-edge */
.top #langSw { margin-left: -14px; flex-basis: 56px; }
@media (max-width: 760px) { .top #langSw { margin-left: -6px; flex-basis: 52px; } }

/* the language switch is a button with a menu of the four languages (i18n/i18n.js): white squares, no frames, the current one black */
.top #langSw { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; align-self: stretch; flex: 0 0 56px; font: 600 15px/1 'Albert Sans', system-ui, sans-serif; text-align: center; }
.top #langSw:focus-visible { outline: 3px solid #2F5BFF; outline-offset: -3px; }
.lg-menu { position: fixed; z-index: 2147483000; display: grid; gap: 4px; padding: 0; min-width: 190px; background: transparent; }
.lg-menu[hidden] { display: none; }
.lg-menu a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; box-sizing: border-box; background: #fff; color: #000; text-decoration: none; font: 600 16px/1 'Albert Sans', system-ui, sans-serif; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); }
.lg-menu a b { font-weight: 700; min-width: 26px; }
.lg-menu a[aria-current] { background: #000; color: #fff; }
.lg-menu a:focus-visible { outline: 3px solid #2F5BFF; outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) { .lg-menu a:not([aria-current]):hover { background: #000; color: #fff; } }
.top #langSw { margin-left: -14px; }
@media (max-width: 760px) { .top #langSw { margin-left: -6px; flex-basis: 52px; } }

/* all: unset hands pointer-events back to the header, which lets taps through to the page: the switch asks for them (2026-11-15) */
.top #langSw { pointer-events: auto; }
