:root{color-scheme:dark;--bg:#131116;--panel:#1b1820;--text:#efedf3;--muted:#9c94a6;--line:#342d3e;--accent:#c5a3f5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}a,button{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:6px}::selection{background:var(--accent);color:var(--bg)}header,main,footer{max-width:1280px;margin:auto}header{height:110px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:30px}header .brand{display:flex;align-items:center;gap:18px;font-size:11px;letter-spacing:1.7px;font-weight:700}.monogram{font-size:33px;letter-spacing:-4px!important}.monogram span{color:var(--accent)}nav{display:flex;gap:36px;height:100%;align-items:center}nav a{font-size:14px;color:var(--muted);height:100%;display:flex;align-items:center;position:relative}nav a:hover,nav a[aria-current]{color:var(--text)}nav a[aria-current]:after{content:'';height:2px;background:var(--accent);position:absolute;bottom:-1px;left:0;right:0}.header-cta{font-size:13px;border:1px solid #50435f;padding:12px 17px;border-radius:5px}.header-cta span{margin-left:25px;color:var(--accent)}.hero{padding:82px 0 0}.eyebrow{font-family:monospace;font-size:11px;letter-spacing:1.7px;line-height:1.8;color:var(--muted);display:flex;align-items:center;gap:10px}.dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:var(--accent);box-shadow:0 0 13px #c5a3f525}h1,h2,h3,p{margin:0}h1{font-weight:500;font-size:clamp(48px,6.4vw,86px);line-height:1.08;letter-spacing:-4px;margin:25px 0 30px}h1 span,h2>span{color:var(--accent)}.hero-bottom{display:flex;align-items:end;justify-content:space-between;gap:50px}.hero-bottom p{color:#aaa1b4;line-height:1.8;max-width:510px;font-size:17px}.button{display:flex;justify-content:space-between;gap:48px;padding:18px 22px;border-radius:4px;background:var(--accent);color:#21142f;font-size:14px;font-weight:600;transition:background .2s}.button:hover{background:#ddc5ff}.hero-foot{display:flex;justify-content:space-between;gap:20px;margin-top:64px;padding:25px 0;border-top:1px solid var(--line);font:10px monospace;letter-spacing:1.4px;color:var(--muted)}.scroll-label{color:#786b85}.projects-section{padding:78px 0}.section-head{display:flex;justify-content:space-between;align-items:end}h2{font-size:37px;font-weight:500;letter-spacing:-1.3px;line-height:1.2}.section-head h2{margin-top:14px}.count{font:10px monospace;letter-spacing:1.4px;color:var(--muted);padding-bottom:4px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:31px 0}.filters button{border:1px solid var(--line);border-radius:5px;background:transparent;color:#a89cb4;font-size:12px;padding:10px 16px;cursor:pointer}.filters button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#251635}.filters button:hover{border-color:var(--accent)}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px 28px}.project-card{display:block;min-width:0}.project-card[hidden]{display:none}.project-art{position:relative;border-radius:7px;overflow:hidden;background-color:#201927;background-image:radial-gradient(ellipse at 60% 50%,#b684d20b,transparent 70%),linear-gradient(#9562b30d 1px,transparent 1px),linear-gradient(90deg,#9562b30d 1px,transparent 1px);background-size:auto,28px 28px,28px 28px;border:1px solid #40314e;aspect-ratio:2.12;display:flex;align-items:center;justify-content:center;transition:border-color .2s}.project-art.terrain{background-color:#191e20;border-color:#30383c}.project-art.network{background-color:#1c1b20;border-color:#35313e}.project-art.memory{background-color:#201e18;border-color:#3c382c}.project-art svg{width:100%;height:100%;transition:transform .3s}.project-card:hover svg{transform:scale(1.04)}.project-card:hover .project-art{border-color:var(--accent)}.art-index{position:absolute;top:19px;left:20px;font:9px monospace;letter-spacing:1.7px;color:#93809f}.art-arrow{position:absolute;bottom:16px;right:19px;color:var(--accent);font-size:21px}.wires{fill:none;stroke:#9471b5;stroke-width:1.3}.gates rect{fill:#382448;stroke:#ba94df;stroke-width:1}.gates text{fill:#e5d2f7;text-anchor:middle;font:14px monospace}.nodes{fill:#c5a3f5;stroke:#c5a3f5}.terrain polyline{fill:none;stroke:#839fba;stroke-width:1;opacity:.7}.network .gates rect{fill:#30283d;stroke:#9f88bb}.network .gates text{fill:#cab6e0}.network .wires{stroke:#9f88bb}.memory .gates rect{fill:#493e26;stroke:#beac7a}.memory .wires{stroke:#beac7a}.card-meta{display:flex;justify-content:space-between;color:var(--muted);font:9px monospace;letter-spacing:1.2px;margin:22px 0 12px}h3{font-size:24px;font-weight:500;letter-spacing:-.7px;display:flex;justify-content:space-between}h3 span{font-size:18px;color:#afa0ba}.project-card p{margin:11px 0 19px;color:var(--muted);font-size:14px;line-height:1.7;max-width:440px}.tags{display:flex;gap:7px;flex-wrap:wrap}.tags span{font:10px monospace;border:1px solid var(--line);padding:5px 8px;border-radius:3px;color:#b1a1bd}.about{border-top:1px solid var(--line);padding:64px 0;display:grid;grid-template-columns:1fr 1.5fr;gap:60px}.about>.eyebrow{align-self:start}.about p{line-height:1.9;color:var(--muted);margin-top:24px;max-width:570px;font-size:15px}.text-link{display:inline-block;margin-top:28px;color:var(--accent);font-size:14px}.closing{border-top:1px solid var(--line);padding:65px 0 80px}.closing>a{display:block;font-size:49px;letter-spacing:-2px;line-height:1.2;margin-top:24px}.closing>a span{color:var(--accent)}footer{padding:27px 0 35px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:25px;color:var(--muted);font-size:10px;line-height:1.8}footer .brand{color:var(--text)}.muted{color:var(--muted)}.page-head,.detail-head{padding:78px 0 55px}.lead{font-size:19px;color:var(--muted);line-height:1.8;max-width:760px}.back{display:inline-block;font-size:13px;color:var(--muted);margin-bottom:45px}.detail-head h1{max-width:1000px;font-size:68px}.detail-facts{display:flex;gap:90px;border-top:1px solid var(--line);padding-top:25px;margin-top:40px;font-size:14px}.detail-facts small,.next-project small{display:block;font:10px monospace;color:var(--muted);letter-spacing:1.5px;margin-bottom:12px}.detail-art{aspect-ratio:3.5}.detail-art svg{max-width:850px}.article{max-width:740px;margin:65px auto 90px}.article section{margin-bottom:42px}.article h2{font-size:28px;margin-bottom:18px}.article p{font-size:17px;line-height:1.95;color:#b0a3bc}.next-project{border-top:1px solid var(--line);display:block;padding:38px 0 65px}.next-project>span{font-size:32px}.blog-list{margin:5px 0 100px}.blog-row{padding:38px 0;display:grid;grid-template-columns:75px 1fr 60px;gap:20px;border-top:1px solid var(--line)}.blog-no{font:12px monospace;color:var(--muted);padding-top:6px}.blog-row h2{font-size:29px;letter-spacing:-.7px;margin:13px 0}.blog-row p{color:var(--muted);line-height:1.8;font-size:15px}.blog-arrow{font-size:28px;color:var(--accent);align-self:center;text-align:right}.draft{font-size:9px;color:#b9a8ca;border:1px solid var(--line);padding:2px 6px;letter-spacing:.5px}.contact-layout{display:grid;grid-template-columns:1fr 1.5fr;gap:50px;padding:20px 0 110px}.contact-layout h2{font-size:27px;margin:12px 0}.contact-layout p{line-height:1.9;font-size:14px}.contact-row{display:flex;justify-content:space-between;gap:25px;padding:27px 0;border-top:1px solid var(--line);font-size:17px}.contact-row span:last-child{color:var(--accent);font-size:14px}.contact-row.pending span:last-child{color:var(--muted)}.skip{position:fixed;top:-100px;left:20px;padding:15px;background:var(--accent);color:#111;z-index:5}.skip:focus{top:10px}@media(min-width:1500px){header,main,footer{max-width:1280px}}@media(max-width:1390px){header,main,footer{margin-left:6%;margin-right:6%}}@media(max-width:800px){header{height:88px}header .brand>span:last-child{display:none}.header-cta{display:none}nav{gap:25px}h1{letter-spacing:-2.6px}.hero{padding-top:55px}.hero-bottom{align-items:start;flex-direction:column;gap:26px}.hero-foot{margin-top:40px;flex-wrap:wrap;line-height:1.8}.scroll-label{display:none}.projects-section{padding-top:50px}.project-grid{gap:40px 20px}h3{font-size:20px}.card-meta{font-size:8px;letter-spacing:.5px}.about{gap:30px;grid-template-columns:1fr}.closing>a{font-size:38px}footer{flex-wrap:wrap}footer>span{display:none}.detail-head h1{font-size:49px}.contact-layout{grid-template-columns:1fr}.detail-art{aspect-ratio:2.4}}@media(max-width:540px){.project-grid{grid-template-columns:1fr}.hero h1{font-size:47px}.eyebrow{font-size:9px;letter-spacing:1px}.hero-foot span:nth-child(2){font-size:9px}.section-head h2{font-size:30px}.count{display:none}.filters{gap:7px}.filters button{font-size:10px;padding:9px 11px}.about h2{font-size:31px}.closing>a{font-size:33px}.lead{font-size:17px}.page-head{padding-top:50px}.detail-head h1{font-size:42px}.detail-facts{flex-direction:column;gap:22px}.blog-row{grid-template-columns:1fr 25px;gap:12px}.blog-no{display:none}.blog-row h2{font-size:25px}.article p{font-size:16px}.contact-row{font-size:16px}.contact-row span:last-child{font-size:12px}.art-index{font-size:8px}.next-project>span{font-size:25px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Project repository and code examples */
.project-source{margin-top:50px;min-width:0}.source-panel{border:1px solid #49365c;border-radius:8px;background:#1c1723;padding:26px;margin-bottom:42px}.source-panel h2{margin:12px 0 22px}.source-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.repo-button,.copy-button{font:12px Arial,Helvetica,sans-serif;border-radius:4px;padding:11px 15px;cursor:pointer;line-height:1.4}.repo-button{background:var(--accent);color:#21142f;border:1px solid var(--accent);font-weight:600}.copy-button{color:#e1c9ff;background:#2b2038;border:1px solid #594170}.copy-button:hover{background:#392b49;border-color:var(--accent)}.clone-command{font:12px/1.8 monospace;color:#d8bdf7;margin:20px 0 0;overflow:auto;padding:14px;background:#141018;border-radius:4px;white-space:pre}.clone-command code{font:inherit}.article .source-pending{font-size:14px}.article .code-description{font-size:15px;margin-bottom:20px}.code-frame{border:1px solid #443450;border-radius:8px;overflow:hidden;background:#141117}.code-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 18px;background:#211a2a;border-bottom:1px solid #443450}.code-meta{display:flex;align-items:center;gap:14px;font:12px monospace;min-width:0}.code-meta>span:first-child{overflow-wrap:anywhere}.code-language{font-size:10px;color:#b09bc5}.code-toolbar .copy-button{padding:7px 11px;flex-shrink:0}.code-content{margin:0;padding:24px;overflow:auto;white-space:pre;tab-size:4;color:#dfc8fa;font:13px/1.85 'SFMono-Regular',Consolas,'Liberation Mono',monospace}.code-content code{font:inherit}.article .copy-status{font-size:12px;color:var(--accent);min-height:24px;margin-top:12px}.code-content:focus-visible,.clone-command:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}@media(max-width:540px){.source-panel{padding:19px}.code-content{padding:17px;font-size:12px}.code-toolbar{padding:11px}.code-meta{gap:7px;font-size:11px}}
.project-art.planet,.project-art.particles,.project-art.language,.project-art.pipeline,.project-art.raycast{background-color:#201927;border-color:#443450}.source-actions{margin-top:18px}[hidden]{display:none!important}
/* About and tutorials */
header nav{gap:25px}.about-story{display:grid;grid-template-columns:1fr 2fr;gap:85px;padding:10px 0 85px}.about-aside{border-top:1px solid var(--line);padding-top:25px}.about-aside dl{margin:25px 0}.about-aside dt{font:10px monospace;text-transform:uppercase;letter-spacing:1.4px;color:var(--muted);margin-top:23px}.about-aside dd{margin:9px 0;font-size:15px;line-height:1.7}.about-copy h2{font-size:30px;margin-bottom:22px}.about-copy h2:not(:first-child){margin-top:44px}.about-copy p{font-size:17px;line-height:1.95;color:#b0a3bc;margin-bottom:20px}.about-links{display:flex;align-items:center;gap:25px;margin-top:35px}.about-links .text-link{margin-top:0}.tutorial-meta{font:11px/1.8 monospace;letter-spacing:.6px;color:#b49cca;margin-top:18px}.tutorial-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:65px;align-items:start}.tutorial-toc{position:sticky;top:30px;border-top:1px solid var(--line);padding-top:25px}.tutorial-toc ol{list-style:none;padding:0;margin:20px 0}.tutorial-toc li{margin:15px 0;font-size:13px;line-height:1.6;color:var(--muted)}.tutorial-toc a:hover{color:var(--accent)}.tutorial-article{margin:0 0 55px;width:100%;max-width:none;min-width:0}.tutorial-article p{margin-bottom:20px}.tutorial-article ul{color:#b0a3bc;font-size:16px;line-height:1.9;padding-left:22px}.tutorial-article li{margin-bottom:10px}.tutorial-code{margin-top:23px}.tutorial-article .copy-status{margin-bottom:0}@media(max-width:1100px){header .brand>span:last-child{display:none}header nav{gap:24px}}@media(max-width:800px){.about-story{grid-template-columns:1fr;gap:35px}.about-aside dl{display:grid;grid-template-columns:120px 1fr;align-items:baseline}.about-aside dt{margin-top:12px}.tutorial-layout{grid-template-columns:1fr;gap:30px}.tutorial-toc{position:static}.tutorial-toc ol{display:flex;flex-wrap:wrap;gap:10px 24px}.tutorial-toc li{margin:0}.tutorial-article h2{font-size:26px}}@media(max-width:540px){header{height:auto;min-height:100px;flex-wrap:wrap;gap:5px;padding:14px 0 0}header .brand{height:35px}header nav{order:2;width:100%;height:43px;gap:0;justify-content:space-between}header nav a{font-size:12px}header .monogram{font-size:27px}.about-copy p{font-size:16px}.about-links{gap:15px;flex-wrap:wrap}}
