/* Shared navigation and project accents. Keep after page-specific styles. */
html body .site-menu { inset:0; width:100%; height:100dvh; min-height:0; padding:0; overflow:hidden; direction:ltr; }
html body .site-menu-shell { box-sizing:border-box; width:min(420px,100%); height:100dvh; min-height:0; max-height:100dvh; overflow:auto; overscroll-behavior:contain; padding:20px 24px max(24px,env(safe-area-inset-bottom)); display:flex; flex-direction:column; gap:20px; background:#171a4a; color:#fff; }
html body .site-menu-head { position:relative; display:flex; flex:none; align-items:center; justify-content:space-between; gap:16px; min-height:44px; margin:0; padding:0 0 14px; border-bottom:1px solid rgba(255,255,255,.2); }
html body .site-menu-head .site-menu-label { display:none; }
html body .site-menu .menu-close { position:static; inset:auto; flex:none; width:44px; height:44px; min-height:44px; margin:0 -10px 0 auto; padding:0; display:grid; place-items:center; border:0; border-radius:0; background:transparent; box-shadow:none; color:#fff; transform:none; }
html body .site-menu .menu-close svg { display:block; width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; }
html body .site-menu .menu-close::after { display:none; }
html body .site-menu-head .menu-socials { display:flex; position:static; flex-wrap:nowrap; align-items:center; gap:10px; margin:0; padding:0; }
html body .site-menu .menu-socials a { box-sizing:border-box; display:grid; place-items:center; width:38px; height:38px; min-height:38px; padding:8px; border:1px solid rgba(255,255,255,.3); border-radius:50%; background:transparent; color:#fff; text-decoration:none; }
html body .site-menu .menu-socials svg { display:block; width:20px; height:20px; fill:currentColor; }
html body .site-menu .menu-links { position:static; display:grid; flex:none; gap:10px; margin:0; padding:0; text-align:start; justify-items:start; }
html body .site-menu .menu-links a { font-family:var(--sans,'Onest',sans-serif); font-size:30px; font-weight:700; line-height:1.1; color:#fff; text-transform:none; transform:none; }
html body .site-menu .menu-actions { flex:none; display:block; margin:0; padding:0; }
html body .site-menu .menu-actions a { width:max-content!important; max-width:100%; min-height:48px!important; padding:0 24px!important; box-sizing:border-box; border:1px solid #fff!important; border-radius:999px!important; background:#fff!important; color:#171a4a!important; font-family:var(--mono,'JetBrains Mono',monospace)!important; font-size:13px!important; font-weight:700!important; text-transform:uppercase!important; }
html body .site-menu .menu-footer { flex:none; position:static; display:grid; gap:12px; margin:0; padding:16px 0 0; border-top:1px solid rgba(255,255,255,.2); }
html body .site-menu .menu-contact { position:static; display:block; margin:0; padding:0; }
html body .site-menu .menu-contact a { display:inline-block; color:#fff; font:14px/1.5 var(--mono,'JetBrains Mono',monospace); text-decoration:none; overflow-wrap:anywhere; }
html body .site-menu a:focus-visible,html body .site-menu button:focus-visible { outline:2px solid #a6a0ff; outline-offset:4px; }
html[dir=rtl] body .site-menu .menu-links { direction:rtl; width:100%; }
@media(max-width:820px) { html body .site-menu-shell { width:100%; padding:16px 20px max(20px,env(safe-area-inset-bottom)); gap:16px; } }
@media(max-height:760px) { html body .site-menu-shell { gap:12px; } html body .site-menu .menu-links { gap:5px; } html body .site-menu .menu-links a { font-size:clamp(20px,3.4dvh,26px); line-height:1.1; } html body .site-menu .menu-footer { padding-top:12px; } }
html body .projects .project-card[href$="purchase-passport-design/"],html body .projects .project-card[href$="purchase-passport/"] { --passport-accent:#147ce5; }
@media(hover:hover) { html body .projects .project-card[href$="purchase-passport-design/"]:hover,html body .projects .project-card[href$="purchase-passport/"]:hover { background:var(--passport-accent)!important; color:#fff!important; } }
html body .projects .project-card[href$="purchase-passport-design/"]:focus-visible,html body .projects .project-card[href$="purchase-passport/"]:focus-visible { background:var(--passport-accent)!important; color:#fff!important; }
html body .projects .project-card[href*="purchase-passport"]:is(:hover,:focus-visible) :is(h3,p,.meta-line,.card-action) { color:inherit; }
html body .pill.source-count { white-space:nowrap; width:max-content; max-width:100%; }
