html.custom-appearance body{background:var(--site-bg)!important;color:var(--site-text)!important}
html.custom-appearance .nav-links a,html.custom-appearance .nav-btn,html.custom-appearance .tab-btn,html.custom-appearance .resume-tab,html.custom-appearance .footer,html.custom-appearance .home-footer{color:var(--site-muted)!important}
html.custom-appearance .nav-links a.active,html.custom-appearance .nav-btn.active,html.custom-appearance .tab-btn.active,html.custom-appearance .resume-tab.active{color:var(--site-gold)!important}
html.custom-appearance .logo,html.custom-appearance h1,html.custom-appearance h2,html.custom-appearance h3,html.custom-appearance .resume-section-content,html.custom-appearance .contact-info-value{color:var(--site-text)!important}
html.custom-appearance .review-item,html.custom-appearance .contact-info-item,html.custom-appearance .contact-form-panel,html.custom-appearance .commission-image-card,html.custom-appearance .series-card{background:var(--site-surface)!important;border-color:var(--site-border)!important}
html.custom-appearance input,html.custom-appearance textarea{color:var(--site-text)!important;border-color:var(--site-border)!important}

/* Center the wordmark inside the area above primary navigation. */
@media(min-width:761px){body .navbar .logo,body .home-header .wordmark{position:absolute!important;left:50%!important;top:calc((100% - 38px)/2)!important;transform:translate(-50%,-50%)!important;margin:0!important;display:flex!important;align-items:center;justify-content:center;line-height:1!important;text-align:center}}

/* Complete palette bindings: the homepage shell must not cover the configured body background. */
html.custom-appearance,html.custom-appearance body,html.custom-appearance body .home-shell{background:var(--site-bg)!important;color:var(--site-text)!important}
html.custom-appearance body .navbar,html.custom-appearance body .home-header{background:transparent!important}
html.custom-appearance body .home-header .wordmark{color:var(--site-text)!important}
html.custom-appearance body .home-header .primary-nav a,html.custom-appearance body .home-footer,html.custom-appearance body .home-footer .social-links a,html.custom-appearance body .home-footer .newsletter-fields button{color:var(--site-muted)!important}
html.custom-appearance body .home-header .primary-nav a.active,html.custom-appearance body .home-footer a:hover{color:var(--site-gold)!important}
html.custom-appearance body .home-footer .newsletter-fields input,html.custom-appearance body .home-footer .newsletter-fields button{background:var(--site-surface)!important;border:1px solid var(--site-border)!important}
html.custom-appearance body .home-footer input::placeholder{color:var(--site-muted)!important}
html.custom-appearance body .contact-tab-card,html.custom-appearance body .editorial-card,html.custom-appearance body .event-set-card,html.custom-appearance body .commission-img-item,html.custom-appearance body .footer{background:var(--site-surface)!important;border-color:var(--site-border)!important}

/* Secondary controls palette, without changing layout or type sizes. */
html.custom-appearance body .navbar .lang-toggle,html.custom-appearance body .home-header .lang-toggle,html.custom-appearance body .resume-tab-btn,html.custom-appearance body .commission-cat-btn,html.custom-appearance body #exhibitionTabs button{color:var(--site-muted)!important}
html.custom-appearance body .resume-tab-btn.active,html.custom-appearance body .commission-cat-btn.active,html.custom-appearance body #exhibitionTabs button.active{color:var(--site-gold)!important}
html.custom-appearance body .btn-primary{background:var(--site-gold)!important;border-color:var(--site-gold)!important;color:var(--site-bg)!important}
html.custom-appearance body .contact-info-body p,html.custom-appearance body .contact-info-body a{color:var(--site-text)!important}
html.custom-appearance body .contact-info-body h4,html.custom-appearance body .contact-info-icon{color:var(--site-gold)!important}
