/* One navigation system, shared labels and icons at every breakpoint. */
.site-header #main-nav{gap:4px;justify-content:center;flex-wrap:wrap;min-width:0}
.site-header #main-nav>a.section-link,.mobile-menu-links>a.section-link{display:flex;align-items:center;gap:9px;min-height:46px;padding:11px 15px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--text);font-size:15px;line-height:1.3;font-weight:700;text-decoration:none;white-space:nowrap;transition:background-color .18s,color .18s}
.site-header #main-nav>a.section-link{justify-content:center}
.site-header #main-nav>a.section-link>svg,.mobile-menu-links>a.section-link>svg{width:20px;height:20px;flex:none;stroke-width:1.7}
.site-header #main-nav>a.section-link::after{display:none}
.site-header #main-nav>a.section-link:hover,.mobile-menu-links>a.section-link:hover{background:var(--surface)}
.site-header #main-nav>a.section-link[aria-current=page],.mobile-menu-links>a.section-link[aria-current=page],html[data-theme=light] .mobile-menu-links>a.section-link[aria-current=page]{background:var(--text);color:var(--ink);border-color:transparent;padding-left:15px}
.site-header #main-nav>a.section-link:focus-visible,.mobile-menu-links>a.section-link:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.site-header .header-tools{flex-wrap:nowrap;width:auto;gap:12px;min-width:0;margin-left:auto}
.site-header .header-tools .socials-compact{flex-wrap:nowrap;gap:7px;margin:0}
.site-header .header-tools .theme-toggle{border-radius:999px;flex:none;white-space:nowrap}
.mobile-menu{background:var(--page-bg,var(--ink))}
.mobile-menu-links{gap:8px}
.mobile-menu-links>a.section-link{min-height:48px;font-size:17px;justify-content:flex-start;padding-inline:15px}
.mobile-menu-socials{margin:22px 0 20px;padding-top:20px}
.mobile-menu-socials .socials-compact{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;margin:0;width:100%}
.mobile-menu-socials .socials-compact>a{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:50%;background:#fff}
.mobile-menu-socials .socials-compact>a>.social-icon{display:flex;align-items:center;justify-content:center;width:26px;height:26px}
.mobile-menu-socials .socials-compact img{width:26px;height:26px;object-fit:contain}
.mobile-theme>div,.mobile-theme button{border-radius:999px}
@media(min-width:1101px) and (max-width:1450px){.site-header{flex-wrap:wrap}.site-header #main-nav{order:3;width:100%;flex-basis:100%;margin:0}.site-header .header-tools{order:2;width:auto;margin-left:auto}.site-header .header-tools .socials{margin:0}.site-header .brand{margin-right:0}}
@media(min-width:1101px){.site-header .menu-toggle{display:none!important}}
@media(max-width:1100px){
 .menu-enhanced .site-header #main-nav{display:none!important}
 .menu-enhanced .site-header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;min-width:46px;padding:10px 17px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font-weight:700}
 .site-header{flex-wrap:wrap;gap:14px;min-width:0}.site-header .brand{margin-right:auto}
 .site-header .header-tools{order:initial;width:auto;flex-basis:auto;justify-content:flex-end;gap:8px;margin-left:0}
 .site-header .header-tools .socials{display:none}
 html:not(.menu-enhanced) .site-header #main-nav{display:flex;order:3;width:100%;flex-basis:100%;margin:0;justify-content:flex-start}
 .mobile-menu{width:min(680px,calc(100% - 40px));height:min(760px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);margin:auto;border-radius:22px;border:1px solid var(--line)}
 .mobile-menu-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:600px){
 .mobile-menu{width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
 .mobile-menu-top{padding-inline:18px}.mobile-menu-scroll{padding-inline:18px}
 .mobile-menu-links{grid-template-columns:minmax(0,1fr);gap:7px}
 .mobile-menu-links>a.section-link{font-size:16px;min-height:46px}
 .site-header{display:grid;grid-template-columns:minmax(64px,1fr) auto auto;gap:8px;padding-inline:18px}
 .site-header>.brand{grid-column:1;grid-row:1;margin:0}.site-header>.brand img{width:64px;height:58px}
 .site-header>.menu-toggle{grid-column:2;grid-row:1}.menu-enhanced .site-header .menu-toggle{padding:10px 12px;gap:6px;font-size:13px}
 .site-header>.header-tools{grid-column:3;grid-row:1}.site-header .header-tools .theme-toggle{padding-inline:10px;font-size:12px}
 html:not(.menu-enhanced) .site-header #main-nav{grid-column:1/-1;grid-row:2}
}
@media(prefers-reduced-motion:reduce){.site-header #main-nav>a.section-link,.mobile-menu-links>a.section-link{transition:none}}
