/* October 2026: distinct motion systems, accessible controls and dark recognition. */
.brand-intro,.institution-hero,.page-head,.page-intro{position:relative;isolation:isolate;overflow:hidden}
.dimension-field{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;opacity:.52}
.brand-intro{background:radial-gradient(ellipse at 50% 32%,#103557aa,transparent 70%),#071a32!important}
.brand-intro .brand-emblem-stage{width:min(100%,430px)!important;max-width:430px!important}
.brand-intro .brand-emblem-stage img{width:clamp(220px,27vw,380px)!important;max-width:100%}
.brand-service-line{color:#d7e7f3!important;letter-spacing:.08em!important}
.dimension-toggle{font:inherit;font-size:12px;border:1px solid #61829c;border-radius:20px;padding:8px 14px;background:#0a233e;color:#dceaf6;cursor:pointer;display:block;margin:20px auto 0}
.motion-paused *,.motion-paused *:before,.motion-paused *:after{animation-play-state:paused!important}
.individual-award button,.award-showcase .award-zoom{background:radial-gradient(ellipse at 50% 25%,#21496a,#0a213c)!important;color:#eaf4ff!important}
.individual-award{background:linear-gradient(150deg,#153750,#0a2039)!important;border-color:#47718b!important;position:relative;isolation:isolate}
.individual-award:after{content:"";position:absolute;pointer-events:none;inset:-70% -100%;z-index:2;background:linear-gradient(115deg,transparent 43%,#bdeeff14 49%,transparent 55%);transform:translateX(-70%);animation:recognition-light 10s ease-in-out infinite}
.individual-award:nth-child(2n):after{animation-delay:2s}.individual-award:nth-child(3n):after{animation-delay:4s}
.individual-award button img{filter:drop-shadow(0 12px 15px #0005);animation:recognition-lift 7s ease-in-out infinite}
.individual-award:hover,.individual-award:focus-within{transform:translateY(-8px);box-shadow:0 14px 45px #147bbf3d}
.individual-award:focus-within:after{animation:none}
.service-motion{width:112px;height:112px;display:grid;place-items:center;position:relative;flex-shrink:0;color:#71d9f8;border-radius:50%;background:radial-gradient(circle,#1484b932,transparent 68%);margin:0 0 20px;isolation:isolate}
.service-motion:before,.service-motion:after{content:"";position:absolute;inset:6%;border:1px solid #64ccf844;border-radius:50%;transform:rotateX(60deg) rotate(-25deg);animation:service-orbit 12s linear infinite}
.service-motion:after{inset:0;border-color:#b4e56850;animation-direction:reverse;animation-duration:16s;transform:rotateY(60deg)}
.service-motion svg{width:58%;height:58%;stroke:currentColor;fill:none;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 9px #1bc8ff80);animation:service-float 5s ease-in-out infinite}
.service-motion .signal{fill:#c0e86e;stroke:none;animation:signal-light 3s ease-in-out infinite}
.service-panel .service-number{display:flex;flex-direction:column;align-items:center;justify-content:center}.service-panel .service-number .service-motion{margin:0 0 18px}
.needs-grid>a{position:relative;overflow:hidden}.needs-grid .service-motion{width:78px;height:78px;margin-bottom:15px}
.service-priorities article,.growth-service,.expertise-explorer [role=tabpanel]{position:relative}
.service-priorities article{transition:transform .35s,box-shadow .35s}.service-priorities article:hover{transform:translateY(-5px);box-shadow:0 15px 36px #00a8db17}
.resolution-spotlight{display:grid;grid-template-columns:.7fr 1.3fr;align-items:center;gap:clamp(25px,5vw,75px);background:radial-gradient(ellipse at 15% 50%,#16455b88,transparent 60%),#091e37;border-block:1px solid #7096ad50}
.resolution-symbol{display:flex;justify-content:center}.resolution-symbol .service-motion{width:clamp(160px,19vw,240px);height:clamp(160px,19vw,240px)}
.resolution-spotlight h2{font-size:clamp(2rem,4vw,3.6rem);line-height:1.12}.resolution-spotlight p{max-width:700px}.resolution-spotlight .resolution-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:25px}.resolution-topics{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.resolution-topics span{font-size:13px;padding:7px 12px;border:1px solid #60819c80;border-radius:20px;color:#d0e7f5}
.chatbox{max-height:min(740px,calc(100dvh - 110px));width:min(410px,calc(100vw - 24px))!important}.chat-body{overscroll-behavior:contain}.bubble{line-height:1.6}.chat-head small{line-height:1.4}.chat-options button,.chat-options a{min-height:42px}.chat-input input{min-width:0}.agp-concierge{max-height:calc(100dvh - 24px)!important}.agp-chat-log{overscroll-behavior:contain}.agp-bubble{line-height:1.6}
@keyframes recognition-light{0%,30%{transform:translateX(-70%)}70%,100%{transform:translateX(70%)}}
@keyframes recognition-lift{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes service-orbit{to{rotate:360deg}}@keyframes service-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes signal-light{50%{opacity:.4;filter:drop-shadow(0 0 5px #ccf396)}}
@media(max-width:650px){.brand-intro .brand-emblem-stage img{width:230px!important}.brand-center .brand-service-line{font-size:.85rem!important;letter-spacing:.025em!important}.resolution-spotlight{grid-template-columns:1fr;gap:10px}.resolution-symbol .service-motion{width:145px;height:145px}.service-motion{width:82px;height:82px}.individual-award button img{animation:none}.chatbox{right:12px!important;bottom:12px!important;max-height:calc(100dvh - 24px)}.dimension-field{opacity:.34}}
@media(prefers-reduced-motion:reduce){.service-motion:before,.service-motion:after,.service-motion svg,.service-motion .signal,.individual-award:after,.individual-award button img{animation:none!important}.individual-award:hover,.service-priorities article:hover{transform:none}.dimension-field{display:none}}

/* Quantum code field: distinct atmospheric systems for each firm. */
.dimension-field{opacity:.95;mix-blend-mode:screen}
body[data-firm="dja"] .brand-intro{background:radial-gradient(ellipse at 50% 30%,#0b304a99,transparent 68%),linear-gradient(155deg,#030d21,#071c32 55%,#031a23)!important}
body[data-firm="agp"] .institution-hero{background:radial-gradient(ellipse at 18% 48%,#12365677,transparent 54%),radial-gradient(ellipse at 85% 12%,#31245440,transparent 50%),#050f20!important}
.brand-intro:after,.institution-hero:after,.page-head:after,.page-intro:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 4px,#a5d9ff03 4px 5px);opacity:.6}
body[data-firm="agp"] .hero-copy{position:relative;text-shadow:0 2px 12px #020817}
body[data-firm="dja"] .brand-center{position:relative;text-shadow:0 2px 15px #020817}
.service-motion{background:radial-gradient(circle,#18a9c846,transparent 68%);box-shadow:0 0 32px #16a8d314}
.service-motion:before{box-shadow:0 0 12px #7accef22}.service-motion:after{box-shadow:0 0 15px #b4e56818}
@media(max-width:650px){.dimension-field{opacity:.7}.dimension-toggle{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.dimension-field{display:none}}

/* Keep the hero open: code and light, without circular line overlays. */
.brand-intro .orbit,.brand-intro .brand-orbit,.institution-hero .orbit,.institution-hero .brand-orbit{display:none!important}

/* Uncluttered brand presentation. Respect system reduced-motion automatically. */
.dimension-toggle,.motion-toggle,.brand-motion-toggle,.logo-motion-toggle{display:none!important}
.brand-intro .orbit,.brand-stage .orbit,.institution-hero .orbit,.institution-hero .brand-orbit,.brand-intro .brand-orbit,.hero-brand .orbit,.brand-visual .orbit{display:none!important}
.brand-emblem-stage:before,.brand-emblem-stage:after,.partner-orbit:before,.partner-orbit:after,.alignment-motion:before,.alignment-motion:after{display:none!important}

.brand-emblem-stage .logo-aura,.brand-emblem-stage .logo-spark,.partner-orbit .logo-aura,.partner-orbit .logo-spark{display:none!important}

/* DJA: a horizontal precision-light pass and a soft, springlike lift. */
body[data-firm="dja"] .brand-intro .logo-sculpture{animation:dja-mark-bounce 4.6s cubic-bezier(.45,0,.3,1) infinite!important;will-change:transform}
body[data-firm="dja"] .brand-intro .logo-hologram{display:block!important;background:linear-gradient(180deg,transparent 35%,#37dfff30 43%,#c5fff3dd 49%,#ffffffc9 50%,#8cd67060 52%,transparent 61%);background-size:100% 350%;animation:dja-precision-light 5.6s ease-in-out infinite!important;transform:none!important;opacity:.65}
@keyframes dja-mark-bounce{0%,100%{transform:translateY(0)}40%{transform:translateY(-13px)}58%{transform:translateY(-7px)}74%{transform:translateY(-10px)}}
@keyframes dja-precision-light{0%,10%{background-position:50% 100%;opacity:0}22%{opacity:.7}65%{background-position:50% 0%;opacity:.7}78%,100%{background-position:50% 0%;opacity:0}}
@media(prefers-reduced-motion:reduce){body[data-firm="dja"] .brand-intro .logo-sculpture{animation:none!important;transform:none!important}body[data-firm="dja"] .brand-intro .logo-hologram{display:none!important}}

/* Restrained moving trails: two short highlights, with no full circle outlines. */
.brand-light-trails{position:absolute;inset:-9%;pointer-events:none;z-index:4;display:block}
.brand-light-trails svg{display:block;width:100%;height:100%;overflow:visible}
.brand-light-trails .light-trail{fill:none;stroke-width:1.3;stroke-linecap:round;stroke-dasharray:19 81;stroke:#7be7ff;opacity:.72;filter:drop-shadow(0 0 4px #59ccef99);animation:brand-trail-flow 6.8s linear infinite}
.brand-light-trails .trail-b{stroke:#bbdf7b;stroke-dasharray:12 88;stroke-width:1;opacity:.62;animation-direction:reverse;animation-delay:-3.2s}
body[data-firm="agp"] .brand-light-trails .trail-a{stroke:#a1b5ff;animation-duration:8.4s;stroke-dasharray:22 78}
body[data-firm="agp"] .brand-light-trails .trail-b{stroke:#7ce3f4;animation-duration:6.8s;animation-delay:-4.2s}
@keyframes brand-trail-flow{from{stroke-dashoffset:0}to{stroke-dashoffset:-100}}
@media(max-width:650px){.brand-light-trails .light-trail{stroke-width:1.15;opacity:.6}}
@media(prefers-reduced-motion:reduce){.brand-light-trails{display:none!important}}
