/* AUGMENTED shared navigation. Text links only; icons communicate actions, never decoration. */
header #main-nav{display:flex;gap:30px;padding:0;width:auto;align-items:center}
header #main-nav a,header #main-nav a:last-child{position:relative;border:0;padding:9px 0;margin:0;color:#aab6c9;font-size:12px;letter-spacing:.035em;background:none}
header #main-nav a:hover,header #main-nav a[aria-current]{color:#fff;border:0}
header #main-nav a[aria-current]:after{content:'';position:absolute;bottom:0;left:0;width:18px;height:2px;background:#6797ff}
header #menu-toggle{display:none;border:0;border-radius:0;box-shadow:none;background:transparent;padding:11px;width:44px;height:44px;color:#eef3ff;z-index:102}
body.navigation-open{overflow:hidden}
@media(max-width:800px){
 header{flex-wrap:nowrap;min-height:82px;justify-content:space-between}
 header #menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px}
 #menu-toggle span{display:block;width:22px;height:1px;background:currentColor;transition:transform .2s,opacity .2s}
 #menu-toggle[aria-expanded=true] span:first-child{transform:translateY(6px) rotate(45deg)}
 #menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
 #menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-6px) rotate(-45deg)}
 header:has(.is-open){z-index:100}
 header #main-nav{display:none}
 header #main-nav.is-open{display:flex;position:fixed;inset:82px 0 0;z-index:101;width:100%;padding:28px 8% 50px;background:linear-gradient(135deg,#0c1422,#080a0f 75%);flex-direction:column;align-items:stretch;justify-content:center;gap:10px;overflow:auto}
 header #main-nav a,header #main-nav a:last-child{font-size:clamp(24px,7vw,36px)!important;font-weight:400;letter-spacing:-.03em;padding:10px 0!important;line-height:1.3;width:fit-content}
 header #main-nav a[aria-current]:after{width:25px}
}
@media(prefers-reduced-motion:reduce){#menu-toggle span{transition:none}}
/* The editorial VELA case study keeps its body styles, with the studio shell. */
body:has(.reveal) > header{display:flex;align-items:center;gap:30px;padding:28px 5%;background:#080a0f;border-bottom:1px solid #28313e;position:relative;min-height:92px;font-family:Arial,sans-serif}
body:has(.reveal) > header .brand{margin-right:auto;display:block;width:220px;height:38px;flex-shrink:0}
body:has(.reveal) .genuine-wordmark{position:relative;display:block;width:220px;height:38px;overflow:hidden}
body:has(.reveal) .genuine-wordmark img{position:absolute;width:810px;max-width:none;height:auto;left:-27px;top:-109px}
@media(max-width:800px){body:has(.reveal)>header{min-height:82px;padding:18px 6%}body:has(.reveal)>header .brand{width:185px;transform:scale(.84);transform-origin:left center;margin-right:-28px}}
body:has(.reveal) .case-shortcuts{display:flex;flex-wrap:wrap;gap:24px;padding:20px 5%;font:12px Arial,sans-serif;background:#080a0f;color:#b9c5d9}
.lab-content .input-row button{width:auto;min-width:54px;flex-shrink:0;padding:0 12px;font-size:12px}
header #menu-toggle[aria-expanded=true] span{transition:none}

/* Keep the original trademark visible beyond the legacy wordmark crop. */
body:has(.reveal) .genuine-wordmark{overflow:clip;overflow-clip-margin:8px;clip-path:inset(0 -8px 0 0)}
body:has(.reveal) .genuine-wordmark img{pointer-events:none}
