/* Scroll-direction navigation: animate the shell, never scale its text. */
html body .header.header.header{position:fixed!important;top:14px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:calc(100% - 48px)!important;max-width:1440px;border-radius:40px!important;transition:width .48s cubic-bezier(.22,1,.36,1),max-width .48s cubic-bezier(.22,1,.36,1),background-color .35s ease,box-shadow .35s ease!important;}
html body .header.header .nav{position:relative;width:100%;height:72px;padding:0 24px;transition:height .48s cubic-bezier(.22,1,.36,1),padding .48s cubic-bezier(.22,1,.36,1)}
html body .header .brand{white-space:nowrap;flex-shrink:0;transition:font-size .35s ease!important}
html body .header .navlinks,html body .header .menu{transition:opacity .16s ease,transform .3s ease!important}
html body .header .island-contact{position:absolute;right:8px;top:7px;min-height:40px;padding:8px 15px;gap:12px;opacity:0;visibility:hidden;transform:translateY(5px);transition:opacity .2s ease .14s,transform .35s ease .1s,visibility .2s!important;border-radius:40px!important}
html body .header.header.header.nav-island{width:292px!important;max-width:calc(100% - 32px)!important}
html body .header.header.header.nav-island .nav{height:54px;padding:0 18px}
html body .header.header.header.nav-island .brand{font-size:18px}
html body .header.header.header.nav-island .navlinks,html body .header.header.header.nav-island .menu{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(-5px)}
html body .header.header.header.nav-island .island-contact{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:800px){html body .header.header.header{width:calc(100% - 24px)!important;top:12px!important}html body .header.header .nav{height:64px;padding:0 18px}html body .header.header.header.nav-island{width:280px!important}html body .header.header.header.nav-island .nav{height:54px}html body .header .navlinks.open{border-radius:16px!important}}
@media(prefers-reduced-motion:reduce){html body .header.header.header,html body .header.header *{transition:none!important}}

@media(max-width:800px){
 html body .header .menu{width:44px;height:44px;min-width:44px;padding:10px;align-items:center;justify-content:center;border:0!important;background:transparent!important;border-radius:40px!important;}
 .menu-icon{display:block;flex-shrink:0;overflow:visible}
 .menu-icon path{transform-origin:12px 12px;transition:transform .25s cubic-bezier(.22,1,.36,1),opacity .18s ease}
 .menu[aria-expanded="true"] .menu-line-top{transform:translateY(6px) rotate(45deg);transform-origin:12px 6px}
 .menu[aria-expanded="true"] .menu-line-middle{opacity:0}
 .menu[aria-expanded="true"] .menu-line-bottom{transform:translateY(-6px) rotate(-45deg);transform-origin:12px 18px}
}
