/* Shared scroll navigation, loaded by the common page head. */
.compact-nav-controls,.home-motion-menu{--compact-nav-size:clamp(64px,4.16667vw,80px)}
.compact-nav-controls{display:flex;width:max-content;height:var(--compact-nav-size)}
.compact-nav-controls>a,.compact-nav-controls>button{position:relative;width:var(--compact-nav-size);height:100%;display:grid;place-items:center}
.compact-nav-controls>a{background:#0a2c20}
.compact-nav-controls .dom-lettermark,.compact-nav-controls>button{transition:background-color .2s ease,color .2s ease}
.compact-nav-controls>a:is(:hover,:focus-visible) .dom-lettermark{background:var(--evergreen);color:#6f8e7e}
.compact-nav-controls>button{background:var(--paper);color:var(--evergreen)}
.compact-nav-controls>button:is(:hover,:focus-visible){background:#e5e1da;color:var(--accent)}
.compact-nav-controls>button span{position:absolute;width:30px;height:1px;background:currentColor;left:calc(50% - 15px)}
.home-compact-nav>button span:first-child{top:calc(50% - 6px)}
.home-compact-nav>button span:last-child{top:calc(50% + 6px)}
.compact-nav-close span{top:50%;height:2px;transform:translateY(-50%) rotate(45deg) scaleX(1.33)}
.compact-nav-close span:last-child{transform:translateY(-50%) rotate(-45deg) scaleX(1.33)}

.home-compact-nav{position:fixed;top:0;left:max(0px,calc((100% - 1920px)/2));z-index:45;visibility:hidden;opacity:0;transform:translateY(-20px);transition:opacity .45s cubic-bezier(.22,.8,.2,1),transform .45s cubic-bezier(.22,.8,.2,1),visibility .45s;box-shadow:0 2px 24px #001e1710}
.home-compact-nav.is-visible{visibility:visible;opacity:1;transform:translateY(0)}
.home-motion-menu{position:fixed;inset:0 auto auto max(0px,calc((100% - 1920px)/2));width:min(1920px,100vw);max-width:none;max-height:none;margin:0;padding:0;background:transparent;overflow:visible}
.home-motion-menu::backdrop{background:#0f2b22cc}
.home-motion-menu .compact-nav-controls{position:relative;z-index:1}
.home-menu-links{
 display:grid;
 grid-template-columns:calc(480*var(--design-unit)) minmax(0,1fr);
 gap:calc(40*var(--design-unit));
 min-height:min(calc(560*var(--design-unit)),calc(100dvh - var(--compact-nav-size)));
 max-height:calc(100dvh - var(--compact-nav-size));
 padding-inline:calc(160*var(--design-unit)) calc(80*var(--design-unit));
 background:#fff;
 box-shadow:inset 0 1px #0000001a;
 overflow:auto;
 overscroll-behavior:contain;
}
.compact-nav-primary>a,.compact-nav-primary>button{
 display:flex;align-items:center;width:100%;min-height:calc(80*var(--design-unit));
 font-size:clamp(22px,1.66667vw,32px);font-weight:400;text-align:left;
}
.compact-nav-primary>:not(:last-child){border-bottom:1px solid #0000001a}
.compact-nav-section{padding-block:calc(40*var(--design-unit));font-size:1rem;font-weight:500;line-height:1.2}
.compact-nav-label{margin:0 0 calc(20*var(--design-unit));color:#6f8e7e;font-size:inherit;font-weight:inherit;text-transform:uppercase;text-box-trim:trim-both;text-box-edge:cap alphabetic}
.compact-nav-label a{transition:color .2s ease,text-decoration-color .2s ease;text-decoration:underline transparent;text-underline-offset:.18em}
.compact-nav-label a:is(:hover,:focus-visible){color:var(--accent);text-decoration-color:currentColor}
.compact-nav-about-links{max-width:calc(480*var(--design-unit));margin-top:calc(29*var(--design-unit))}
.compact-nav-practices,.compact-nav-solutions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:calc(20*var(--design-unit))}
.compact-nav-solutions{grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(40*var(--design-unit))}
.compact-nav-practices{margin-bottom:calc(39*var(--design-unit))}
.compact-nav-section div>a{display:flex;align-items:center;min-height:max(44px,calc(60*var(--design-unit)));border-bottom:1px solid #0000001a}
.compact-nav-about-links>a:first-child,.compact-nav-practices>a,.compact-nav-solutions>a{border-top:1px solid #0000001a}
.compact-nav-section .compact-nav-solutions>a{min-height:calc(120*var(--design-unit))}
.compact-nav-solutions .solution-wordmark{transform:translateY(calc(-3*var(--design-unit)))}

.compact-nav-primary>*{--compact-arrow-size:calc(24*var(--design-unit));--compact-active-inset:calc(56*var(--design-unit))}
.compact-nav-section div>a{--compact-arrow-size:16px;--compact-active-inset:calc(16*var(--design-unit) + 24px)}
.compact-nav-section .compact-nav-solutions>a{--compact-arrow-size:calc(32*var(--design-unit));--compact-active-inset:calc(64*var(--design-unit))}
.compact-nav-primary>*,.compact-nav-section div>a{
 position:relative;
 transition:background-color .2s ease,color .2s ease,padding-left .2s ease;
}
.compact-nav-primary>:is(:hover,[aria-expanded=true]),.compact-nav-primary:not(:hover,:has([aria-expanded=true]))>:focus-visible,.compact-nav-section div>a:is(:hover,:focus-visible){
 padding-left:var(--compact-active-inset);background:var(--paper);color:var(--accent);
}
.compact-nav-primary>*::before,.compact-nav-section div>a::before{
 content:'';position:absolute;left:calc(16*var(--design-unit));top:50%;transform:translate(-4px,-50%);
 width:var(--compact-arrow-size);height:var(--compact-arrow-size);
 background:url('../images/revenis/vector-223fa97d2ec58917.svg') center/contain no-repeat;
 opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;
}
.compact-nav-primary>:is(:hover,[aria-expanded=true])::before,.compact-nav-primary:not(:hover,:has([aria-expanded=true]))>:focus-visible::before,.compact-nav-section div>a:is(:hover,:focus-visible)::before{
 opacity:1;transform:translate(0,-50%);
}
html.home-menu-open{overflow:hidden}
@media(max-width:1199px){.home-compact-nav{display:none}}
@media(prefers-reduced-motion:reduce){
 .home-compact-nav,.compact-nav-controls .dom-lettermark,.compact-nav-controls>button,
 .compact-nav-label a,.compact-nav-primary>*,.compact-nav-section div>a,
 .compact-nav-primary>*::before,.compact-nav-section div>a::before{transition:none}
}
