/* Persistent navigation for the two commercial project pages. */
:root{--project-header-height:76px;--project-nav-height:54px}
html{scroll-padding-top:calc(var(--project-header-height) + var(--project-nav-height) + 20px)}
body.project-navigation-enabled{--nav-surface:#f2faff;--nav-ink:#214a65;--nav-accent:#b9367e;--nav-border:#b5d6e5;--nav-highlight:#f9e6f1}
body.project-navigation-enabled[data-project="kamihime"]{--nav-surface:#22364d;--nav-ink:#fff4e4;--nav-accent:#f6d89d;--nav-border:#718198;--nav-highlight:#ffffff12}
.project-navigation-enabled .site-header{position:sticky;top:0;z-index:100;height:76px;padding:0 clamp(20px,3vw,46px);gap:24px;background:var(--nav-surface);color:var(--nav-ink);border-bottom:1px solid var(--nav-border);box-shadow:none}
.project-navigation-enabled .site-header .brand,.project-navigation-enabled .header-right,.project-navigation-enabled .site-header nav{color:var(--nav-ink)}
.project-navigation-enabled .site-header nav{gap:4px;font-size:15px;font-weight:600}
.project-navigation-enabled .site-header nav a{display:flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:6px;white-space:nowrap;transition:background .15s}
.project-navigation-enabled .site-header nav a:hover{background:var(--nav-highlight)}
.project-navigation-enabled .header-right{gap:20px}
.project-navigation-enabled .language a{display:flex;align-items:center;min-height:44px}
.project-navigation-enabled .language{align-items:center}
.project-navigation-enabled .header-contact{color:var(--nav-ink);border-color:var(--nav-border);min-height:44px;border-radius:6px}
.project-navigation-enabled .section-menu-toggle{color:var(--nav-ink);border-color:var(--nav-border);min-height:44px;border-radius:6px}
.project-navigation-enabled a:focus-visible,.project-navigation-enabled button:focus-visible{outline:3px solid var(--nav-accent);outline-offset:3px}
.project-navigation-enabled .skip:focus{position:fixed;z-index:200;background:var(--nav-surface);color:var(--nav-ink)}
.project-section-bar{position:sticky;top:var(--project-header-height);z-index:90;display:flex;align-items:center;gap:24px;min-height:54px;padding:0 clamp(20px,3vw,46px);background:var(--nav-surface);color:var(--nav-ink);border-bottom:1px solid var(--nav-border);box-shadow:0 8px 24px #132b4512}
.project-section-name{font-size:14px;font-weight:700;white-space:nowrap;letter-spacing:.02em}
.project-section-links{display:flex;align-items:center;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:none;padding:4px 0;overscroll-behavior-x:contain}
.project-section-links::-webkit-scrollbar{display:none}
.project-section-links a{display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0;min-height:44px;padding:10px 15px;font-size:14px;font-weight:600;border-radius:5px;white-space:nowrap}
.project-section-links a:hover{background:var(--nav-highlight)}
.project-section-links a[aria-current="location"]{color:var(--nav-accent);background:var(--nav-highlight)}
.project-section-links a[aria-current="location"]:after{content:"";position:absolute;bottom:3px;left:15px;right:15px;height:2px;background:currentColor;border-radius:2px}
.project-top-link{display:flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;margin-left:auto;min-width:44px;min-height:44px;padding:8px 12px;font-size:14px;font-weight:600;border:1px solid var(--nav-border);border-radius:6px}
.project-top-link svg{width:18px;height:18px;flex-shrink:0}
.project-top-link:hover{background:var(--nav-highlight)}
@media(max-width:1150px){.project-navigation-enabled .site-header{gap:18px}.project-navigation-enabled .site-header nav a{padding:10px 9px}.project-navigation-enabled .header-right{gap:12px}.project-section-name{display:none}.project-section-bar{gap:12px}}
@media(max-width:980px){
 :root{--project-header-height:64px}
 .project-navigation-enabled .site-header{height:64px;gap:16px;padding:0 20px}
 .project-navigation-enabled .header-contact{display:none}
 .project-navigation-enabled .section-menu-toggle{display:flex;align-items:center;gap:5px;padding:8px 12px;background:transparent;font-size:14px}
 .project-navigation-enabled .site-header nav{display:none;position:absolute;left:0;right:0;top:100%;max-height:calc(100dvh - 64px);overflow-y:auto;flex-direction:column;gap:4px;padding:14px 20px 20px;background:var(--nav-surface);border-bottom:1px solid var(--nav-border);box-shadow:0 12px 20px #132b4525;font-size:16px}
 .project-navigation-enabled .site-header nav.open{display:flex}
 .project-navigation-enabled .site-header nav a{padding:12px 16px}
 .project-navigation-enabled .header-right{gap:16px}
 .project-section-bar{padding:0 16px;gap:10px}
 .project-section-links{flex:1}
 .project-section-links a{padding:10px 12px}
 .project-top-link{padding:8px}
 .project-top-link span{display:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-navigation-enabled *{transition:none!important}}
