/* Version 4B: white surfaces, deep blue type and contrasting cyan. Same structure as 4A. */
html:has(body.theme-ac.theme-light){background:#ffffff}
body.presentation-ready.theme-ac.theme-light{
 --bg:#ffffff;--surface:#f3f6fa;--card:#edf3f8;--ink:#112b46;--muted:#4b6177;
 --line:#b9cada;--header:#fffffff5;--accent:#007c9d;--lime:#007c9d;
 --accent-soft:#007c9d12;--button-ink:#ffffff;--review-muted:#4b6177;--review-line:#b2c5d8;
 --contact:#edf3f8;--contact-ink:#112b46;--contact-muted:#4b6177;--contact-line:#8ca8c2;--input:#ffffff;
 --heading:"Segoe UI",Arial,sans-serif;
 background:#ffffff;color:var(--ink)
}
body.presentation-ready.theme-ac.theme-light :is(.concept-label,header,main>section,main>.stats,footer){--section-paint:var(--tech-section-paint,linear-gradient(#ffffff,#ffffff))!important;border-color:var(--line)}
body.presentation-ready.theme-ac.theme-light :is(.concept-label,header){--tech-section-paint:linear-gradient(#ffffff,#ffffff)!important}
body.presentation-ready.theme-ac.theme-light :is(.stats,.capabilities,.client-preview,.client-directory){--tech-section-paint:linear-gradient(#f3f7fb,#f3f7fb)!important}
body.presentation-ready.theme-ac.theme-light :is(.contact,.clients-cta){--tech-section-paint:linear-gradient(120deg,#f1f6fb,#e6eff7)!important;color:var(--contact-ink)}
body.presentation-ready.theme-ac.theme-light .hero.new-hero{--tech-section-paint:linear-gradient(120deg,#ffffff 15%,#f1f7fc 100%)!important}
body.presentation-ready.theme-ac.theme-light .hero:after{display:none}
body.presentation-ready.theme-ac.theme-light .hero-serial{color:#48637d;border-color:#b9cada}
body.presentation-ready.theme-ac.theme-light .hero-serial>span:last-child{color:#48637d}
body.presentation-ready.theme-ac.theme-light .concept-label,body.presentation-ready.theme-ac.theme-light .concept-label>span:last-child{color:#48637d}
body.presentation-ready.theme-ac.theme-light .hero-copy .eyebrow{color:#315c7a}
body.presentation-ready.theme-ac.theme-light .developed-a h1{font-weight:650;letter-spacing:-3.2px;line-height:1.02}
body.presentation-ready.theme-ac.theme-light .hero h1 em{color:#006d90;background:linear-gradient(105deg,#183c62,#007c9d 65%,#244b75);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
body.presentation-ready.theme-ac.theme-light :is(.hero-copy>p,.cycle-heading>p,.project-heading p,.project-details p,.hero-secondary,.hero-bottom,.stats span){color:#4b6177}
body.presentation-ready.theme-ac.theme-light .scene-shell{background:radial-gradient(ellipse at 65% 30%,#cfe2f480,transparent 70%),#f8fbfd;border:1px solid #a7bed3;border-radius:16px;box-shadow:0 22px 75px #123b6315}
body.presentation-ready.theme-ac.theme-light .scene-summary{background:#edf4fa;border-color:#a8bfd3;color:#294e6e}
body.presentation-ready.theme-ac.theme-light .scene-view-label{color:#476580}
body.presentation-ready.theme-ac.theme-light .developed-a .kinetic-stage{background:radial-gradient(ellipse at 50% 50%,#c5dfef33,transparent 70%)}
body.presentation-ready.theme-ac.theme-light .scene-shell .stage-controls{background:#f2f7fb;border-color:#b2c5d8;color:#476580}
body.presentation-ready.theme-ac.theme-light :is(.stage-pause,.scene-controls button){background:#e9f1f8;border-color:#94b0c8;color:#264a6b}
body.presentation-ready.theme-ac.theme-light .scene-shell .scene-toolbar{background:#f0f5fa;border-color:#b2c5d8}
body.presentation-ready.theme-ac.theme-light .scene-shell .scene-toolbar :is(button,.assembly-toggle[aria-pressed=false]){color:#314e6d;border-radius:7px}
body.presentation-ready.theme-ac.theme-light .scene-shell .scene-toolbar :is(button.active,button[aria-pressed=true]){background:#164c75;color:#ffffff}
body.presentation-ready.theme-ac.theme-light :is(.primary,.header-cta){background:#007c9d;color:#ffffff;border-radius:7px;border-color:#123b63;box-shadow:0 5px 24px #123b6310}
body.presentation-ready.theme-ac.theme-light :is(.primary,.header-cta):hover{background:#195782;box-shadow:0 6px 30px #123b631c}
body.presentation-ready.theme-ac.theme-light .hero-secondary{border-color:#91abc2}
body.presentation-ready.theme-ac.theme-light :is(.cycle-heading h2 em,.cycle-grid article>span,.client-preview-heading h2 em,.clients-intro h1 em,.year,.title-dot,.project-type,.text-link,.client-directory-link){color:#006d90}
body.presentation-ready.theme-ac.theme-light :is(.cycle-grid article,.stats>div,.hero-bottom){border-color:#b9cada}
body.presentation-ready.theme-ac.theme-light :is(.section-meta,.visual-top,.diagram-note,.technical-key){color:#4b6177;border-color:#b9cada}
body.presentation-ready.theme-ac.theme-light .cycle-grid article p{color:#4b6177}
body.presentation-ready.theme-ac.theme-light .cap-tab{color:#294d6b;border-color:#a8bfd3}
body.presentation-ready.theme-ac.theme-light .cap-tab.active{background:#007c9d0c;border-color:#007c9d;color:#006d90}
body.presentation-ready.theme-ac.theme-light .cap-tab .index{color:#456981}
body.presentation-ready.theme-ac.theme-light .cap-visual{background:#f8fbfd;border-color:#a8bfd3;border-radius:14px}
body.presentation-ready.theme-ac.theme-light .machine-scene{background:radial-gradient(ellipse at 50% 60%,#c8ddeb40,transparent 70%)}
body.presentation-ready.theme-ac.theme-light :is(.cap-copy p,.cap-copy>div>span,.process-schematic){color:#365874}
body.presentation-ready.theme-ac.theme-light .archive-process{border-color:#b2c5d8}
body.presentation-ready.theme-ac.theme-light .archive-video{border:1px solid #a7bed3;border-radius:12px;background:#e9f0f6;box-shadow:0 20px 70px #123b631a}
body.presentation-ready.theme-ac.theme-light .archive-video-layout{border-color:#b9cada}
body.presentation-ready.theme-ac.theme-light :is(.project-details,.client-card){background:#ffffff;border-color:#b2c5d8}
body.presentation-ready.theme-ac.theme-light .client-card:hover{background:#eef6fb;border-color:#476f94}
body.presentation-ready.theme-ac.theme-light :is(.client-card h3,.client-person p,.client-details p,.client-compact .client-details p){color:#203f5d}
body.presentation-ready.theme-ac.theme-light :is(.client-card-top,.client-details>div>span,.client-preview-heading>p,.clients-intro-bottom>p,.clients-intro-bottom>span,.clients-intro .eyebrow,.directory-toolbar p,.directory-source,.clients-back,.client-search label){color:#4b6177}
body.presentation-ready.theme-ac.theme-light :is(.client-person,.clients-back,.client-directory-link,.directory-toolbar){border-color:#9fb7cf}
body.presentation-ready.theme-ac.theme-light .client-search>div{background:#edf4fa;border-color:#8da8c1}
body.presentation-ready.theme-ac.theme-light .client-search :is(input[type=search],button){color:#244b6b}
body.presentation-ready.theme-ac.theme-light .client-search input::placeholder{color:#4b6177}
body.presentation-ready.theme-ac.theme-light #no-clients{color:#315873;border-color:#8da8c1}
body.presentation-ready.theme-ac.theme-light :is(.heritage-copy,.heritage-image){background:#edf4fa;color:var(--ink);border-color:#b2c5d8}
body.presentation-ready.theme-ac.theme-light .heritage{--tech-section-paint:linear-gradient(#edf4fa,#edf4fa)!important}
body.presentation-ready.theme-ac.theme-light :is(.heritage-copy p,.heritage-copy .since,.heritage-copy .eyebrow){color:#4b6177}
body.presentation-ready.theme-ac.theme-light :is(.question-list summary,.question-intro h2){color:#203f5d}
body.presentation-ready.theme-ac.theme-light .question-list summary:focus-visible{outline-color:#007c9d}
body.presentation-ready.theme-ac.theme-light :is(.question-intro p,.question-list details p){color:#4b6177}
body.presentation-ready.theme-ac.theme-light .question-list details{border-color:#aac0d4}
body.presentation-ready.theme-ac.theme-light .question-list summary span{color:#006d90}
body.presentation-ready.theme-ac.theme-light .contact-head h2{color:#112b46}
body.presentation-ready.theme-ac.theme-light .contact-head h2 span{color:#006d90}
body.presentation-ready.theme-ac.theme-light .contact :is(.section-meta,.contact-head p,.brief-meta>span,.brief-intro p,.form-note){color:#4b6177}
body.presentation-ready.theme-ac.theme-light .contact :is(.brief-meta>a,.text-link){color:#213f5c}
body.presentation-ready.theme-ac.theme-light .contact :is(input,textarea){background:#ffffff;border-color:#96afc7;color:#112b46;border-radius:6px}
body.presentation-ready.theme-ac.theme-light .contact :is(input,textarea)::placeholder{color:#4b6177}
body.presentation-ready.theme-ac.theme-light .contact .machine-options button{color:#294d6e;border-color:#8ca8c2;background:#ffffff80;border-radius:7px}
body.presentation-ready.theme-ac.theme-light .contact .machine-options button[aria-pressed=true]{background:#164c75;color:#ffffff;border-color:#164c75}
body.presentation-ready.theme-ac.theme-light .submit{background:#007c9d;color:#ffffff;border-radius:7px}
body.presentation-ready.theme-ac.theme-light .clients-cta h2 em{color:#006d90}
body.presentation-ready.theme-ac.theme-light .clients-cta>a{background:#007c9d;color:#ffffff;border-radius:7px}
body.presentation-ready.theme-ac.theme-light .clients-page nav [aria-current=page],body.presentation-ready.theme-ac.theme-light nav [aria-current=page]{color:#006d90}
body.presentation-ready.theme-ac.theme-light footer{--tech-section-paint:linear-gradient(#f5f8fb,#f5f8fb)!important;color:#4b6177}
body.presentation-ready.theme-ac.theme-light :is(.footer-top p,.footer-bottom){color:#4b6177;border-color:#b9cada}
body.presentation-ready.theme-ac.theme-light .mobile-contact-bar{background:#fffffff5;border-color:#9fb7cf;box-shadow:0 -10px 30px #123b631a}
body.presentation-ready.theme-ac.theme-light .mobile-contact-bar>span{color:#3d5d78}
body.presentation-ready.theme-ac.theme-light .mobile-contact-bar>a{background:#007c9d;color:#ffffff;border-radius:6px}
body.presentation-ready.theme-ac.theme-light nav.open{background:#f2f7fb;border-color:#9fb7cf}
body.presentation-ready.theme-ac.theme-light .menu{border-color:#7899b7}
body.presentation-ready.theme-ac.theme-light .menu span{background:#294c6e}
body.presentation-ready.theme-ac.theme-light :is(button,a,input,textarea):focus-visible{outline-color:#006e92}
body.presentation-ready.theme-ac.theme-light .scene-shell .scene-toolbar button:is(.active,[aria-pressed=true]){color:#ffffff!important}
body.presentation-ready.theme-ac.theme-light .scroll-invite i{background:#8aa9c4}
body.presentation-ready.theme-ac.theme-light .scroll-invite i:before{background:#007c9d}
body.presentation-ready.theme-ac.theme-light .scroll-invite i:after{background:#007c9d}
body.presentation-ready.theme-ac.theme-light :is(.cycle-grid,.project-stage){border-color:#b9cada}
@media(max-width:800px){
 body.presentation-ready.theme-ac.theme-light .developed-a h1{letter-spacing:-1.7px}
 body.presentation-ready.theme-ac.theme-light .scene-shell{border-radius:12px}
 body.presentation-ready.theme-ac.theme-light .hero-serial{font-size:13px}
}
/* Crisp outlined lettering; the soft sweep is masked to the actual logo. */
body.presentation-ready.theme-ac.theme-light .brand-polished{display:block;position:relative;width:290px;max-width:100%;isolation:isolate;line-height:0}
body.presentation-ready.theme-ac.theme-light .brand .polished-brand-logo{width:100%;height:auto;max-width:100%;filter:none}
body.presentation-ready.theme-ac.theme-light .brand-shine{position:absolute;inset:0;pointer-events:none;mask:url('assets/brand/rebamah-plata-cian-v1.svg') center/contain no-repeat;background:linear-gradient(105deg,transparent 42%,#fff9 49%,#d5f7ffcc 50%,transparent 57%);background-size:300% 100%;animation:brand-metal-sweep 9s ease-in-out infinite;mix-blend-mode:screen;opacity:.6}
body.presentation-ready.theme-ac.theme-light .brand:hover .polished-brand-logo{filter:brightness(1.08)}
body.presentation-ready.theme-ac.theme-light.motion-off .brand-shine{animation-play-state:paused;opacity:0}
@keyframes brand-metal-sweep{0%,60%{background-position:150% 0;opacity:0}65%{opacity:.65}83%{opacity:.65}90%,100%{background-position:-50% 0;opacity:0}}
@media(max-width:1100px){body.presentation-ready.theme-ac.theme-light .brand-polished{width:270px}}
@media(max-width:600px){body.presentation-ready.theme-ac.theme-light .brand-polished{width:250px;max-width:calc(100vw - 116px)}}
@media(prefers-reduced-motion:reduce){body.presentation-ready.theme-ac.theme-light .brand-shine{display:none;animation:none}}
/* The explorer keeps the richer controls separate from the camera canvas. */
body.presentation-ready.theme-ac.theme-light .developed-a .a-experience{height:auto;min-width:0}
body.presentation-ready.theme-ac.theme-light .scene-shell{height:auto;grid-template-rows:auto minmax(390px,440px) auto auto auto auto auto}
body.presentation-ready.theme-ac.theme-light .explorer-labels{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;overflow:visible}
body.presentation-ready.theme-ac.theme-light .kinetic-stage:not(.stage-ready) .explorer-labels{display:none}
body.presentation-ready.theme-ac.theme-light .explorer-labels path{stroke:#286587;stroke-width:1;fill:none}
body.presentation-ready.theme-ac.theme-light .explorer-labels circle{fill:#007c9d;stroke:#ffffff;stroke-width:3}
body.presentation-ready.theme-ac.theme-light .explorer-labels text{fill:#213f5c;stroke:#ffffff;stroke-width:4;paint-order:stroke;font:600 14px/1.5 "Segoe UI",sans-serif;letter-spacing:.2px}
body.presentation-ready.theme-ac.theme-light .explorer-tools{padding:12px 16px;background:#f3f7fb;border-top:1px solid #a8bfd3;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
body.presentation-ready.theme-ac.theme-light .explorer-zoom{display:flex;align-items:center;gap:10px;min-width:0}
body.presentation-ready.theme-ac.theme-light .explorer-zoom input{flex:1;width:100%;min-width:50px;accent-color:#007c9d;cursor:pointer}
body.presentation-ready.theme-ac.theme-light .explorer-zoom output{font:600 14px/1.4 "Segoe UI",sans-serif;min-width:46px;text-align:center;color:#294e6e}
body.presentation-ready.theme-ac.theme-light .explorer-tools button{min-height:44px;border:1px solid #a7bfd4;background:#e9f0f6;color:#294e6e;font:13px/1.4 "Segoe UI",sans-serif;padding:9px 8px;border-radius:6px}
body.presentation-ready.theme-ac.theme-light .explorer-zoom button{width:44px;flex:none;font-size:22px;padding:6px}
body.presentation-ready.theme-ac.theme-light .explorer-utilities{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
body.presentation-ready.theme-ac.theme-light .explorer-tools button[aria-pressed=true]{background:#164c75;color:#ffffff;border-color:#164c75}
body.presentation-ready.theme-ac.theme-light .explorer-components{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:10px 16px 0;gap:6px;background:#f3f7fb}
body.presentation-ready.theme-ac.theme-light .explorer-components button{font:15px/1.4 "Segoe UI",sans-serif;min-height:44px;padding:9px 5px;border:0;border-bottom:2px solid transparent;background:transparent;color:#486782}
body.presentation-ready.theme-ac.theme-light .explorer-components button[aria-pressed=true]{border-color:#007c9d;color:#006482;background:#007c9d12}
body.presentation-ready.theme-ac.theme-light .explorer-description{font:15px/1.65 "Segoe UI",sans-serif;color:#4a6681;padding:12px 16px 17px;margin:0;background:#f3f7fb;min-height:78px}
body.presentation-ready.theme-ac.theme-light .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Actual section names lead; slogans and supporting lines have secondary weight. */
body.presentation-ready.theme-ac.theme-light main .section-meta{align-items:center;gap:24px;padding-bottom:25px;margin-bottom:30px;border-bottom:1px solid #a8bfd3}
body.presentation-ready.theme-ac.theme-light main .section-meta .section-title{font:600 clamp(32px,3.3cqw,44px)/1.15 "Segoe UI",sans-serif;letter-spacing:-1.2px;margin:0;color:#112b46;max-width:800px}
body.presentation-ready.theme-ac.theme-light main .section-meta>span{max-width:310px;text-align:right;color:#4b6782;font-size:15px;line-height:1.65}
body.presentation-ready.theme-ac.theme-light :is(.cycle-heading h3,.project-heading h3,.heritage-copy h3,.question-intro h3,.contact-head h3){font:400 clamp(25px,2.1cqw,29px)/1.3 "Segoe UI",sans-serif;letter-spacing:-.5px;color:#536a81;margin:0}
body.presentation-ready.theme-ac.theme-light :is(.archive-intro,.client-preview-heading) .section-deck{font:400 25px/1.4 "Segoe UI",sans-serif;letter-spacing:-.3px;color:#536a81;margin:0;max-width:550px}
body.presentation-ready.theme-ac.theme-light .cycle-heading{margin-top:0;align-items:start}
body.presentation-ready.theme-ac.theme-light .project-heading{margin-top:0}
body.presentation-ready.theme-ac.theme-light .questions>.section-meta{grid-column:1/-1;margin-bottom:0}
body.presentation-ready.theme-ac.theme-light .heritage-copy .section-meta{display:block}
body.presentation-ready.theme-ac.theme-light .heritage-copy .section-title{font-size:35px}
body.presentation-ready.theme-ac.theme-light .contact-head{margin-top:0}
body.presentation-ready.theme-ac.theme-light .contact-head h3 span{color:#536a81}
@media(max-width:1100px){body.presentation-ready.theme-ac.theme-light .scene-shell{grid-template-rows:auto minmax(350px,400px) auto auto auto auto auto}body.presentation-ready.theme-ac.theme-light .explorer-tools{grid-template-columns:1fr}}
@media(max-width:800px){
 body.presentation-ready.theme-ac.theme-light .scene-shell{grid-template-rows:auto 380px auto auto auto auto auto}
 body.presentation-ready.theme-ac.theme-light .explorer-labels text{font-size:14px;letter-spacing:0}
 body.presentation-ready.theme-ac.theme-light .explorer-utilities{gap:6px}
 body.presentation-ready.theme-ac.theme-light .explorer-tools{padding:12px}
 body.presentation-ready.theme-ac.theme-light .explorer-tools button{font-size:13px;padding:8px 6px}
 body.presentation-ready.theme-ac.theme-light .explorer-zoom button{font-size:22px}
 body.presentation-ready.theme-ac.theme-light .explorer-components{padding:8px 12px 0}
 body.presentation-ready.theme-ac.theme-light .explorer-components button{font-size:14px}
 body.presentation-ready.theme-ac.theme-light .explorer-description{padding:12px;font-size:14px;min-height:92px}
 body.presentation-ready.theme-ac.theme-light main .section-meta{align-items:start;flex-direction:column;gap:12px;margin-bottom:26px;padding-bottom:22px}
 body.presentation-ready.theme-ac.theme-light main .section-meta .section-title{font-size:32px;letter-spacing:-.8px}
 body.presentation-ready.theme-ac.theme-light main .section-meta>span{text-align:left;max-width:100%;font-size:15px}
 body.presentation-ready.theme-ac.theme-light .section-deck{font-size:24px}
 body.presentation-ready.theme-ac.theme-light .heritage-copy .section-title{font-size:32px}
}

body.presentation-ready.theme-ac.theme-light :is(.primary,.header-cta,.submit,.clients-cta>a){background:#123b63;color:#fff;border-color:#123b63}
body.presentation-ready.theme-ac.theme-light :is(.primary,.header-cta,.submit,.clients-cta>a):hover{background:#195782;color:#fff}
body.presentation-ready.theme-ac.theme-light .brand-shine{mix-blend-mode:normal;opacity:.28}
body.presentation-ready.theme-ac.theme-light .brand:hover .polished-brand-logo{filter:brightness(1.1)}
body.presentation-ready.theme-ac.theme-light .explorer-labels circle{stroke:#fff;fill:#007c9d}
body.presentation-ready.theme-ac.theme-light .diagram-note{color:#4b6177}
body.presentation-ready.theme-ac.theme-light .archive-heritage figcaption{color:#fff;background:#10293fcc}
body.presentation-ready.theme-ac.theme-light .image-corner{color:#fff;background:#10293fcc}
body.presentation-ready.theme-ac.theme-light .project-controls button{color:#244e73;border-color:#a6bfd6}
body.presentation-ready.theme-ac.theme-light .project-number{color:#244e73}
body.presentation-ready.theme-ac.theme-light .form-note{color:#4b6177}
body.presentation-ready.theme-ac.theme-light #cap-title{color:#112b46}
body.presentation-ready.theme-ac.theme-light .scene-controls{color:#4b6177;border-color:#a8bfd3}
body.presentation-ready.theme-ac.theme-light .scene-controls>span{color:#4b6177}
