/* AGNOS LEGAL V8.5.3 – scoped public-site navigation/footer stability. */
:root{--agnos-focus:#7a40cd}
body.agnos-home,body.agnos-shell{overflow-x:clip}
body.agnos-home .site-header,body.agnos-shell .site-header{background:#fff;color:#172344;border-bottom:1px solid #e5eaf4;box-shadow:0 6px 26px rgba(8,19,43,.05)}
body.agnos-home .site-header.scrolled,body.agnos-shell .site-header.scrolled{background:rgba(255,255,255,.98);color:#172344;box-shadow:0 12px 35px rgba(8,19,43,.1)}
body.agnos-home .site-header .brand,body.agnos-shell .site-header .brand{flex-shrink:0;min-width:0;display:flex;align-items:center}
body.agnos-home .site-header .brand img,body.agnos-shell .site-header .brand img{width:auto;height:52px;max-width:190px;object-fit:contain;filter:none;opacity:1}
body.agnos-home .site-header .nav,body.agnos-shell .site-header .nav{gap:clamp(10px,1.6vw,23px);min-width:0;align-items:center}
body.agnos-home .site-header .nav a,body.agnos-shell .site-header .nav a{color:#24304c;white-space:nowrap;font-size:clamp(12px,1vw,14px)}
body.agnos-home .site-header .nav a:hover,body.agnos-shell .site-header .nav a:hover{color:#703ab8}
body.agnos-home .site-header .nav .primary,body.agnos-shell .site-header .nav .primary{background:linear-gradient(110deg,#6239bf,#a533c3);color:#fff;border-radius:999px;padding:12px 17px;border:0}
body.agnos-home .site-header .nav .primary:hover,body.agnos-shell .site-header .nav .primary:hover{color:#fff}
body.agnos-home .menu-btn,body.agnos-shell .menu-btn{color:#172344;min-width:44px;min-height:44px;align-items:center;justify-content:center}
body.agnos-home .mobile-nav.open,body.agnos-shell .mobile-nav.open{background:#fff;color:#172344;box-shadow:0 18px 34px rgba(7,22,53,.12);border-bottom:1px solid #e7e9f3}
body.agnos-home .mobile-nav.open a,body.agnos-shell .mobile-nav.open a{color:#182847;line-height:1.5;overflow-wrap:anywhere}
body.agnos-home .mobile-nav.open a:hover,body.agnos-shell .mobile-nav.open a:hover{color:#703ab8}
body.agnos-home main,body.agnos-shell main{min-width:0}
body.agnos-home img,body.agnos-shell img{max-width:100%}
body.agnos-home .agnos-service-grid>*,body.agnos-home .agnos-article-grid>*,body.agnos-home .team-grid>*,body.agnos-shell .cards>*,body.agnos-shell .team-grid>*{min-width:0}
body.agnos-home .agnos-footer-grid>.brand,body.agnos-home .agnos-footer-grid>div,body.agnos-shell .agnos-global-footer-grid>div{min-width:0}
/* Original logo contains dark lettering: always use an ivory backing on dark footers. */
body.agnos-home .agnos-footer-grid .brand img,body.agnos-home .agnos-footer-grid a.brand img,body.agnos-shell .agnos-global-footer-brand img{display:block;background:#fff;padding:9px 13px;border-radius:12px;width:auto;max-width:215px;height:auto;max-height:86px;object-fit:contain;filter:none;opacity:1}
body.agnos-home .agnos-footer-grid a,body.agnos-shell .agnos-global-footer-grid a{overflow-wrap:anywhere}
body.agnos-home .agnos-footer-bottom,body.agnos-shell .agnos-global-footer-bottom{flex-wrap:wrap;row-gap:12px}
body.agnos-home a:focus-visible,body.agnos-shell a:focus-visible,body.agnos-home button:focus-visible,body.agnos-shell button:focus-visible{outline:3px solid #b268ea;outline-offset:3px}
@media(max-width:1100px){body.agnos-home .site-header .nav,body.agnos-shell .site-header .nav{gap:10px}body.agnos-home .site-header .nav a,body.agnos-shell .site-header .nav a{font-size:12px}body.agnos-home .site-header .brand img,body.agnos-shell .site-header .brand img{height:46px;max-width:160px}}
@media(max-width:960px){body.agnos-home .site-header .nav,body.agnos-shell .site-header .nav{display:none}body.agnos-home .menu-btn,body.agnos-shell .menu-btn{display:inline-flex}body.agnos-home .site-header,body.agnos-shell .site-header{height:74px}body.agnos-home .mobile-nav.open,body.agnos-shell .mobile-nav.open{top:74px;max-height:calc(100dvh - 74px);overflow-y:auto}}
@media(max-width:620px){body.agnos-home .agnos-footer-grid,body.agnos-shell .agnos-global-footer .agnos-global-footer-grid{grid-template-columns:1fr;gap:30px}body.agnos-home .agnos-footer-bottom,body.agnos-shell .agnos-global-footer-bottom{flex-direction:column;align-items:flex-start}body.agnos-home .container,body.agnos-shell .container{width:calc(100% - 36px)}body.agnos-home .site-header .brand img,body.agnos-shell .site-header .brand img{max-width:165px}}
@media(prefers-reduced-motion:reduce){body.agnos-home *,body.agnos-shell *{scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* V8.5.4 — current page indication and predictable card links */
body.agnos-home .site-header .nav a[aria-current="page"]:not(.primary),body.agnos-shell .site-header .nav a[aria-current="page"]:not(.primary){color:#6333b3;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}
body.agnos-home .mobile-nav a[aria-current="page"],body.agnos-shell .mobile-nav a[aria-current="page"]{color:#6333b3;font-weight:800;background:#f5f1fc}
body.agnos-home .team-grid>a.person,body.agnos-shell .team-grid>a.person{text-decoration:none;color:inherit;min-width:0;display:block}
body.agnos-home .team-grid>a.person:hover,body.agnos-shell .team-grid>a.person:hover{transform:translateY(-3px)}
@media (prefers-reduced-motion:reduce){body.agnos-home .team-grid>a.person:hover,body.agnos-shell .team-grid>a.person:hover{transform:none}}
