/* Equal breathing space around identity, navigation and grouped actions. */
.menu-panel{padding: max(24px,env(safe-area-inset-top)) clamp(24px,6vw,40px) max(24px,env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;background:#fff;box-shadow:none}
.menu-panel[open]{display:grid;grid-template-rows:minmax(16px,1fr) auto minmax(16px,1fr) auto minmax(16px,1fr) auto minmax(16px,1fr);justify-items:center;align-items:stretch}
.menu-panel .menu-identity{display:grid;place-items:center;grid-row:2;align-self:center;width:100%;height:76px;margin:0}
.menu-panel .menu-identity .brand{position:relative;inset:auto;left:auto;top:auto;width:76px;height:76px;margin:0;translate:none;transform:none}
.menu-panel .menu-identity #brand-cube{width:114px;height:114px}
.menu-panel nav{grid-row:4;flex:none;overflow:visible;align-items:center;justify-content:center;gap:8px;width:100%;margin:0}
.menu-panel nav a{font-family:var(--font-body,interstate,Arial,sans-serif);font-size:clamp(30px,8.6vw,40px);font-weight:500;line-height:1.18;letter-spacing:-.025em;padding:4px 12px}
.menu-panel .menu-footer{grid-row:6;align-self:center;display:flex;flex-direction:column;align-items:center;width:100%;padding-top:0}
.menu-panel .menu-enquiry{flex:none;min-height:0;width:100%;margin:0;padding:0;gap:0}
.menu-panel .project-start{height:50px;min-height:50px;margin:0}
.menu-panel .menu-head{flex:none;justify-content:center;width:100%;margin:32px 0 0}
.menu-panel .menu-close{width:44px;height:44px;min-height:44px;border:1px solid #d2d2d2;border-radius:50%;outline:0;box-shadow:none;background:transparent;color:#444;transition:background .2s,border-color .2s}
.menu-panel .menu-close:focus-visible{outline:1px solid #777;outline-offset:3px;background:#f4f4f4;border-radius:50%}
.menu-panel:focus{outline:none}
.menu-panel nav a:focus-visible{outline:none;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}
.menu-panel .menu-close:hover{background:#f4f4f4;border-color:#999}
.menu-panel[open] .menu-identity{animation:menu-identity-in .8s .25s cubic-bezier(.22,1,.36,1) both}
.menu-panel[open] .menu-head{animation:menu-surface-in .6s 1.2s ease both}
@media(max-width:900px){.menu-panel{width:100vw}}
@media(max-height:650px){
 .menu-panel{padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}
 .menu-panel .menu-identity{height:60px;margin:0}
 .menu-panel .menu-identity .brand{width:60px;height:60px}
 .menu-panel .menu-identity #brand-cube{width:90px;height:90px}
 .menu-panel nav{gap:4px;margin:0}
 .menu-panel nav a{font-size:28px;padding-block:3px}
 .menu-panel .menu-head{margin-top:28px}
 .menu-panel .menu-footer{padding-top:0}
}
@media(max-height:500px){
 .menu-panel{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .menu-panel .menu-identity{height:42px;margin:0}
 .menu-panel .menu-identity .brand{width:42px;height:42px}
 .menu-panel .menu-identity #brand-cube{width:63px;height:63px}
 .menu-panel nav{gap:2px;margin:0}
 .menu-panel nav a{font-size:22px;line-height:1.12;padding-block:1px}
 .menu-panel .project-start{height:44px;min-height:44px}
 .menu-panel .menu-head{margin-top:16px}
 .menu-panel .menu-footer{padding-top:0}
 .menu-panel[open]{grid-template-rows:minmax(6px,1fr) auto minmax(6px,1fr) auto minmax(6px,1fr) auto minmax(6px,1fr)}
}
@media(prefers-reduced-motion:reduce){.menu-panel[open] .menu-identity,.menu-panel[open] .menu-head{animation:none}}
