/* Accessible theme control beside the language flags. */
:root{color-scheme:dark}
body .container-header .ar-language-tools{display:flex;align-items:center;gap:14px;width:auto;max-width:none;flex-shrink:0}
body .container-header .ar-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #a47850;border-radius:50%;background:#15191f;color:#ffc38d;font:26px/1 Arial,sans-serif}
body .container-header .ar-theme-toggle:hover{background:#30271f;border-color:#ff9a44}
body .container-header .ar-theme-toggle:focus-visible{outline:3px solid #62a5ff;outline-offset:4px}
:root[data-ar-theme=light]{color-scheme:light;--ar-ink:#24282e;--ar-muted:#525b65;--ar-accent:#a4440c;--ar-line:#c3cbd2;--ar-surface:#fff}
html[data-ar-theme=light] body{color:var(--ar-ink);background:#f7f6f2;background-image:none;--body-color:var(--ar-ink);--body-bg:#f7f6f2;--link-color:var(--ar-accent);--link-hover-color:#773209}
html[data-ar-theme=light] body .hero-copy{background:none}
html[data-ar-theme=light] body :is(.container-header nav,.container-header .mod-menu,.container-header .mod-menu a,.com-content-article,.blog-item h2,.blog-item h3,.blog-item h2 a,.blog-item h3 a,.ar-home .service h3,.ar-card-title>span:first-child,.ar-native-feed article h3,.ar-native-feed article h3 a,.com-content-category-blog>.page-header h1,.com-content-article>.page-header h1,.com-content-article>.page-header h2){color:var(--ar-ink)}
html[data-ar-theme=light] body :is(.hero-copy>p,.intro p,.service p,.process>div>p,.ar-film p,.ar-partner p,.ar-tools-module p,.ar-tools-module .eyebrow,.steps small,.note,.ar-model-card small,.ar-construction-gallery figcaption,.ar-services-page .blog-item p,.ar-studio-photo figcaption){color:var(--ar-muted)}
html[data-ar-theme=light] body :is(.eyebrow,.ribbon b,.service>span,.steps b,.ar-card-title>span:last-child,.mod-languages a,.ar-location>span,.caption,.vertical,.viewport-modes,.ar-information-footer,.ar-information-footer address,.ar-information-footer a,.kc-cookie-footer,.kc-cookie-footer button){color:var(--ar-accent)}
html[data-ar-theme=light] body :is(h1 em,.callout h2 em,.ar-location h2,.ar-partners h2,.ar-partners h2 a,.ar-tools-link,.ar-project-details){color:var(--ar-accent)!important}
html[data-ar-theme=light] body :is(.ribbon,.service,footer,.note,.steps>div,.ar-partners,.ar-tools-module,.kc-cookie-footer,.ar-pdf-guides details){border-color:var(--ar-line)}
html[data-ar-theme=light] body :is(.process,.ar-model-card,.ar-project-entry,.ar-native-grid>article,.blog-items .blog-item,.ar-home .service,.ar-partner,.ar-location,.ar-construction-gallery figure,.ar-service-sample-grid figure,.ar-viewer-panel,.ar-model-dialog){color:var(--ar-ink);background:var(--ar-surface);border-color:var(--ar-line)!important}
html[data-ar-theme=light] body :is(.phocagallery .pg-item-box,.phocagallery .pg-item-box-content,.ar-phoca-gallery .pg-item-box){background:var(--ar-surface)!important}
html[data-ar-theme=light] body :is(.ar-phoca-gallery figcaption,.ar-service-sample-grid figcaption,.ar-dialog-close,.ribbon){color:var(--ar-ink)}
html[data-ar-theme=light] body :is(.ar-phoca-gallery .pg-item-box-title a){color:var(--ar-ink)!important}
html[data-ar-theme=light] body :is(.viewport-bar,.ar-viewer-panel>.viewport-bar,.ar-viewer-help,.ar-pdf-guides summary,.viewport-modes span){background:#e7ebee;color:#3e4b58;border-color:#bbc5ce}
html[data-ar-theme=light] body :is(.container-header .ar-theme-toggle,.container-header .ar-theme-toggle:hover){background:#fff;color:#94400f;border-color:#b6c1ca}
html[data-ar-theme=light] body :is(.container-header .ar-mobile-menu-button,.container-header .navbar-toggler){color:var(--ar-accent)!important;background:#fff;border-color:#b6c1ca!important}
html[data-ar-theme=light] body :is(.container-header .ar-mobile-menu-panel,.container-header .mod-menu .mm-collapse){color:var(--ar-ink);background:#fff!important;border-color:var(--ar-line)}
html[data-ar-theme=light] body :is(.container-header .mod-menu a:hover,.container-header .mod-menu a:focus-visible){color:var(--ar-accent)}
html[data-ar-theme=light] body :is(.ar-filters button,.readmore a,.ar-contact-form-link){background:#fff;color:var(--ar-accent);border-color:#a76d43}
html[data-ar-theme=light] body :is(.ar-filters button[aria-pressed=true]){background:#a4440c;color:#fff;border-color:#a4440c}
html[data-ar-theme=light] body :is(.cta,.ar-hero-slider .hero-copy .cta,.ar-more-projects .cta){background:#a94813;color:#fff;border-color:#a94813}
html[data-ar-theme=light] body :is(.cta:hover,.ar-hero-slider .hero-copy .cta:hover,.ar-more-projects .cta:hover){background:#80360e;color:#fff;border-color:#80360e}
html[data-ar-theme=light] body :is(.ar-information-footer a:hover,.kc-cookie-footer button:hover,.ar-contact-form-link:hover){color:#773209}
html[data-ar-theme=light] body :is(.kc-cookie-footer [role=status]){color:var(--ar-muted)}
html[data-ar-theme=light] body :is(.kc-cookie-footer button){border-color:#b6c1ca}
html[data-ar-theme=light] body :is(#back-top.back-to-top-link){background:#fff;color:#94400f;border-color:#b6c1ca}
html[data-ar-theme=light] body :is(input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]),textarea,select,.form-control,.form-select){background:#fff!important;color:var(--ar-ink)!important;border-color:#94a0ab!important}
html[data-ar-theme=light] body :is(input,textarea){caret-color:var(--ar-ink)}
html[data-ar-theme=light] body :is(.blog-item:hover h2 a,.blog-item:hover h3 a,.ar-home .service:hover h3,.ar-project-entry:hover .ar-card-title>span:first-child,.ar-native-feed article:hover h3 a){color:#93410e}
html[data-ar-theme=light] body .hero-art{background-color:#eeece7;background-image:linear-gradient(#52687c14 1px,transparent 1px),linear-gradient(90deg,#52687c14 1px,transparent 1px);border-color:#a7b4c1}
html[data-ar-theme=light] body .hero-art .caption{color:#525b65}
html[data-ar-theme=light] body .viewport-modes span:nth-child(2){background:#f78c35;color:#24282e}
html[data-ar-theme=light] body :is(.hero-art:before,.hero-art:after,.brand-vector .vector-node){background:#f7f6f2;fill:#f7f6f2}
html[data-ar-theme=light] body :is(input,textarea)::placeholder{color:#626b74;opacity:1}
@media(max-width:650px){body .container-header .ar-language-tools{gap:10px}body .container-header .container-nav{gap:12px;flex-wrap:wrap}}
/* Echo the dark topology pattern with quiet grey lines on warm white. */
html[data-ar-theme=light] body{background-image:url('/images/artoon/mesh-background-light.svg');background-repeat:repeat;background-size:720px 620px}
@media(max-width:650px){html[data-ar-theme=light] body{background-size:540px 465px}}
/* Extend the white navigation surface beyond the first and last labels. */
@media(min-width:992px){
 html[data-ar-theme=light] body .container-header .ar-mobile-menu-panel{padding:8px 18px;border-radius:3px;box-sizing:border-box}
}
/* Brighter paper, retaining the fine grey topology pattern. */
html[data-ar-theme=light] body{background-color:#fff;--body-bg:#fff}
html[data-ar-theme=light] body .ar-phoca-gallery .pg-item-box{background:#fff!important;border-color:#202020!important;box-shadow:none!important}
html[data-ar-theme=light] body .ar-phoca-gallery .pg-item-box :is(figure,a,.pg-item-box-image,.pg-item-box-content){background:transparent!important}
html[data-ar-theme=light] body .pswp__bg{background:#fff}
html[data-ar-theme=light] body :is(.pswp__top-bar,.pswp__caption){background:rgba(255,255,255,.96)}
html[data-ar-theme=light] body :is(.pswp__counter,.pswp__caption__center){color:#24282e}
html[data-ar-theme=light] body .pswp__button{filter:invert(1)}
html[data-ar-theme=light] body .pswp__button--arrow--left:before,
html[data-ar-theme=light] body .pswp__button--arrow--right:before{background-color:transparent}
/* Match both the overlay and the loading placeholder to the selected theme. */
html[data-ar-theme=light] body .pswp .pswp__bg,
html[data-ar-theme=light] body .pswp .pswp__img--placeholder--blank{background:#fff!important;background-color:#fff!important}
html[data-ar-theme=light] body .pswp{color-scheme:light;background:transparent!important}
html[data-ar-theme=light] body .pswp .pswp__scroll-wrap,
html[data-ar-theme=light] body .pswp .pswp__container,
html[data-ar-theme=light] body .pswp .pswp__item{background:transparent!important}
body .pswp.pswp--animate_opacity,
body .pswp.pswp--animate_opacity .pswp__bg{transition-timing-function:ease-in-out}
/* A dark framed viewing surface with a narrow theme-coloured surround. */
body .ar-phoca-gallery .pg-item-box .pg-item-box-image,
html[data-ar-theme=light] body .ar-phoca-gallery .pg-item-box .pg-item-box-image{
 background-color:#171c22!important;
 background-image:linear-gradient(#a7b6cc12 1px,transparent 1px),linear-gradient(90deg,#a7b6cc12 1px,transparent 1px)!important;
 background-size:28px 28px!important;
 width:100%;height:100%;display:flex;align-items:center;justify-content:center
}
body .pswp{--ar-gallery-inset:24px;background:#08090b!important}
html[data-ar-theme=light] body .pswp{background:#fff!important}
body .pswp .pswp__bg,
html[data-ar-theme=light] body .pswp .pswp__bg{
 inset:var(--ar-gallery-inset);width:auto;height:auto;
 background-color:#171c22!important;
 background-image:linear-gradient(#a7b6cc12 1px,transparent 1px),linear-gradient(90deg,#a7b6cc12 1px,transparent 1px)!important;
 background-size:32px 32px!important;border:1px solid #202020
}
body .pswp .pswp__scroll-wrap{inset:var(--ar-gallery-inset);width:auto;height:auto;overflow:hidden}
body .pswp:after{
 content:'';position:absolute;inset:calc(var(--ar-gallery-inset) - 3px);pointer-events:none;z-index:1600;
 border:1px solid #202020;
 background:linear-gradient(#ff7900,#ff7900) top left/7px 7px no-repeat,linear-gradient(#ff7900,#ff7900) top right/7px 7px no-repeat,linear-gradient(#ff7900,#ff7900) bottom left/7px 7px no-repeat,linear-gradient(#ff7900,#ff7900) bottom right/7px 7px no-repeat
}
body .pswp .pswp__img--placeholder--blank,
html[data-ar-theme=light] body .pswp .pswp__img--placeholder--blank{background:#171c22!important}
body .pswp :is(.pswp__top-bar,.pswp__caption),
html[data-ar-theme=light] body .pswp :is(.pswp__top-bar,.pswp__caption){background:rgba(23,28,34,.94)}
body .pswp :is(.pswp__counter,.pswp__caption__center),
html[data-ar-theme=light] body .pswp :is(.pswp__counter,.pswp__caption__center){color:#f4eee8}
html[data-ar-theme=light] body .pswp .pswp__button{filter:none}
@media(max-width:650px){body .pswp{--ar-gallery-inset:12px}}
/* Pale warm grey viewing surfaces for the light theme. */
html[data-ar-theme=light] body .ar-phoca-gallery .pg-item-box .pg-item-box-image,
html[data-ar-theme=light] body .pswp .pswp__bg{
 background-color:#eeede9!important;
 background-image:linear-gradient(#65717d16 1px,transparent 1px),linear-gradient(90deg,#65717d16 1px,transparent 1px)!important
}
html[data-ar-theme=light] body .pswp .pswp__img--placeholder--blank{background:#eeede9!important}
html[data-ar-theme=light] body .pswp :is(.pswp__top-bar,.pswp__caption){background:rgba(238,237,233,.96)}
html[data-ar-theme=light] body .pswp :is(.pswp__counter,.pswp__caption__center){color:#30343a}
html[data-ar-theme=light] body .pswp .pswp__button{filter:invert(1)}
/* Keep the original black artist wordmark readable on either theme. */
body .ar-partner-artist img{filter:invert(1)}
html[data-ar-theme=light] body .ar-partner-artist img{filter:none}
/* Project popups use the same palette inside and outside their embedded page. */
body.contentpane.component{margin:0;padding:clamp(16px,3vw,32px);min-height:100vh;background-image:none}
body .ar-model-dialog:has(iframe),body .ar-model-dialog iframe{background:#101419;color:#f4eee8}
body .ar-model-dialog::backdrop{background:#08090ba8;backdrop-filter:blur(3px)}
html[data-ar-theme=light] body .ar-model-dialog,
html[data-ar-theme=light] body .ar-model-dialog:has(iframe),
html[data-ar-theme=light] body .ar-model-dialog iframe{background:#fff;color:#24282e;border-color:#a5afb9}
html[data-ar-theme=light] body .ar-model-dialog::backdrop{background:#30394466}
html[data-ar-theme=light] body :is([id^="jo3dviewer-"]:has(>canvas),[id^="jo3dviewer-"][id$="-loading"]){background:#eeede9!important;color:#30343a!important}
body .ar-model-dialog[open]{animation:ar-project-in .25s ease-out}
@keyframes ar-project-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){body .ar-model-dialog[open]{animation:none}}
/* Light-theme homepage slider controls. */
html[data-ar-theme=light] body .ar-slider-controls>button{
 background:#fff;color:#a4440c;border-color:#bd875e;
 transition:background-color .18s ease,color .18s ease,border-color .18s ease
}
html[data-ar-theme=light] body .ar-slider-controls>button:hover,
html[data-ar-theme=light] body .ar-slider-controls>button:focus-visible{
 background:#a4440c;color:#fff;border-color:#a4440c
}
html[data-ar-theme=light] body .ar-slider-dots button{background:#fff;border-color:#a4440c}
html[data-ar-theme=light] body .ar-slider-dots button[aria-pressed=true]{background:#a4440c}
@media(prefers-reduced-motion:reduce){html[data-ar-theme=light] body .ar-slider-controls>button{transition:none}}