/* Compact header controls; the language menu keeps full native names. */
.header-tools{gap:.3rem;flex-wrap:nowrap;flex-shrink:0}
.header-tools .header-control{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;color:#d5b97e;background:#08101b66;border:1px solid #d5b97e30;border-radius:50%;text-shadow:none;touch-action:manipulation;transition:background .2s,border-color .2s,color .2s}
.header-tools .header-control svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;color:inherit}
.header-tools .header-control:hover,.language-picker[open]>.header-control{color:#f0e3c7;background:#15202ee6;border-color:#d5b97e78}
.header-tools .header-control:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.language-picker{position:relative;font-size:.875rem;line-height:1.5;letter-spacing:.015em}
.language-picker summary{cursor:pointer;list-style:none}
.language-picker summary::-webkit-details-marker{display:none}
.language-picker summary::marker{content:""}
.language-options{position:absolute;right:0;top:calc(100% + .4rem);min-width:172px;padding:.4rem;background:#0c1725;border:1px solid #b698604f;box-shadow:0 12px 34px #0007;border-radius:3px}
.language-options a{display:flex;align-items:center;justify-content:space-between;gap:2rem;min-height:46px;padding:.65rem .8rem;color:#c9c4b8;white-space:nowrap}
.language-options a:hover,.language-options a:focus-visible{background:#d5b97e12;color:#f0e3c7;outline-offset:-2px}
.language-options a[aria-current="page"]{color:#efd6a5}
.language-check{visibility:hidden;color:var(--gold);font-size:.8rem}
.language-options a[aria-current="page"] .language-check{visibility:visible}
/* Home navigation unfolds below its own button without a modal backdrop. */
.site-menu{position:relative;font-size:.875rem;line-height:1.5;letter-spacing:.015em}
.site-menu summary{cursor:pointer;list-style:none}
.site-menu summary::-webkit-details-marker{display:none}
.site-menu summary::marker{content:""}
.site-menu[open]>.header-control{color:#f0e3c7;background:#15202ee6;border-color:#d5b97e78}
.site-menu-options{position:absolute;z-index:1;right:0;top:calc(100% + .6rem);width:208px;max-width:calc(100vw - 2rem);max-height:calc(100svh - 8rem);overflow-y:auto;overscroll-behavior:contain;padding:.35rem;background:#0c1725f5;border:1px solid #b698604f;border-radius:6px;box-shadow:0 12px 32px #0005}
.site-menu-options a{display:flex;align-items:center;min-height:44px;padding:.7rem .85rem;color:#d1cabc;overflow-wrap:anywhere;border-radius:3px}
.site-menu-options a+a{border-top:1px solid #d5b97e12}
.site-menu-options a:hover,.site-menu-options a:focus-visible{color:#f0e3c7;background:#d5b97e12;outline-offset:-2px}
@media(prefers-reduced-motion:no-preference){
 html:not(.motion-paused) .site-menu[open] .site-menu-options{animation:menu-unfold .16s ease-out}
}
@keyframes menu-unfold{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(max-width:370px){.site-header{padding-inline:.9rem}.wordmark{gap:.45rem;font-size:1.05rem;letter-spacing:.18em}.header-tools{gap:.15rem}}
