/* Explicit themes: the approved light theme is the default, regardless of OS theme. */
:root{color-scheme:light;color-scheme:only light}
.theme-switch{display:inline-flex;flex:none;order:4;align-items:center;gap:2px;padding:3px;border:1px solid #bda895;border-radius:8px;line-height:1.2}
.theme-switch button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:7px 9px;border:0;border-radius:5px;background:transparent;color:#35473b;font-size:11px;font-weight:500;white-space:nowrap}
.theme-switch button[aria-pressed="true"]{background:#f4eae0;color:#23382f;box-shadow:0 1px 3px #23382f16}
.theme-switch button:hover{background:#f4eae080}
.theme-switch svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.navrow{gap:16px}
@media(max-width:1350px){.navphone{display:none}}
@media(min-width:1051px){.header nav{margin-left:auto;gap:20px}}
@media(max-width:1050px){
 .theme-switch{margin-left:auto}
 .menu-toggle{display:flex;order:5;align-items:center;gap:10px;border:0;background:none;color:var(--ink);font-size:13px}
 .menu-toggle span{font-size:22px}
 .header nav{display:none;position:absolute;top:88px;left:0;right:0;background:var(--header-paper);padding:10px 28px 22px;border-bottom:1px solid var(--line);margin:0}
 .header nav.open{display:flex;flex-direction:column;gap:0}
 .header nav a{padding:12px 0;font-size:16px}
 .header nav a.current:after{display:none}
}
@media(max-width:720px){
 .navrow{gap:10px}
 .header nav{top:72px;padding-inline:18px}
 .brand{width:138px}.brand img{width:138px}
 .theme-switch{padding:2px;gap:1px}
 .theme-switch button{font-size:10px;padding:7px 6px;gap:4px;min-height:38px}
 .theme-switch svg{width:12px;height:12px}
 .menu-toggle{font-size:0;gap:0;min-width:32px;min-height:44px;justify-content:center;padding:0}
}
@media(max-width:360px){
 .brand{width:112px}.brand img{width:112px}.navrow{gap:7px}
 .theme-switch svg{display:none}
 .service-grid{grid-template-columns:1fr}
 .service-grid article{border-right:0;border-bottom:1px solid var(--clay-line)!important}
 .service-grid article:last-child{border-bottom:0!important}
}

/* Warm graphite surfaces. Images/video are never recolored or filtered. */
:root[data-theme="dark"]{color-scheme:dark;color-scheme:only dark;--paper:#19221f;--header-paper:#22312b;--ink:#f1e9de;--muted:#b6c1b7;--line:#43564b;--green:#b5cdbb;--copper:#d5a084;--clay:#22312b;--clay-line:#43564b}
[data-theme="dark"] .header{border-bottom-color:#43564b}
[data-theme="dark"] .header nav a.current,[data-theme="dark"] .header nav a:hover{color:#e2ae8d}
[data-theme="dark"] .topline{background:#14201b;color:#dce5dc}
[data-theme="dark"] .theme-switch{border-color:#526559;background:#19221f}
[data-theme="dark"] .theme-switch button{color:#c4d0c6}
[data-theme="dark"] .theme-switch button[aria-pressed="true"]{background:#43564b;color:#fff5e9;box-shadow:none}
[data-theme="dark"] .theme-switch button:hover{background:#34473c;color:#fff5e9}
[data-theme="dark"] .portfolio,[data-theme="dark"] .contacts{--muted:#b6c1b7;--line:#43564b}
[data-theme="dark"] .services .wrap{border-left-color:#92674f}
[data-theme="dark"] .project-card{background:#19221f;border-color:#43564b}
[data-theme="dark"] .project-media{background:#14201b}
[data-theme="dark"] .project-media-action{color:#f1e6dc}
[data-theme="dark"] .project-gallery-link{border-color:#708775}
[data-theme="dark"] .project-gallery-link:hover{color:#e2ae8d;border-color:#e2ae8d}
[data-theme="dark"] .filters button.active{background:#95583f;border-color:#b77b5c;color:#fff7ef}
[data-theme="dark"] .filters button:hover{border-color:#d5a084}
[data-theme="dark"] .prices{background:#22352c;color:#f1e9de}
[data-theme="dark"] .prices p.lead{color:#f1e9de}
[data-theme="dark"] .prices p:not(.eyebrow){color:#d8ded4}
[data-theme="dark"] .price-tags span{border-color:#6e8374}
[data-theme="dark"] .button{background:#95583f;border-color:#b77b5c;color:#fff7ef}
[data-theme="dark"] .button:hover{background:#a8674c;border-color:#d5a084}
[data-theme="dark"] .contacts .contact-mail{color:#e2ae8d}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#9cae9f;opacity:1}
[data-theme="dark"] select option{background:#22312b;color:#f1e9de}
[data-theme="dark"] #gallery-image{background:#111a16}
[data-theme="dark"] .skip{background:#22312b;color:#f1e9de}

/* Keep the entire approved slideshow typography/overlay stable across both themes. */
.hero{--paper:#f1e6dc;--green:#203e32;--copper:#ab6748}
[data-theme="dark"] .hero .button{background:#95583f;border-color:#b77b5c;color:#fff7ef}
[data-theme="dark"] .hero .button:hover{background:#a8674c;border-color:#d5a084}

/* Compact theme preferences at the foot of the page. */
.footer-preferences{display:flex;justify-content:flex-end;margin-top:18px}
.footer-preferences .theme-switch{order:0;margin:0;padding:2px;gap:2px;border-color:#617265;border-radius:5px}
.footer-preferences .theme-switch button{min-height:30px;font-size:10px;padding:5px 8px;color:#e3d1c0;gap:4px}
.footer-preferences .theme-switch button[aria-pressed="true"]{background:#e3d1c0;color:#203e32;box-shadow:none}
.footer-preferences .theme-switch button:hover{background:#e3d1c025}
.footer-preferences .theme-switch button[aria-pressed="true"]:hover{background:#e3d1c0}
.footer-preferences .theme-switch svg{width:12px;height:12px}
@media(max-width:1050px){.navrow .menu-toggle{margin-left:auto}}
.button{min-width:195px;padding:14px 20px;font-size:12px;gap:28px}
.button span{font-size:20px}
@media(max-width:720px){.button{min-width:185px;padding:12px 17px}.footer-preferences{margin-top:16px}}
