/* Local replica behavior. Brand tokens remain in the original stylesheets. */
/* Audience bridge between the task selector and service illustrations. */
.modex-audience{background:#171720;color:#ededf3;scroll-margin-top:88px}
.modex-audience-inner{width:min(1376px,calc(100% - 64px));margin-inline:auto;padding:96px 0 112px;border-top:1px solid #ededf326}
.modex-audience h2{margin:0 0 56px;font-size:clamp(26px,2.5vw,36px);font-weight:480;line-height:1.2;letter-spacing:.01em}
.modex-audience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px}
.modex-audience article{min-width:0}
.modex-audience article+article{border-left:1px solid #ededf326;padding-left:48px}
.modex-audience h3{margin:0 0 22px;font-size:20px;font-weight:480;line-height:1.35;color:#ededf3}
.modex-audience p{margin:0;max-width:30ch;font-size:16px;font-weight:400;line-height:1.65;color:#b1b1bf}
@media(max-width:767px){
 .modex-audience-inner{width:calc(100% - 40px);padding:64px 0 80px}
 .modex-audience h2{margin-bottom:40px}
 .modex-audience-grid{grid-template-columns:minmax(0,1fr);gap:32px}
 .modex-audience article+article{border-left:0;border-top:1px solid #ededf326;padding:32px 0 0}
 .modex-audience h3{font-size:19px;margin-bottom:16px}
 .modex-audience p{max-width:48ch}
}
html{scroll-behavior:smooth}button,a,input,summary{touch-action:manipulation}button,summary{cursor:pointer}.replica-nav-panel[data-state=open]{position:fixed!important;top:82px!important;left:16px!important;right:16px!important;width:calc(100vw - 32px)!important;max-height:calc(100vh - 108px);overflow:auto;background:#1e1e2a!important;color:#ededf3;border:1px solid #ffffff16;box-shadow:0 30px 70px #0005;visibility:visible!important;display:block!important;z-index:1000}.replica-nav-panel[data-state=open]>div>div{width:100%!important}.replica-nav-panel[hidden]{display:none!important}.replica-mobile-menu{position:fixed;inset:110px 0 0;background:#171721;color:#ededf3;z-index:999;overflow:auto;padding:20px 24px 60px}.replica-mobile-menu[hidden]{display:none}.replica-mobile-menu summary{padding:20px 0;border-bottom:1px solid #ffffff20;font-size:24px}.replica-mobile-menu details>div{padding:20px 0}.replica-mobile-menu details>div>div{display:block;width:100%}.replica-mobile-menu>a{display:block;padding:24px 0;font-size:24px}.replica-dialog{background:#1e1e2a;color:#ededf3;border:1px solid #ffffff1c;border-radius:20px;padding:48px;width:min(640px,calc(100vw - 32px));max-height:90vh;font-family:inherit;box-shadow:0 40px 140px #0007}.replica-dialog::backdrop{background:#101018bb;backdrop-filter:blur(10px)}.replica-dialog h2{font-size:36px;line-height:1.15;font-weight:480;margin:20px 0}.replica-dialog p{color:#c3c3cc;line-height:1.6;margin:18px 0}.replica-close{position:absolute;right:20px;top:12px;color:#c3c3cc;font-size:30px;background:none;border:0}.replica-eyebrow{font-size:11px;letter-spacing:2px}.replica-primary{display:inline-flex;justify-content:center;background:#5266eb;color:white;padding:12px 24px;border-radius:32px;margin-top:20px;border:0}.replica-balance{padding:24px;background:#272735;border-radius:12px;display:grid;gap:12px}.replica-balance strong{font-size:38px;font-weight:400}.replica-accounts{display:flex;gap:12px;margin-top:12px}.replica-accounts button{display:grid;gap:16px;text-align:left;background:#272735;border:0;border-radius:12px;padding:20px;flex:1;color:#ededf3}.replica-accounts b{font-weight:400}.replica-note{font-size:12px}.replica-row{display:flex;justify-content:space-between;padding:20px 0;border-bottom:1px solid #ffffff20} [role=tabpanel][hidden]{display:none!important}@media(max-width:640px){.replica-dialog{padding:32px 24px}.replica-dialog h2{font-size:29px}.replica-accounts{flex-direction:column}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Server-rendered sections start hidden until Mercury's observer runs. */
.animate-container{opacity:1!important;translate:0 0!important;transform:none!important}
[data-phase=idle]{translate:0 0!important;transform:none!important}
[data-phase] .pointer-events-auto.opacity-0{opacity:1!important}
.replica-flow-video{width:100%;height:100%;object-fit:contain;border-radius:12px}
@media(max-width:1023px){[data-phase]>.w-full>.pointer-events-none:first-child{position:relative;aspect-ratio:16/9}[data-phase]>.w-full>.pointer-events-none:first-child>div{padding:0}[data-phase] .pointer-events-auto.opacity-0{padding-top:24px}}
[data-global-theme=neutral-theme] .replica-nav-panel{background:#fff!important;color:#171721;box-shadow:0 30px 70px #0002}.replica-mobile-menu *{color:inherit}
input[type=checkbox][aria-hidden=true]{opacity:0!important}

/* Use the original theme tokens for the shared canvas and navigation. */
#theme-switch-scroller .replica-nav-panel{
 background:var(--background-default)!important;
 color:var(--text-default);
}
.replica-mobile-menu{
 transition:background-color var(--theme-transition-duration,.5s) var(--theme-transition-ease,ease),color var(--theme-transition-duration,.5s) var(--theme-transition-ease,ease);
}
@media(prefers-reduced-motion:reduce){
 #theme-switch-scroller.transition-theme,.replica-mobile-menu{transition-duration:0s!important}
}

/* Extend the report artwork to the card edges while keeping the report uncropped. */
.bim-report-art{position:relative;isolation:isolate;overflow:hidden;background:#eae9ee}
.bim-report-art::before{content:"";position:absolute;inset:-32px;z-index:-1;background-image:var(--bim-report-art);background-position:center;background-size:cover;filter:blur(32px)}
.bim-report-art>img{position:relative;mask-image:linear-gradient(to right,transparent 0%,#000 5%,#000 95%,transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 5%,#000 95%,transparent 100%)}

.bim-delivery{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:stretch}
.bim-delivery-copy{order:2;display:flex;flex-direction:column;justify-content:space-between;gap:24px;color:#000}
.bim-delivery-copy h2,.bim-delivery-copy p{margin:0;color:#000}
.bim-delivery-art{order:1;aspect-ratio:4/5;overflow:hidden;border-radius:16px}
.bim-delivery-art img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:767px){.bim-delivery{grid-template-columns:minmax(0,1fr)}.bim-delivery-copy{order:0;gap:16px;justify-content:flex-start}.bim-delivery-art{order:1}}


/* Modex closing sections: scoped styles leave the existing page above untouched. */
.modex-bottom,.modex-footer-shell{background:#171721;color:#ededf3}
.modex-bottom-inner{width:min(1120px,calc(100% - 64px));margin-inline:auto}
.modex-bottom{padding:112px 0 80px}
.modex-final-intro{max-width:760px;margin:0 auto 72px;text-align:center}
.modex-bottom-eyebrow{font-size:12px;line-height:1.5;letter-spacing:.12em;color:#b9b9c9;margin:0 0 20px}
.modex-final-intro h2{font-size:clamp(32px,4vw,56px);font-weight:500;line-height:1.12;letter-spacing:-.02em;margin:0 0 24px}
.modex-final-intro>p:not(.modex-bottom-eyebrow){max-width:650px;margin:0 auto 32px;font-size:20px;line-height:1.5;color:#c2c2ce}
.modex-bottom-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.modex-bottom-options article{padding:36px;border:1px solid #ffffff15;border-radius:16px;background:#20202c;display:flex;flex-direction:column;align-items:flex-start}
.modex-bottom-options h3{margin:0 0 16px;font-size:28px;font-weight:500;line-height:1.2}
.modex-bottom-options article>p:not(.modex-bottom-eyebrow){margin:0 0 28px;font-size:17px;line-height:1.55;color:#c2c2ce}
.modex-bottom-options a{margin-top:auto;color:inherit;text-underline-offset:5px;text-decoration:underline;text-decoration-color:#777786}
.modex-footer{padding:64px 0 24px;border-top:1px solid #ffffff26}
.modex-footer-top{display:grid;grid-template-columns:1.3fr 1.3fr 1fr 1fr;gap:32px}
.modex-footer-brand img{filter:brightness(0) invert(1);display:block}
.modex-footer-brand p{margin:20px 0 0;color:#b9b9c9;font-size:15px;line-height:1.6}
.modex-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.modex-footer h2{margin:0 0 8px;font-size:15px;font-weight:600;line-height:1.5}
.modex-footer a{color:inherit;font-size:15px;line-height:1.5}
.modex-footer nav a{color:#b9b9c9}
.modex-footer a:hover,.modex-bottom-options a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.modex-footer a:focus-visible,.modex-bottom-options a:focus-visible{outline:2px solid #8d9bff;outline-offset:5px;border-radius:2px}
.modex-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #ffffff15;margin-top:56px;padding-top:24px;color:#b9b9c9;font-size:13px}
.modex-footer-bottom p{margin:0}
@media(max-width:767px){.modex-bottom-inner{width:calc(100% - 40px)}.modex-bottom{padding:72px 0 48px}.modex-final-intro{margin-bottom:40px}.modex-final-intro>p:not(.modex-bottom-eyebrow){font-size:18px}.modex-bottom-options{grid-template-columns:1fr}.modex-bottom-options article{padding:24px}.modex-bottom-options h3{font-size:25px}.modex-footer{padding-top:40px}.modex-footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}.modex-footer-brand{grid-column:1/-1}.modex-footer-bottom{margin-top:40px}}
@media(max-width:359px){.modex-footer-top{grid-template-columns:1fr}}

/* Main BIM service spans both columns; show the complete wide illustration. */
#projects .modex-model-service{grid-column:1/-1;min-width:0}
#projects .modex-model-service-art{aspect-ratio:3/1;background:#ededf3}
#projects .modex-model-service-art img{object-fit:contain}

/* One quiet visual system for the service illustrations and captions. */
#projects .aspect-3\/2,
#projects .modex-model-service-art{
 position:relative;
 isolation:isolate;
 background:#ededf3;
 box-shadow:none;
}
#projects .aspect-3\/2 img,
#projects .modex-model-service-art img{
 filter:grayscale(1) contrast(.97) brightness(1.02);
 mix-blend-mode:luminosity;
 mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 95%,transparent);
 mask-composite:intersect;
}
#projects .bim-report-art{background:#ededf3}
#projects .bim-report-art::before{background-image:none;filter:none;inset:0}
#projects img[src*="service-families-cube"]{transform:scale(1.03);transform-origin:center}
#projects img[src*="service-scripts-braces"]{transform:scale(.97,.91);transform-origin:center}
/* Uploaded artwork is already coordinated: retain its colors and framing. */
#projects img[src*="-lavender-v1.png"]{
 filter:none;
 mix-blend-mode:normal;
 mask-image:none;
 -webkit-mask-image:none;
 transform:none;
}
#projects .arcadia-heading-9{
 font-size:21px;
 font-weight:480;
 line-height:1.3;
 letter-spacing:0;
 color:#272735;
 margin:0 0 8px;
}
#projects .arcadia-body-2{font-size:16px;line-height:1.5;color:#70707d}
@media(max-width:767px){
 #projects .arcadia-heading-9{font-size:19px;margin-bottom:6px}
}
