/* Shared controls; midnight.css keeps the spacious layout and readable type. */
.header-tools{display:flex;align-items:center;gap:14px;flex-shrink:0}.theme-switch{display:flex;align-items:center;padding:3px;border:1px solid var(--line);border-radius:30px;background:#10213a80;flex-shrink:0}.theme-switch button{display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:24px;background:none;color:var(--body);font-family:var(--sans);font-size:12px;line-height:1;padding:10px 11px;min-height:38px}.theme-switch svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.theme-switch button[aria-pressed=true]{background:#a9c9fa;color:#081326}.theme-switch button:focus-visible{outline-offset:3px}.site-header{gap:20px}.navigation{gap:15px;font-size:12px}.legal-page p,.legal-page li{font-size:16px}.legal-back{white-space:nowrap}
/* Warm sand, forest green and terracotta: the original light identity. */
:root[data-theme=light]{color-scheme:light;--paper:#efeada;--ink:#214f3e;--body:#455b4a;--muted:#596c55;--accent:#9a481e;--line:#214f3e33;--panel:#faf7eec9}
[data-theme=light] .site-landscape{background:radial-gradient(ellipse at 70% 20%,#f7f2e4 0,transparent 58%),#efeada}
[data-theme=light] .site-landscape:before{background:radial-gradient(ellipse at 15% 20%,#fff9ed50,transparent 65%)}
[data-theme=light] .site-landscape>img{filter:none;mix-blend-mode:normal;opacity:.22}
[data-theme=light] .site-landscape:after{opacity:.15}
[data-theme=light] .sand-lines{opacity:.65}
[data-theme=light] .sand-lines path{stroke:#a08d6d;stroke-opacity:.3}
[data-theme=light] .sand-lines path:nth-child(6n+1){stroke:#95744d;stroke-opacity:.35}
[data-theme=light] .site-header.scrolled{background:#efeadaf2}
[data-theme=light] .theme-switch{background:#faf7ee99}
[data-theme=light] .theme-switch button[aria-pressed=true]{background:#214f3e;color:#fff9ed}
[data-theme=light] .nav-contact,[data-theme=light] .round-link>span{border-color:var(--line)}
[data-theme=light] .hero h1>span{color:var(--accent)}
[data-theme=light] .hero .status-dot{background:#9a481e;box-shadow:0 0 0 5px #9a481e12}
[data-theme=light] .partners-feature .partner-card{background:#faf7ee8c;border-color:var(--line)}
[data-theme=light] .partners-feature .partner-card.is-spotlight{background:#faf7eee6;border-color:#a9542480;box-shadow:0 12px 45px -28px #77583250}
[data-theme=light] .partner-connection{background:linear-gradient(90deg,transparent,#a9542460 15%,#a9542460 85%,transparent)}
[data-theme=light] .partner-connection>span{background:var(--accent);box-shadow:0 0 14px #a9542444}
[data-theme=light] .partners-feature .partner-indicators button.active{background:var(--ink);color:#fff9ed;border-color:var(--ink)}
[data-theme=light] .expertise-visual,[data-theme=light] .material-detail{background:linear-gradient(145deg,#faf7eebf,#e6e2ce99);border-color:var(--line)}
[data-theme=light] .geometry-grid{background-image:linear-gradient(#214f3e11 1px,transparent 1px),linear-gradient(90deg,#214f3e11 1px,transparent 1px)}
[data-theme=light] .geometry-axis{background:#214f3e2b}
[data-theme=light] .geometry-visual[data-stage="2"] .form-arch:before{background:linear-gradient(110deg,#456747,#9cb28a 40%,#eeeada)}
[data-theme=light] .material-buttons button{background:#faf7ee99;border-color:var(--line)}
[data-theme=light] .material-buttons button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff9ed}
[data-theme=light] .printer-card,[data-theme=light] .project-visual,[data-theme=light] .founder-profile{background:#faf7ee8c;border-color:var(--line)}
[data-theme=light] .printer-card>img{background:#e9e5d8}
[data-theme=light] .project-tabs button[aria-selected=true]{background:#faf7eea6}
[data-theme=light] .memoria-model{background:linear-gradient(145deg,#faf8f0b0,#ebe7d690)}
[data-theme=light] .relief-controls button{background:#faf7ee99;border-color:var(--line);color:var(--ink)}
[data-theme=light] .relief-controls button:hover{background:#e0e4cf}
[data-theme=light] .project-visual.gxcel-visual{background:#122b3a;border-color:#23404b}
[data-theme=light] .gxcel-visual figcaption{color:#c2d8ce}
[data-theme=light] .button-dark{background:var(--ink);color:#fff9ed;border-color:var(--ink)}
[data-theme=light] .button-dark:hover{background:#34654c;color:#fff9ed}
[data-theme=light] .audience-card{background:#faf7ee8c;border-color:var(--line);box-shadow:none}
[data-theme=light] .audience-card[aria-pressed=true]{background:#faf7eee6;border-color:var(--ink);box-shadow:inset 0 3px var(--ink)}
[data-theme=light] .contact-form{background:#faf7ee;border-color:#7e9277;box-shadow:0 30px 65px -40px #214f3e33}
[data-theme=light] .form-heading>.eyebrow{color:var(--accent)}
[data-theme=light] .contact-form input:not([type=hidden]),[data-theme=light] .contact-form select,[data-theme=light] .contact-form textarea{background:#fffdf7;border-color:#81917a;color:#214f3e}
[data-theme=light] .contact-form input::placeholder,[data-theme=light] .contact-form textarea::placeholder{color:#62715c}
[data-theme=light] .contact-form input:focus,[data-theme=light] .contact-form select:focus,[data-theme=light] .contact-form textarea:focus{outline-color:#214f3e;border-color:#214f3e}
[data-theme=light] .contact-form .form-note{color:var(--body)}
[data-theme=light] .project-dialog{background:#f5f0e3;border-color:var(--line);color:var(--ink)}
[data-theme=light] .dialog-close{background:#faf7ee;color:var(--ink)}
[data-theme=light] ::selection{background:#214f3e;color:#fff9ed}
@media(max-width:1240px){.navigation{display:none;position:absolute;top:100%;left:0;right:0;background:#0d1e34;padding:25px var(--page-pad) 30px;flex-direction:column;align-items:start;gap:21px;border-bottom:1px solid var(--line);font-size:15px;box-shadow:0 12px 20px #0002}.navigation.open{display:flex}.menu-toggle{display:flex}[data-theme=light] .navigation{background:#efeadafa}}
@media(max-width:520px){.site-header{gap:10px}.header-tools{gap:8px}.theme-switch{padding:3px}.theme-switch button{width:36px;height:38px;padding:0;min-height:38px}.theme-switch svg{width:17px;height:17px}.theme-switch button>span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.theme-switch button{position:relative}.brand{gap:10px}.brand-name{font-size:15px}.brand-name>span{font-size:8px}.brand-name .brand-origin{display:none}.brand-mark{width:43px;height:43px}.menu-toggle{width:32px;padding:7px}.legal-back{display:none}}
@media(max-width:360px){.site-header{gap:6px}.header-tools{gap:4px}.brand{gap:7px}.brand-name{font-size:13px}.brand-mark{width:38px;height:38px}.theme-switch button{width:31px;height:36px;min-height:36px}.theme-switch svg{width:15px;height:15px}.menu-toggle{width:29px;padding:6px}}

/* Cool materials, lighting and shadows for illustrations in the night theme. */
[data-theme=dark] .geo-cube i{border-color:#91b5de99}
[data-theme=dark] .cube-front{background:linear-gradient(135deg,#b2cde7bf,#4d7babba)}
[data-theme=dark] .cube-top{background:#c1d8edc9}
[data-theme=dark] .cube-side{background:#315b86b3}
[data-theme=dark] .geo-sphere{background:radial-gradient(circle at 27% 22%,#e6f2ff,#8eb4d8 43%,#355c88 80%);box-shadow:12px 17px 25px -21px #020b17}
[data-theme=dark] .geo-ring{border-color:#426d9b;border-top-color:#b0cfea;border-left-color:#7fa6cc;box-shadow:10px 13px 25px -18px #020b17}
[data-theme=dark] .form-arch{background:repeating-linear-gradient(0deg,transparent 0 3px,#d0e4fb38 3px 4px),linear-gradient(100deg,#b6cfe7,#6996c0 35%,#254b76 70%,#88afd2);box-shadow:18px 24px 35px -26px #000b}
[data-theme=dark] .geometry-visual .form-arch:before{background:linear-gradient(110deg,#183957,#6893ba 40%,#142c46);box-shadow:inset -4px -3px 10px #b7dbff33}
[data-theme=dark] .form-arch:after{background:repeating-linear-gradient(0deg,transparent 0 3px,#c8e2fc2e 3px 4px)}
[data-theme=dark] .object-base{background:linear-gradient(180deg,#adc9e3,#416e9b);box-shadow:0 19px 23px -11px #020b17b3}
[data-theme=dark] .object-phone{background:linear-gradient(100deg,#728ba5,#253c57 35%,#0a192b);box-shadow:8px 12px 18px -7px #020b17a6}
[data-theme=dark] .object-phone:before,[data-theme=dark] .geometry-visual[data-stage="2"] .object-phone:before{background:linear-gradient(145deg,#badbf1,#589dc8 48%,#244f7c)}
[data-theme=dark] .object-phone:after{background:#122943}
[data-theme=dark] .object-phone>span{border-color:#d3edff99;background:#d3edff18}
[data-theme=dark] .object-phone>span:before,[data-theme=dark] .object-phone>span:after{background:#e5f4ff99}
[data-theme=dark] .geometry-visual[data-stage="2"] .object-phone>span:before{border-color:#e5f4ff;background:none}
[data-theme=dark] .object-phone>i{background:#e5f4ff99}
[data-theme=dark] .phone-time,[data-theme=dark] .phone-state{color:#f3faff}
[data-theme=dark] .usage-notebook{background:repeating-linear-gradient(0deg,#8eabc6 0 7px,#4d7091 7px 8px);border-color:#6b8baa;box-shadow:4px 5px 2px #385975,5px 7px 8px #020b17aa}
[data-theme=dark] .usage-notebook:before{border-color:#315271}
[data-theme=dark] .usage-notebook>i{background:#22496c}
[data-theme=dark] .usage-pen{background:linear-gradient(90deg,#c4ddf2,#557ca4)}
[data-theme=dark] .usage-pen:after{border-top-color:#9dc2df}
[data-theme=dark] .usage-tap{border-color:#c0e5ff}
[data-theme=dark] .material-sample>span,[data-theme=dark] .material-sample>i,[data-theme=dark] .material-sample>b{background:repeating-linear-gradient(0deg,transparent 0 3px,#dcedff38 3px 4px),linear-gradient(110deg,var(--sample-light),var(--sample-color));box-shadow:7px 13px 0 -5px var(--sample-color),9px 20px 23px -12px #0008}
[data-theme=dark] .printer-card>img{background:radial-gradient(ellipse at 50% 62%,#2b527540,transparent 67%);filter:drop-shadow(0 14px 12px #020b1738)}
[data-theme=dark] .relief-ground{background:#020b1799}
[data-theme=dark] .relief-backup{filter:drop-shadow(0 12px 14px #020b1744)}
