
#navigation {
  position:fixed;inset:0;width:100%;height:100%;height:100dvh;
  max-width:none;max-height:none;margin:0;padding:0;border:0;
  background:#111;color:#f5f4ef;overflow:auto;overscroll-behavior:contain;
}
#navigation[open]{display:grid;grid-template-columns:31.111% 1fr}
#navigation::backdrop{background:rgba(0,0,0,calc(var(--menu-dim,1)*.5))}
#navigation .menu-visual{position:sticky;top:0;height:100dvh;overflow:hidden}
#navigation .menu-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
#navigation .menu-content{position:relative;min-width:0;min-height:100dvh;padding:80px 5.55vw 56px 6.45vw;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;column-gap:24px;row-gap:48px}
#navigation a{color:inherit;text-decoration:none}
#navigation h2{font-size:var(--mu-label-size);line-height:1.5;font-weight:500;color:#969590;margin:0 0 10px}
#navigation .menu-brand{display:none}
#navigation .close{position:fixed;top:calc(var(--mu-control-top) + var(--mu-safe-top));right:calc(var(--mu-control-right) + var(--mu-safe-right))}
#navigation .menu-links{grid-column:1/-1;display:grid;grid-template-columns:minmax(150px,.9fr) minmax(0,1.8fr);gap:3vw;margin:0;padding-top:0}
#navigation .menu-group a{display:block;width:fit-content;max-width:100%;padding:7px 0;min-height:44px;font-size:var(--mu-nav-size);font-weight:var(--mu-nav-weight);line-height:var(--mu-nav-leading);letter-spacing:-.01em;transition:color .18s}
#navigation .menu-group a:hover,#navigation .menu-details a:hover{color:#f5c518}
#navigation .menu-group a[aria-current="page"],#navigation .menu-quiz[aria-current="page"]{color:var(--mu-yellow,#f5c518);text-decoration-line:underline;text-decoration-thickness:2px;text-underline-offset:.22em;text-decoration-skip-ink:auto}
#navigation .menu-details{grid-column:1/-1;grid-row:3;display:grid;gap:36px;align-self:end;padding-right:0}
#navigation .menu-details h2{margin-bottom:4px}
#navigation .menu-details a,#navigation address{font-size:var(--mu-contact-size);line-height:1.6;font-weight:400;font-style:normal;letter-spacing:-.02em}
#navigation .menu-socials{display:flex;gap:2px;margin-left:-10px;margin-bottom:-10px;width:fit-content}
#navigation .menu-socials a{display:grid;place-items:center;width:40px;height:40px;border-radius:3px}
#navigation .menu-socials img{width:23px;height:23px}
#navigation .menu-socials a:hover{background:#2b2b26}
#navigation .menu-quiz{grid-column:2;grid-row:3;align-self:end;justify-self:end;z-index:1;color:var(--mu-ink)}
#navigation a:focus-visible,#navigation button:focus-visible{outline:2px solid #f5c518;outline-offset:5px}
@keyframes menu-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}

@media(min-width:1800px){#navigation .menu-content{padding-top:80px;padding-bottom:70px}#navigation .menu-group a{padding-block:7px}}
@media(min-width:901px) and (max-height:750px){#navigation .menu-content{padding-top:48px;padding-bottom:32px;row-gap:56px}#navigation .menu-details{gap:20px}#navigation .menu-group a{padding-block:6px}}
@media(max-width:1100px) and (min-width:901px){#navigation .menu-content{padding-left:4vw;padding-right:4vw}#navigation .menu-links{grid-template-columns:1fr 2fr;gap:20px}}
@media(max-width:900px){
  #navigation[open]{display:block}
  #navigation .menu-visual{display:none}
  #navigation .menu-content{display:flex;flex-direction:column;gap:0;min-height:100dvh;padding:calc(24px + var(--mu-safe-top)) calc(24px + var(--mu-safe-right)) calc(28px + var(--mu-safe-bottom)) calc(24px + var(--mu-safe-left));max-width:620px;margin:0 auto}
  #navigation .menu-brand{display:flex;align-items:center;width:64px;height:44px;margin-top:-6px;margin-bottom:34px}
  #navigation .menu-brand img{display:block;width:64px;height:32px;object-fit:contain}

  #navigation .menu-links{display:flex;flex-direction:column;gap:32px;padding:0}
  #navigation h2{margin-bottom:8px}
  #navigation .menu-group a{padding:9px 0;min-height:44px;letter-spacing:-.01em}
  #navigation .menu-quiz{align-self:stretch;width:100%;margin:36px 0 32px}
  #navigation .menu-details{display:flex;flex-direction:column;gap:24px;align-self:stretch}
  #navigation .menu-details a{line-height:1.5}
  #navigation .menu-details>div>a{display:inline-flex;align-items:center;min-height:44px}
  #navigation .menu-details h2{margin-bottom:8px}
  #navigation .menu-address{display:none}
  #navigation .menu-socials a{width:44px;height:44px}
  #navigation .menu-socials img{width:24px;height:24px}
}
@media(prefers-reduced-motion:reduce){#navigation[open]{animation:none}#navigation a,#navigation .close{transition:none}}

/* Shared enquiry actions on the homepage and every service. */
#navigation .menu-next{grid-column:2;grid-row:3;align-self:end;display:flex;flex-direction:column;gap:12px;width:240px;max-width:100%;z-index:1}
#navigation .menu-next a{width:100%;margin:0;min-height:48px;white-space:nowrap}
#navigation .menu-project{color:var(--mu-ink)}
#navigation .menu-next .menu-quiz{color:var(--mu-yellow)}
#navigation .menu-motion{display:flex;align-items:center;gap:9px;background:transparent;color:#b9c5cd;padding:0;min-height:44px;margin:0 0 12px;font-size:14px;text-align:left}
#navigation .menu-motion svg{width:16px;height:16px}
@media(max-width:900px){#navigation .menu-next{align-self:stretch;width:100%;margin:32px 0}}

/* Keep the fallback underneath every preview so a loading or broken file never leaves a gap. */
#navigation .menu-visual{background:#111}
#navigation .menu-media-stage{position:absolute;inset:0;overflow:hidden;pointer-events:none}
#navigation .menu-media-item{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .18s ease}
#navigation .menu-media-item.is-visible{opacity:1}
@media(prefers-reduced-motion:reduce){#navigation .menu-media-item{transition:none}}

/* The surface sweeps independently, keeping the transforming control pinned in place. */
body.menu-open{overflow:hidden}
#navigation.menu-motion-ready{background:transparent;isolation:isolate;--menu-fill:1;--menu-dim:1}
#navigation.menu-motion-ready::before{content:"";position:fixed;inset:0;background:#111;transform:scaleY(var(--menu-fill));transform-origin:center top;z-index:-1;pointer-events:none}
#navigation .close{z-index:3}
#menu.mu-icon-button,#navigation .close.mu-icon-button{border:0;background:transparent;border-radius:0;box-shadow:none}
#menu.mu-icon-button>svg{width:100%;height:32px}
#menu.mu-icon-button>svg path{stroke-width:2.2;stroke-linecap:round}
.menu-glyph{display:block;position:relative;width:44px;height:32px}
.menu-glyph i{position:absolute;left:0;top:0;width:44px;height:6px;background:currentColor;border-radius:3px;transform-origin:center}
.menu-glyph i:nth-child(2){top:13px}.menu-glyph i:last-child{top:26px}
.is-menu-open .menu-glyph i:first-child{transform:translateY(13px) rotate(45deg)}
.is-menu-open .menu-glyph i:nth-child(2){opacity:0;transform:scaleX(0)}
.is-menu-open .menu-glyph i:last-child{transform:translateY(-13px) rotate(-45deg)}
#navigation .menu-group>a{position:relative}

@media(hover:hover){#menu:hover{color:var(--mu-yellow)}#navigation .close:hover{color:var(--mu-secondary)}}
