:root,[data-theme="light"]{--paper:#f7f5fa;--ink:#26212f;--muted:#716979;--blue:#7843bb;--line:#e1dce7;--soft:#eeebf3;--surface:#fff;--project-bg:#e4deeb;color-scheme:light}
[data-theme="dark"]{--paper:#17141d;--ink:#ece7f3;--muted:#b4aabd;--blue:#bd91f3;--line:#383040;--soft:#211c29;--surface:#292331;--project-bg:#30273d;color-scheme:dark}
body{background:var(--paper);color:var(--ink)}a:hover{color:var(--blue)}.header{gap:20px}.header-contact{border-color:var(--line)}.header nav{gap:25px}.theme-label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.theme-label select{font:inherit;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:9px 12px;max-width:145px}.theme-label select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.hero .intro{color:var(--muted)}.button{background:#7743b4;color:white}.button:hover{background:#8d55c9;color:white}.hero h1{font-size:clamp(48px,5.4vw,79px)}.art-footer{color:var(--muted)}.proof b,.proof .star{color:var(--ink)}.proof>a,.proof span{color:var(--muted)}.project-visual,.project-wide .project-visual{background:linear-gradient(135deg,var(--soft),var(--project-bg));box-shadow:inset 0 1px 0 #ffffff12,0 20px 45px #150d2214}.project-visual.rowan,.project-visual.diving{background:linear-gradient(135deg,var(--soft),var(--project-bg))}.open-project{background:var(--surface);color:var(--ink)}.services{background:var(--soft)}.service-list article{border-color:var(--line)}.service-list p,.tags span,.services-intro>p:last-child{color:var(--muted)}.contact{background:var(--soft);color:var(--ink);border:1px solid var(--line);box-shadow:0 20px 55px #13091d0a}.contact .intro,.contact p:not(.intro){color:var(--muted)}.contact .button{background:#7743b4;color:white}.contact .button:hover{background:#8d55c9}.contact h2 span{color:var(--ink)}.skip{background:var(--surface)}footer{flex-wrap:wrap;align-items:center}footer .legal-links{display:flex;gap:18px;flex-wrap:wrap;width:100%;padding-top:15px;border-top:1px solid var(--line)}footer button{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer}footer a:hover,footer button:hover{color:var(--blue)}.cookie-panel{position:fixed;z-index:20;bottom:22px;left:22px;width:min(455px,calc(100% - 44px));background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 50px #10092230;padding:23px}.cookie-panel[hidden]{display:none}.cookie-panel h2{font-size:18px;letter-spacing:-.3px}.cookie-panel p{font-size:12px;line-height:1.7;color:var(--muted);margin:12px 0 18px}.cookie-panel a{text-decoration:underline;text-underline-offset:3px}.cookie-actions{display:flex;gap:10px}.cookie-actions button{cursor:pointer;border:1px solid var(--line);border-radius:25px;background:var(--surface);color:var(--ink);padding:11px 15px;font:600 11px Manrope,Arial,sans-serif}.cookie-actions button:last-child{background:#7743b4;color:white;border-color:#7743b4}.cookie-actions button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.legal-page{max-width:850px;padding-block:55px 100px}.legal-page h1{font-size:45px;line-height:1.15;letter-spacing:-1.5px;font-weight:500}.legal-page h2{font-size:24px;margin:34px 0 15px;letter-spacing:-.6px}.legal-page p,.legal-page li{font-size:14px;color:var(--muted)}.legal-page a{color:var(--blue);text-decoration:underline}.legal-page .draft-notice{border:1px solid var(--line);padding:18px;border-radius:8px;background:var(--soft)}
.tools-section{padding-top:95px}.tool-list{display:grid;grid-template-columns:1fr 1fr;gap:28px}.tool-list>a{display:flex;align-items:center;gap:24px;padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.tool-list>a>span:last-child{margin-left:auto}.tool-list h3{font-size:19px}.tool-list p{font-size:12px;color:var(--muted);margin-bottom:0}.tool-symbol{font-size:24px;color:var(--blue);min-width:48px}.tool-list>a:hover{border-color:var(--blue)}
@media(max-width:760px){.tools-section{padding-top:55px}.tool-list{grid-template-columns:1fr;gap:15px}.tool-list>a{padding:20px;gap:16px}.tool-list h3{font-size:17px}.tool-symbol{min-width:35px}}
.services-layout>*{min-width:0}.services-intro h2{overflow-wrap:break-word}.about-person>div:last-child{min-width:0}
@media(max-width:400px){.services-intro h2{font-size:32px}.services-intro h2 br{display:initial}.hero h1{font-size:39px}.about h2{font-size:19px}.about-person{gap:14px}}
@media(max-width:1100px){.header nav{gap:16px}.header{gap:12px}.header-contact{padding:10px 12px}.theme-label>span{display:none}}
@media(max-width:760px){.header{flex-wrap:wrap;height:auto;min-height:82px;padding-block:17px;gap:12px}.header-contact{margin-left:auto}.theme-label{order:3;width:100%;justify-content:flex-end}.theme-label>span{display:inline}.theme-label select{padding:6px 10px}.hero h1{font-size:clamp(43px,10.6vw,72px)}.generative-art{height:300px}.cookie-panel{bottom:12px;left:12px;width:calc(100% - 24px);padding:18px}.cookie-panel p{font-size:11px}.cookie-actions button{flex:1;padding:12px 7px;font-size:10px}.legal-page h1{font-size:33px}.legal-page h2{font-size:23px}footer .legal-links{order:4}}

.theme-switch{display:flex;flex-shrink:0;gap:3px;padding:4px;border:1px solid var(--line);border-radius:30px;background:var(--soft)}
.theme-switch button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;transition:background .18s,color .18s,box-shadow .18s}
.theme-switch svg{width:18px;height:18px;pointer-events:none}
.theme-switch button:hover{color:var(--ink);background:var(--surface)}
.theme-switch button[aria-pressed="true"]{background:var(--surface);color:var(--blue);box-shadow:0 2px 6px #160d2110}
.theme-switch button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
footer>span{line-height:1.8}
@media(max-width:760px){.theme-switch{margin-left:auto}.header-contact{display:none}.header{flex-wrap:nowrap}.identity{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.theme-switch button{transition:none}}
