/* Default dark palette with a visitor-controlled light theme. */
:root{color-scheme:light}
.header-actions{display:flex;align-items:center;gap:12px}
.theme-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #c3c9bb;border-radius:50%;background:transparent;color:var(--ink);transition:background .25s,border-color .25s,transform .25s}
.theme-toggle:hover{background:#e8ecdd;border-color:#8c9b77;transform:rotate(12deg)}
.theme-toggle svg{grid-area:1/1}
.theme-moon{display:block}.theme-sun{display:none}
html[data-theme=dark]{color-scheme:dark;--paper:#141713;--ink:#e8ecdf;--muted:#a6af9e;--line:#32392e;--accent:#bed29f}
html[data-theme=dark] .theme-sun{display:block}html[data-theme=dark] .theme-moon{display:none}
html[data-theme=dark] body{background:#141713}
html[data-theme=dark] .hero h1 em,html[data-theme=dark] .contact h2 em{color:#bed29f}
html[data-theme=dark] .hero-intro{color:#b0b9a7}
html[data-theme=dark] .theme-toggle{border-color:#3d4835;color:#d8e3c9;background:#1b2118}
html[data-theme=dark] .theme-toggle:hover{border-color:#859c66;background:#2b3622}
html[data-theme=dark] .nav-contact{border-color:#46523d;color:#e3ead8}
html[data-theme=dark] .nav-contact:hover{background:#2a3522;border-color:#8caa6c}
html[data-theme=dark] .button-dark{background:#c3d5a8;color:#192013}
html[data-theme=dark] .button-dark:hover{background:#d7e5c2}
html[data-theme=dark] .button-linkedin{background:#263420;color:#e7eddd;border:1px solid #495d38}
html[data-theme=dark] .button-linkedin:hover{background:#374a2b}
html[data-theme=dark] .text-link{border-color:#5d704d}
html[data-theme=dark] .status-dot{background:#b4ce8c;box-shadow:0 0 15px #a7ca7133}
html[data-theme=dark] .floating-photo{background:#fff;color:#252a24;box-shadow:0 15px 40px #0006;border:1px solid #e2e4d9}
html[data-theme=dark] .hero-visual .portrait-frame{background:#232c1e;box-shadow:0 25px 75px #0003}
html[data-theme=dark] .visual-coordinate,html[data-theme=dark] .portrait-caption{color:#d5ddc9}
html[data-theme=dark] .section-label,html[data-theme=dark] .little-star{color:#a7b78d}
html[data-theme=dark] .milestones>div>span{color:#a4af98}
html[data-theme=dark] .milestones strong{color:#e4ebd8}
html[data-theme=dark] .venture-meta,html[data-theme=dark] .venture-small .venture-meta{color:#a3b193}
html[data-theme=dark] .company-symbol:before{background:#a1b68c}
html[data-theme=dark] .venture{--brand-ink:#8edea6}
html[data-theme=dark] .venture-small:has(.symbol-codezen){--brand-ink:#fa8d8d}
html[data-theme=dark] .venture-small:has(.symbol-amarpet){--brand-ink:#c1d58c}
html[data-theme=dark] .venture-small:has(.symbol-innovationkit){--brand-ink:#b7dc87}
html[data-theme=dark] .venture-small:has(.symbol-robodoc){--brand-ink:#8edea6}
html[data-theme=dark] .venture-small{background:#191e16;border-color:#343d2d}
html[data-theme=dark] .venture-small:hover,html[data-theme=dark] .venture-small:focus-within{background:#222b1b;border-color:#566c40}
html[data-theme=dark] .motion-enhanced .venture-small:before{background:radial-gradient(340px circle at var(--light-x,50%) var(--light-y,50%),#9ab76a12,transparent 75%)}
html[data-theme=dark] .tags>span{color:#c0cbb1;border-color:#46523c}
html[data-theme=dark] .recognition>a{border-color:#46543a}
html[data-theme=dark] .recognition small{color:#a4af98}
html[data-theme=dark] .recognition a>span{color:#b4c59c}
html[data-theme=dark] .product-demo{border:1px solid #45583b;background-color:#1c3028;box-shadow:0 18px 60px #0003}
html[data-theme=dark] .photography{background:#20291c;color:#e8ecdf;border-block:1px solid #35422c}
html[data-theme=dark] .story-meta{color:#a6b597}
html[data-theme=dark] .story-image{background:#252f1d}
html[data-theme=dark] .x-feed-status,html[data-theme=dark] .x-post-top,html[data-theme=dark] .x-post-footer{color:#a9bc96}
html[data-theme=dark] .x-post{background:#1a2116;border-color:#37442d}
html[data-theme=dark] .x-post:hover{background:#25311e;border-color:#576f40}
html[data-theme=dark] .x-post-symbol{color:#e0ead5}
html[data-theme=dark] .x-feed-note a{border-color:#70845b}
html[data-theme=dark] .contact{background:#20291c;border-block:1px solid #36432e}
html[data-theme=dark] .contact-intro>p,html[data-theme=dark] .direct-emails{color:#b2bea5}
html[data-theme=dark] .contact-form{background:#171e13;border-color:#415135;box-shadow:0 20px 70px #0002}
html[data-theme=dark] .form-eyebrow{color:#afc19a}
html[data-theme=dark] .form-field input,html[data-theme=dark] .form-field textarea{border-color:#4a583e;color:#e7eddd}
html[data-theme=dark] .form-field input:focus,html[data-theme=dark] .form-field textarea:focus{border-color:#b5d190;box-shadow:0 1px 0 #b5d190}
html[data-theme=dark] .form-field input::placeholder,html[data-theme=dark] .form-field textarea::placeholder{color:#98a58b}
html[data-theme=dark] .optional-label,html[data-theme=dark] .form-submit-row>p{color:#a8b69b}
html[data-theme=dark] .form-status{color:#c5dda9;border-color:#3b4c2f}
html[data-theme=dark] .form-status.error{color:#efaf93}
html[data-theme=dark] .footer-bottom{color:#a5b097}
html[data-theme=dark] .dialog-close,html[data-theme=dark] .dialog-footer>button{color:#e7eddd}
html[data-theme=dark] .skip{background:#c3d5a8;color:#192013}
html[data-theme=dark] :focus-visible{outline-color:#bad594}
html[data-theme=dark] ::selection{background:#adc78a;color:#131b0e}
@media(max-width:1100px) and (min-width:901px){.header{gap:18px}.desktop-nav{gap:17px}.header-actions{gap:9px}.nav-contact{gap:14px;padding-inline:17px}}
@media(max-width:900px){.header{gap:8px}.header-actions{gap:4px;margin-left:auto}.theme-toggle{width:44px;height:44px;flex-basis:44px}.header .menu-toggle{flex-basis:44px;width:44px}.header .wordmark{font-size:clamp(16px,4.5vw,21px)}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}.theme-toggle:hover{transform:none}}
