.theme-toggle{width:36px;height:36px;flex:0 0 36px;display:inline-grid;place-items:center;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer;padding:0}.theme-toggle:focus-visible{outline:3px solid #ff7349;outline-offset:4px}.project-nav .theme-toggle{margin-left:6px}.theme-dark{background:#0051ff;color:#fff;color-scheme:dark}.theme-dark body{background:#0051ff;color:#fff}.theme-dark .stage,.theme-dark body.reduced .stage{background:#0051ff!important;color:#fff}.theme-dark .sculpture-fallback{filter:url('#wais-invert')}.theme-dark .nav,.theme-dark .nav.light{background:rgba(0,81,255,.95);color:#fff;border-color:#ffffff30}.theme-dark .nav img{filter:brightness(0) invert(1)}.theme-dark .project-stage{color:#fff}.theme-dark body.reduced .project-stage{background:#0051ff}.theme-dark .project-card{background:#0051ff;border-color:#ffffff50;box-shadow:0 12px 35px #001b6655;color:#fff}.theme-dark .card-info p,.theme-dark .card-info>span{color:#e6ecff}.theme-dark .controls button{border-color:#ffffff70}.theme-dark .controls button:hover{background:#fff;color:#0051ff}.theme-dark .card-number,.theme-dark .card-open{background:#fff;color:#0051ff}.theme-dark .curve-fill{stroke:#fff}.theme-dark .curve-track{stroke:#ffffff35}.theme-dark .profile,.theme-dark .contact{background:#fff;color:#0051ff}.theme-dark .profile h2,.theme-dark .profile .bio .lead,.theme-dark .profile .text-link,.theme-dark .profile .traits{color:#0051ff}.theme-dark .profile .traits{border-color:#0051ff40}.theme-dark .contact-links,.theme-dark .contact footer{border-color:#0051ff40}.theme-dark .contact footer img{filter:none}.theme-dark .reviews{background:#0051ff;color:#fff}.theme-dark .reviews-intro>p{color:#e1eaff}.theme-dark .review-card{background:#0051ff;border-color:#ffffff60}.theme-dark .review-top,.theme-dark .review-card figcaption{color:#fff}.theme-dark .review-card figcaption span{color:#dce6ff}.theme-dark .sample-label{border-color:#ffffff70}.theme-dark .text-link:hover{color:inherit;opacity:.8}.theme-dark .skip{background:#fff;color:#0051ff}
/* Case-study pages swap their blue field for white. Photos retain their colors. */
.theme-dark body[data-project]{background:#fff;color:#0051ff}.theme-dark body[data-project] .project-nav{background:#fff9;border-color:#0051ff30;box-shadow:0 12px 35px #0051ff0a}.theme-dark body[data-project] .brand img,.theme-dark body[data-project] footer img{filter:none}.theme-dark body[data-project] .back,.theme-dark body[data-project] .project-meta{color:#0051ff}.theme-dark body[data-project] .mosaic{background:#0051ff0d;border-color:#0051ff50}.theme-dark body[data-project] .image-slot{color:#0051ff;background:#0051ff0c;border-color:#0051ff30}.theme-dark body[data-project] .detail-gallery .image-slot{background:linear-gradient(140deg,#0051ff15,#0051ff05)}.theme-dark body[data-project] .kind,.theme-dark body[data-project] .story-details p{color:#315bbc}.theme-dark body[data-project] .project-story,.theme-dark body[data-project] .project-pagination,.theme-dark body[data-project] footer{border-color:#0051ff40}.theme-dark body[data-project] a:focus-visible{outline-color:#0051ff}
@media(max-width:700px){.theme-toggle{width:30px;height:30px;flex-basis:30px;font-size:20px}.project-nav{flex-wrap:wrap}.project-nav h1{flex:1}.project-nav .theme-toggle{margin-left:0}.project-nav .back{font-size:18px}}
/* A visible, gentle color curtain; no snapshot API or image loading required. */
.theme-wipe{position:fixed;top:0;left:-20vw;width:140vw;height:100vh;height:100dvh;z-index:2147483000;pointer-events:none;background:var(--wipe-color);box-shadow:0 0 55px 35px var(--wipe-color);will-change:transform,opacity}
