/* layout: one full-screen pixel field. the head turns in the middle, stars orbit at forehead height, a project opens in a frame made from the head's pixels */
:root{
  --bg:#0c0c0b; --ink:#ecebe5; --dim:#76756f; --star:#e00078; --paper:#ffffff; --pink:#161614; --pdim:#7a7972;
  --pixel:"bitcount-grid-single-circle","Silkscreen","Courier New",monospace;
  --display:"Geist",system-ui,-apple-system,"Segoe UI",sans-serif; --mono:"Geist Mono",ui-monospace,monospace;
  color-scheme:dark;
}
html,body{background:var(--bg);color:var(--ink);height:100%;margin:0;overflow:hidden}
body{font-family:var(--display)}
a{color:inherit;text-decoration:none}
html,body{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2222%22%20height%3D%2232%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%226%22%20y%3D%226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%224%22%20y%3D%228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%226%22%20y%3D%228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%224%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%226%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%228%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%224%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%226%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%228%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%224%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%226%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%228%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%224%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%226%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%228%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2216%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%224%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%226%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%228%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2216%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2218%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%224%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%226%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%228%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%224%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%228%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%228%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2216%22%20y%3D%2226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23ecebe5%22/%3E%3Crect%20x%3D%2216%22%20y%3D%2228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2230%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2230%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3C/svg%3E") 1 1, default}
a,button,.star,.tab>button,.pcmp{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2222%22%20height%3D%2232%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%226%22%20y%3D%226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%224%22%20y%3D%228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%226%22%20y%3D%228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%224%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%226%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%228%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2210%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%224%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%226%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%228%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%224%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%226%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%228%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%224%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%226%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%228%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2216%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%224%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%226%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%228%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2216%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2218%22%20y%3D%2218%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%224%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%226%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%228%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2220%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%224%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%228%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2222%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%222%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%228%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2224%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%220%22%20y%3D%2226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2216%22%20y%3D%2226%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%23e00078%22/%3E%3Crect%20x%3D%2216%22%20y%3D%2228%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2230%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2230%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%230c0c0b%22/%3E%3C/svg%3E") 1 1, pointer}
:focus-visible{outline:1px dashed var(--ink);outline-offset:4px}
#field{position:fixed;left:0;top:0;z-index:1;pointer-events:none;image-rendering:pixelated}
#pfield{position:fixed;left:0;top:0;z-index:0;pointer-events:none;image-rendering:pixelated}
.chrome{position:fixed;inset:0;z-index:4;pointer-events:none;
  padding-top:max(20px, env(safe-area-inset-top, 0px));padding-bottom:max(22px, env(safe-area-inset-bottom, 0px));
  padding-left:max(20px, env(safe-area-inset-left, 0px));padding-right:max(20px, env(safe-area-inset-right, 0px));
  display:flex;flex-direction:column;justify-content:space-between}
.top{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.name{font-family:var(--pixel);font-size:12px;letter-spacing:.06em}
.tabs{position:fixed;z-index:8;top:calc(max(20px, env(safe-area-inset-top, 0px)) + 30px);left:max(20px, env(safe-area-inset-left, 0px));
  width:max-content;max-width:calc(100vw - 40px);display:flex;flex-direction:row;flex-wrap:wrap;gap:0 2px;pointer-events:auto}
.tab{position:static}
.tab>button{font:inherit;font-family:var(--pixel);font-size:14px;letter-spacing:.06em;color:var(--dim);background:none;border:0;padding:4px 0;cursor:pointer;display:flex;align-items:center;gap:10px;width:100%;text-align:left}
.tab>button::before{content:"";width:8px;height:8px;background:var(--star);opacity:0;transition:opacity .15s}
.tab>button:hover,.tab>button:focus-visible,.tab>button[aria-expanded="true"]{color:var(--ink)}
.tab>button[aria-expanded="true"]::before,.tab>button:hover::before{opacity:1}
.tab>button .n{margin-left:auto;font-size:10px;color:var(--dim)}
.tab>button .chev{transition:transform .25s;opacity:.8;flex:none}
.tab.open>button .chev{transform:rotate(180deg)}
.tab>button{width:auto;padding:4px 14px 10px 0}
.tpanel{position:absolute;left:0;top:100%;width:min(380px, calc(100vw - 40px));display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.tab.open .tpanel{pointer-events:auto}
.tab.open .tpanel{grid-template-rows:1fr}
.tpanel>div{overflow:hidden;min-width:0}
.tin{padding:6px 0 14px 18px;font-size:13px;line-height:1.55;color:var(--ink);text-shadow:0 0 6px var(--bg),0 0 2px var(--bg)}
.tin p{margin:0 0 10px;max-width:38ch}
.tin .lbl{font-family:var(--mono);font-size:10px;letter-spacing:.08em;color:var(--dim);margin:12px 0 4px}
.tin ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.tin .row{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;font-size:13px}
.tin .row>span:first-child{font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:var(--dim);padding-top:3px}
.tin a{border-bottom:1px solid var(--dim)} .tin a:hover{color:var(--star);border-color:var(--star)}
.tin .work a{border:0;display:flex;gap:10px;align-items:baseline;font-size:15px}
.tin .work a span{font-family:var(--mono);font-size:10px;color:var(--dim)}
.tin .work a:hover{color:var(--star)}
.tin .mailrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tin a.send{border:1px solid var(--dim);display:inline-flex;align-items:center;justify-content:center;width:26px;height:22px;color:var(--ink)}
.tin a.send:hover{border-color:var(--star);color:var(--star)}
.tin button.copy{font-family:var(--mono);font-size:10px;letter-spacing:.06em;background:none;border:1px solid var(--dim);color:var(--dim);padding:2px 6px;cursor:pointer;margin-left:6px}
.tin button.copy:hover{color:var(--ink);border-color:var(--ink)}
.line{font-size:17px;margin:0;display:flex;align-items:baseline;gap:14px}
.clock{font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--dim);font-variant-numeric:tabular-nums}
.clock .c{transition:opacity .2s} .clock.blink .c{opacity:.25}
.hint{position:fixed;z-index:4;right:max(20px, env(safe-area-inset-right, 0px));bottom:max(22px, env(safe-area-inset-bottom, 0px));margin:0;
  font-family:var(--mono);font-size:10px;letter-spacing:.08em;color:var(--dim);pointer-events:none;opacity:0;transition:opacity .8s}
.hint.show{opacity:1} .hint.gone{opacity:0!important}
#loader{position:fixed;inset:0;z-index:20;background:var(--bg);display:flex;align-items:center;justify-content:center;transition:opacity .6s}
#loader canvas{position:absolute;inset:0;width:100%;height:100%}
#loader span{position:absolute;left:50%;top:calc(50% + 46px);transform:translateX(-50%);font-family:var(--pixel);font-size:10px;letter-spacing:.1em;color:var(--dim)}
#loader.out{opacity:0;pointer-events:none}
.hint{font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:var(--dim);margin:6px 0 0}
.stars{position:static}
[hidden]{display:none!important}
.star{position:fixed;left:0;top:0;display:flex;flex-direction:column;align-items:center;gap:7px;width:clamp(54px,4.4vw,76px);
  color:var(--star);pointer-events:auto;cursor:pointer;will-change:transform;transition:opacity .4s}
.star .sparkle{width:100%;height:auto;display:block;transition:transform .35s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.star span{font-family:var(--pixel);font-weight:400;font-size:12px;letter-spacing:.06em;line-height:1;color:#ffffff;white-space:nowrap;background:var(--bg);padding:3px 5px}
.star:hover .sparkle,.star.on .sparkle,.star:focus-visible .sparkle{transform:scale(1.25) rotate(45deg)}
.star:hover span,.star.on span{background:var(--star);color:#fff}
.star .sparkle{filter:drop-shadow(0 0 8px #e0007855)}

.stars.hide .star{opacity:0;pointer-events:none}
.project{position:fixed;inset:0;z-index:5;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.project::-webkit-scrollbar{display:none}
.pspacer{height:170vh}
.pbody{position:relative;background:var(--bg);min-height:100vh;padding-block:72px 120px;
  padding-left:max(20px, env(safe-area-inset-left, 0px));padding-right:max(20px, env(safe-area-inset-right, 0px))}
.pbody header{max-width:1100px;margin:0 auto 48px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:end}
.pbody h2{margin:0;font-family:var(--pixel);font-size:clamp(28px,3.6vw,52px);font-weight:400;letter-spacing:0;line-height:1.05;text-wrap:balance}
.pbody .pm{font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--dim);margin:0 0 10px}
.pbody .pd{margin:0;font-size:17px;line-height:1.45;max-width:46ch}
.pimgs{max-width:1320px;margin:0 auto;display:flex;flex-direction:column;gap:clamp(36px,7vw,110px)}
.pfig .pim{position:relative}
.pfig figcaption{font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:var(--dim);margin-top:10px;max-width:60ch}
.pfig.full{width:100%} .pfig.r{width:min(74%,980px);margin-left:auto} .pfig.l{width:min(74%,980px)}
.prow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(14px,2vw,28px);align-items:start}
.prow .pfig:nth-child(2){margin-top:clamp(40px,8vw,120px);transition-delay:.12s}
.pcmp{position:relative;user-select:none;touch-action:pan-y;--x:50%}
.pcmp img{display:block;width:100%;height:auto;pointer-events:none;opacity:1!important}
.tabs,.chrome .line,.hint{transition:opacity .3s}
body.inproj .tabs,body.inproj .chrome .line,body.inproj .hint{opacity:0!important;pointer-events:none}
.pcmp img.imb{position:absolute;inset:0;width:100%;height:100%;clip-path:inset(0 0 0 var(--x))}
.pcmp .ln{position:absolute;top:0;bottom:0;left:var(--x);width:2px;margin-left:-1px;background:var(--star)}
.pcmp .kn{position:absolute;top:50%;left:var(--x);width:22px;height:22px;margin:-11px 0 0 -11px;background:var(--star);
  clip-path:polygon(0 50%,30% 20%,30% 40%,70% 40%,70% 20%,100% 50%,70% 80%,70% 60%,30% 60%,30% 80%)}
.pcmp .tg{position:absolute;top:12px;font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:var(--ink);background:#0c0c0bcc;padding:3px 7px}
.pcmp .tg.a{left:12px} .pcmp .tg.b{right:12px}
.pcmp input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0}
.pcmpwrap{margin:0} .pcmpwrap figcaption{font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:var(--dim);margin-top:10px}
.pfig{margin:0;position:relative;opacity:0;transform:translateY(40px);transition:opacity .6s,transform .8s cubic-bezier(.2,.7,.2,1)}
.pfig.in{opacity:1;transform:none}
.pfig img{display:block;width:100%;height:auto;max-width:100%;opacity:0;transition:opacity .3s}
.pfig .pim canvas{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;transition:opacity .3s}
.pcover{position:fixed;z-index:4;pointer-events:none;opacity:0;transition:opacity .3s;--dark:0;background:#000}
.pcover.show{opacity:1}
.pcover img,.pcover canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;image-rendering:auto}
.pcover canvas{image-rendering:pixelated}
.pcover::after{content:"";position:absolute;inset:0;background:#000;opacity:var(--dark)}
.pcover .soon{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:var(--pixel);font-size:12px;letter-spacing:.06em;color:var(--dim);background:var(--bg)}
.pinfo{position:fixed;z-index:6;pointer-events:none;opacity:0;transition:opacity .3s;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 28px;align-items:baseline}
.pinfo.show{opacity:1}
.pinfo h1{margin:0;font-family:var(--pixel);font-size:clamp(20px,2.1vw,30px);font-weight:400;letter-spacing:0;line-height:1.05;white-space:nowrap}
.pinfo #pmeta{font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--dim)}
.pinfo #pdesc{grid-column:1 / -1;margin:0;font-size:15px;line-height:1.45;max-width:58ch;color:var(--ink)}
.pinfo #pchips{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:6px}
.pinfo #pchips span,.pinfo-dl dd{font-family:var(--mono);font-size:10px;letter-spacing:.06em}
.pinfo #pchips span{border:1px solid #3a3a37;color:var(--ink);padding:3px 7px;background:#0c0c0bcc}
.pinfo-dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 18px;margin:22px 0 0;padding-top:14px;border-top:1px solid #2a2a28}
.pinfo-dl dt{font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:var(--dim)} .pinfo-dl dd{margin:0;color:var(--ink);font-family:var(--display);font-size:14px;letter-spacing:0}
.pinfo #pscroll{grid-column:1 / -1;font-family:var(--mono);font-size:10px;letter-spacing:.08em;color:var(--dim)}
.close{position:fixed;z-index:9;top:calc(max(20px, env(safe-area-inset-top, 0px)) + 26px);left:max(14px, calc(env(safe-area-inset-left, 0px) - 6px));
  color:#fff;mix-blend-mode:difference;background:none;border:0;padding:8px 6px;cursor:pointer;line-height:0;   /* difference: light on dark covers, dark on paper */transition:transform .25s cubic-bezier(.2,.8,.2,1),opacity .25s}
.close svg{display:block}
.close:hover,.close:focus-visible{transform:translateX(-4px)}
.close:focus-visible{outline:1px dotted currentColor;outline-offset:2px}
@media (max-width:860px){ .tin{background:#0c0c0bee} .star{width:40px} .line{font-size:15px} .pbody header{grid-template-columns:1fr} .pinfo{grid-template-columns:1fr} .pinfo h1{white-space:normal} }
@media (prefers-reduced-motion: reduce){ .pfig{transform:none;transition:none} }

/* paper modes for project pages (test: A = paper arrives on scroll, B = page turns white on open) */
body.pA .pbody,body.pB .pbody{background:var(--paper);color:var(--pink)}
body.pA .pbody .pm,body.pB .pbody .pm,body.pA .pinfo-dl dt,body.pB .pinfo-dl dt,body.pA .pfig figcaption,body.pB .pfig figcaption,body.pA .pcmpwrap figcaption,body.pB .pcmpwrap figcaption{color:var(--pdim)}
body.pA .pinfo-dl,body.pB .pinfo-dl{border-color:#d6d4cc} body.pA .pinfo-dl dd,body.pB .pinfo-dl dd{color:var(--pink)}
body{transition:background-color .4s}
body.pB{background:var(--paper)}
body.pB.inproj .pinfo,body.pB.inproj .pinfo #pdesc{color:var(--pink)} body.pB .name{color:var(--pink)} .name{transition:color .6s} body.pB.inproj .pinfo #pmeta,body.pB.inproj .pinfo #pscroll{color:var(--pdim)}
body.pB.inproj .pinfo #pchips span{background:#ffffffcc;border-color:#cfcdc5;color:var(--pink)}

.pinfo{transition:opacity .3s,color .6s}

/* story sections: scroll-driven site analysis and concept steps */
.story{position:relative;width:100%}
.story .stick{position:sticky;top:0;height:100vh;display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;box-sizing:border-box;padding-block:48px}
.story .k{font-family:var(--mono);font-size:10px;letter-spacing:.08em;opacity:.55}
.story h3{margin:8px 0 14px;font-family:var(--pixel);font-size:clamp(22px,2.2vw,32px);font-weight:400;letter-spacing:0;line-height:1.05}
.story-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:end;padding-block:clamp(24px,6vh,80px) clamp(40px,10vh,120px)}
.story-intro .k{font-family:var(--mono);font-size:10px;letter-spacing:.08em;opacity:.55}
.story-intro h3{margin:8px 0 0;font-size:clamp(30px,4.2vw,60px);font-weight:600;letter-spacing:-.02em;line-height:.98}
.story-intro .txt{margin:0;font-size:clamp(14px,1.25vw,17px);line-height:1.55;max-width:48ch}
@media (max-width:860px){ .story-intro{grid-template-columns:1fr} }
.story .cap.typing::after,.ovhead .cap.typing::after{content:"";display:inline-block;width:1px;height:1.05em;margin-left:2px;background:currentColor;vertical-align:-.16em;animation:blk .8s steps(1) infinite}
@keyframes blk{50%{opacity:0}}
.story.an .stick{display:block;container-type:size;padding:0}
.story.an .ahead{position:absolute;left:0;top:clamp(56px,11vh,120px);width:min(340px,28cqw);transition:opacity .45s,transform .45s;z-index:1}
.story.an .ahead .k{font-family:var(--mono);font-size:10px;letter-spacing:.08em;opacity:.55}
.story.an h3{font-family:var(--pixel);font-weight:400;font-size:clamp(24px,2.2vw,34px);letter-spacing:0;line-height:1.05;margin:10px 0 18px}
.story.an .txt{margin:0 0 30px;font-size:13px;line-height:1.6;max-width:none}
.story.an .ahead ol{margin:0}
.story.an .abody{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding-block:56px 28px;box-sizing:border-box;transition:opacity .45s,transform .45s}
.story.an figure{margin:0;display:flex;flex-direction:column;align-items:center;text-align:center}
.story.an figure h4{font-family:var(--mono);font-weight:400;font-size:12px;letter-spacing:.06em;margin:0 0 14px;min-height:1.2em}
.story.an figure canvas{display:block;width:min(560px,calc(100cqh - 210px),calc(100cqw - 2*(min(340px,28cqw) + 48px)));height:auto;aspect-ratio:1}
.story.an figure figcaption{font-size:13px;line-height:1.55;margin:14px auto 0;max-width:44ch;min-height:3.1em}
.pmap{position:relative;height:100vh;overflow:hidden;background:#1a1a19}
.pmap img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.pmlab{position:absolute;left:0;top:0;font-family:var(--pixel);color:var(--star);text-shadow:0 0 10px rgba(0,0,0,.55),0 0 2px rgba(0,0,0,.5);display:flex;flex-direction:column;gap:6px;pointer-events:none;white-space:nowrap}
.pmlab .c{font-size:clamp(28px,3.4vw,52px);line-height:1}
.pmlab .h{font-size:clamp(14px,1.3vw,20px);letter-spacing:.04em;min-height:1.1em}
.pmlab .typing::after{content:"";display:inline-block;width:.12em;height:1em;margin-left:.12em;background:currentColor;vertical-align:-.1em;animation:blk .8s steps(1) infinite}
.ovl{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding-block:clamp(40px,7vh,72px);opacity:0;pointer-events:none;transition:opacity .45s;container-type:size}
.stick.ovon .ovl{opacity:1;pointer-events:auto}
.stick.ovon .ahead,.stick.ovon .abody{opacity:0;transform:translateY(-10px);pointer-events:none}
.ovgrid{--g:clamp(16px,3.2vh,40px);--cs:min(calc((100cqw - 3*var(--g))/4),calc((100cqh - var(--g))/2),300px);display:grid;grid-template-columns:repeat(4,var(--cs));grid-auto-rows:var(--cs);gap:var(--g);justify-content:center;align-content:center}
.ovgrid figure{margin:0;min-width:0}
.ovgrid canvas{display:block;width:100%;height:auto;aspect-ratio:1}
.ovinfo{align-self:center;min-width:0;padding-left:clamp(4px,1vw,16px)}
.ovinfo .k{font-family:var(--mono);font-size:10px;letter-spacing:.08em;opacity:.55;display:block;margin-bottom:10px}
.ovinfo .cap{margin:0;font-size:clamp(12px,1vw,14px);line-height:1.6;min-height:7em}

.story .txt{font-size:13px;line-height:1.6;margin:0 0 22px;max-width:36ch}
.story ol{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:2px}
.story li{font-family:var(--mono);font-size:11px;letter-spacing:.05em;display:flex;gap:10px;align-items:center;padding:3px 0;opacity:.38;transition:opacity .25s}
.story li::before{content:"";width:7px;height:7px;background:var(--star);opacity:0;transition:opacity .2s}
.story li.on{opacity:1} .story li.on::before{opacity:1}
.story .cap{font-size:13px;line-height:1.55;min-height:6.5em;max-width:36ch;margin:0}
.story .stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0}
.story canvas{display:block;max-width:100%;height:auto}
.story.st canvas{width:100%;max-height:78vh;object-fit:contain}
.story .num{font-family:var(--pixel);font-size:clamp(46px,7vw,96px);line-height:1;letter-spacing:-.02em;margin:6px 0 10px;font-variant-numeric:tabular-nums}
.story .bar{display:flex;gap:5px;margin:0 0 16px}
.story .bar i{width:14px;height:6px;background:currentColor;opacity:.2;transition:opacity .2s,background .2s}
.story .bar i.on{opacity:1;background:var(--star)} .story .bar i.past{opacity:.7}
@media (max-width:860px){ .story .stick{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);align-items:start;gap:14px;padding-block:68px 20px}
  .story .stage{order:-1} .story.st canvas{max-height:36vh} .story ol{display:none} .story .num{font-size:40px} }


/* ---------- project header ---------- */
.pbody header.phead{display:block;max-width:1320px;margin:0 auto clamp(56px,10vh,120px);--rule:#d6d4cc}
.ph-top{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--rule);padding-top:12px;font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--pdim)}
.ph-top .pm{margin:0;font-size:11px}
.phead h2{font-size:clamp(32px,4.6vw,72px)!important;margin:clamp(28px,5vh,56px) 0 clamp(28px,5vh,56px)!important;line-height:1.02}
.ph-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;border-top:1px solid var(--rule);padding-top:20px}
.ph-grid .pd{grid-column:1 / span 6;margin:0;font-size:clamp(16px,1.35vw,20px);line-height:1.5;max-width:44ch}
.ph-facts{grid-column:8 / -1;margin:0;display:grid;grid-template-columns:110px minmax(0,1fr)}
.ph-facts dt,.ph-facts dd{margin:0;padding:9px 0;border-bottom:1px solid var(--rule)}
.ph-facts dt{font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--pdim);padding-top:11px}
.ph-facts dd{font-size:15px}
/* ---------- chapters: shared frame for site analysis and concept ---------- */
.chap{position:relative;width:100%;--rule:#d6d4cc}
.cstick{position:sticky;top:0;height:100vh;box-sizing:border-box;padding:68px 0 22px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(14px,2.6vh,28px)}
.chead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--rule)}
.chead>div{display:flex;align-items:baseline;gap:14px;min-width:0}
.cno,.ccount{white-space:nowrap;font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--pdim);font-variant-numeric:tabular-nums}
.chead h3{margin:0;font-family:var(--pixel);font-weight:400;font-size:clamp(20px,1.9vw,28px);line-height:1;letter-spacing:0}
.cbody{position:relative;min-height:0;display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr) minmax(0,210px);gap:clamp(20px,3vw,48px);align-items:center}
.cleft,.cstage,.cright{transition:opacity .45s,transform .45s}
.cleft .txt{margin:0;font-size:14px;line-height:1.6;max-width:36ch}
.cstage{min-width:0;height:100%;container-type:size;display:flex;align-items:center;justify-content:center}
.an .cstage figure{margin:0;display:flex;flex-direction:column;align-items:center;text-align:center}
.an .cstage h4{font-family:var(--mono);font-weight:400;font-size:12px;letter-spacing:.06em;margin:0 0 12px;min-height:1.2em}
.an .cstage canvas{display:block;width:min(100cqw,calc(100cqh - 110px),620px);height:auto;aspect-ratio:1}
.an .cstage figcaption{font-size:13px;line-height:1.55;margin:12px auto 0;max-width:44ch;min-height:3.1em}
.cright{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px;align-self:center;min-width:0}
.cright button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;gap:10px;align-items:center;width:100%;font-family:var(--mono);font-size:11px;letter-spacing:.03em;line-height:1.3;padding:5px 0;opacity:.38;transition:opacity .2s}
.cright button::before{content:"";width:7px;height:7px;background:var(--star);opacity:0;transition:opacity .2s;flex:none}
.cright button span{opacity:.6;flex:none}
.cright li.on button{opacity:1} .cright li.on button::before{opacity:1}
.cright button:hover{opacity:.75} .cright button:focus-visible{outline:1px solid currentColor;outline-offset:2px}
.cfoot{display:flex;gap:4px}
.cfoot i{flex:1;height:3px;background:currentColor;opacity:.12;transition:opacity .25s,background .25s}
.cfoot i.past{opacity:.45} .cfoot i.on{opacity:1;background:var(--star)}
.chap .cap.typing::after{content:"";display:inline-block;width:1px;height:1.05em;margin-left:2px;background:currentColor;vertical-align:-.16em;animation:blk .8s steps(1) infinite}
.st .cbody{grid-template-columns:minmax(0,300px) minmax(0,1fr) 104px}
.st .cleft .num{font-family:var(--pixel);font-size:clamp(56px,6vw,96px);line-height:1;margin:0 0 20px;font-variant-numeric:tabular-nums}
.st .cleft .cap{margin:0;font-size:15px;line-height:1.55;min-height:7.5em;max-width:32ch}
.st .cstage{background:var(--paper)}
.st .cstage canvas{display:block;width:100cqw;height:100cqh;object-fit:contain;mix-blend-mode:multiply}
.thumbs{gap:8px}
.thumbs button{display:block;padding:0;opacity:.4}
.thumbs button::before{display:none}
.thumbs canvas{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.thumbs li.on button{opacity:1} .thumbs li.on canvas{outline:2px solid var(--star);outline-offset:2px}
.chap .ovl{padding:0;inset:0}
.cbody.ovon .ovl{opacity:1;pointer-events:auto}
.cbody.ovon>.cleft,.cbody.ovon>.cstage,.cbody.ovon>.cright{opacity:0;transform:translateY(-8px);pointer-events:none}
@media (max-height:720px){ .thumbs{display:none} .st .cbody{grid-template-columns:minmax(0,300px) minmax(0,1fr)} }
@media (max-width:860px){
  .ph-grid{grid-template-columns:1fr} .ph-grid .pd,.ph-facts{grid-column:auto}
  .pbody header.phead{padding-top:22px}
  .chead h3{font-size:18px}
  .cbody,.st .cbody{display:flex;flex-direction:column;align-items:stretch;gap:12px}
  .cright{display:none}
  .cstage{flex:1;width:100%;min-height:0}
  .cstick{padding:60px 0 14px;gap:12px}
  .cleft .txt{font-size:12px;line-height:1.5;max-width:none}
  .an .cstage canvas{width:min(100cqw,calc(100cqh - 100px))}
  .an .cstage h4{font-size:11px;margin-bottom:8px} .an .cstage figcaption{font-size:12px;margin-top:8px;min-height:3em}
  .st .cleft{display:flex;gap:14px;align-items:flex-start}
  .st .cleft .num{font-size:36px;margin:0} .st .cleft .cap{font-size:13px;min-height:5.5em}
}

/* exploded axonometric */
.ax .cbody{grid-template-columns:minmax(0,1fr)}
.ax .cleft,.ax .cright{display:none}
.ax .cstage{overflow:hidden;background:var(--paper)}
.axw{position:relative;width:min(100cqw,calc(100cqh*var(--axar,0.8588)));height:auto}
.axw img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;will-change:transform,opacity;opacity:0}
.ax .cfoot{display:block;height:3px;position:relative}
.ax .cfoot::before{content:"";position:absolute;inset:0;background:currentColor;opacity:.12}
.ax .cfoot i.fill{position:absolute;inset:0;background:var(--star);opacity:1;transform-origin:0 50%;transform:scaleX(0)}
.ax .cstick{overflow:hidden}

/* ================= v40: no rules, own proportions =================
   a vertical spine carries the chapter name, the counter sits big in the top right corner,
   progress is a row of pixel squares. nothing is separated by hairlines; space and scale do it. */
.chap,.pbody header.phead{--spine:clamp(64px,7.2vw,112px)}
.cstick{grid-template-columns:var(--spine) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;
  grid-template-areas:"spine count" "spine body" "spine foot";column-gap:clamp(16px,2.4vw,40px);row-gap:clamp(10px,2vh,22px);padding:clamp(56px,8.5vh,84px) 0 clamp(18px,3.4vh,34px)}
.chead{display:contents}
.cstick{overflow:hidden}
.chead>div{position:absolute;left:0;top:clamp(56px,8.5vh,84px);bottom:clamp(18px,3.4vh,34px);width:var(--spine);writing-mode:vertical-rl;transform:rotate(180deg);display:flex;align-items:center;gap:18px;justify-content:flex-start;padding:0;overflow:hidden}
.chead h3{font-size:min(clamp(28px,3.2vw,50px),calc((100vh - 230px) / (var(--len,16) * .72)));line-height:.9;white-space:nowrap}
.cno{font-family:var(--pixel);font-size:clamp(14px,1.2vw,18px);color:var(--star);letter-spacing:0}
.ccount{grid-area:count;justify-self:end;font-family:var(--pixel);font-size:clamp(16px,1.6vw,24px);letter-spacing:0;color:inherit}
.cbody{grid-area:body}
.cfoot{grid-area:foot;justify-self:end;display:flex;gap:5px}
.cfoot i{flex:none;width:9px;height:9px;opacity:.14}
.cfoot i.past{opacity:.6} .cfoot i.on{opacity:1}
.ax .cfoot{display:flex;height:auto}
.ax .cfoot::before{display:none}
.chead{border:0;padding:0}
/* asymmetric body proportions: text column narrower, list column floats */
.cbody{grid-template-columns:minmax(0,.62fr) minmax(0,1.9fr) minmax(0,.5fr);gap:clamp(18px,2.6vw,44px)}
.st .cbody{grid-template-columns:minmax(0,.62fr) minmax(0,1.9fr) 92px}
.cleft{align-self:end;padding-bottom:clamp(0px,4vh,48px)}
.an .cleft .txt{font-size:13px;line-height:1.65}
.cright{align-self:start;padding-top:clamp(0px,3vh,32px)}
.st .cleft .num{font-size:clamp(72px,8.6vw,140px);line-height:.82;margin-bottom:26px;color:var(--star)}
/* project header: no rules, offset columns */
.ph-top{border:0;padding:0;justify-content:flex-start;gap:2.4em;margin-left:calc(var(--spine) + clamp(16px,2.4vw,40px))}
.phead h2{margin:clamp(14px,2.4vh,26px) 0 clamp(40px,9vh,112px)!important;font-size:clamp(40px,6.2vw,104px)!important;line-height:.92;margin-left:calc(var(--spine) + clamp(16px,2.4vw,40px))!important}
.ph-grid{border:0;padding:0;grid-template-columns:var(--spine) repeat(12,minmax(0,1fr));column-gap:clamp(16px,2.4vw,40px)}
.ph-grid .pd{grid-column:6 / span 5;font-size:clamp(17px,1.5vw,22px);line-height:1.45}
.ph-facts{grid-column:11 / -1;display:flex;flex-direction:column;gap:14px;align-self:start;padding-top:.35em}
.ph-facts dt,.ph-facts dd{border:0;padding:0}
.ph-facts dt{font-family:var(--mono);font-size:10px;letter-spacing:.08em;color:var(--pdim);margin-bottom:-10px}
.ph-facts dd{font-size:15px}
/* opening frame: no rule, no boxed chips */
.pinfo-dl{border:0;padding-top:0}
.pinfo #pchips span{border:0;background:none;padding:0 14px 0 0;display:inline-flex;align-items:center;gap:6px}
.pinfo #pchips span::before{content:"";width:6px;height:6px;background:var(--star)}
body.pB.inproj .pinfo #pchips span{background:none}
@media (max-width:860px){
  .cstick{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"spine" "count" "body" "foot";padding-top:58px;row-gap:8px}
  .chead>div{position:static;width:auto;grid-area:spine;writing-mode:horizontal-tb;transform:none;align-items:baseline;gap:10px}
  .chead h3{font-size:22px;white-space:normal}
  .ccount{justify-self:start;font-size:13px;margin-top:-4px}
  .cfoot{justify-self:start}
  .st .cleft .num{font-size:40px;margin:0}
  .cleft{align-self:auto;padding:0} .cright{padding:0}
  .ph-top,.phead h2{margin-left:0!important}
  .ph-grid{grid-template-columns:1fr} .ph-grid .pd,.ph-facts{grid-column:auto}
  .ph-facts{flex-direction:row;flex-wrap:wrap;gap:6px 22px}
  .ph-facts dt{margin:0} 
}

/* site analysis: the circle sits on the centre of the screen, text and list balance it on either side */
.an .cbody{grid-column:1 / -1;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:clamp(24px,3vw,56px)}
.an .cleft{padding-left:calc(var(--spine) + clamp(16px,2.4vw,40px));align-self:center;justify-self:stretch;display:flex;justify-content:flex-end;padding-bottom:0}
.an .cleft .txt{max-width:30ch}
.an .cstage{container-type:normal;height:auto;width:auto}
.an .cstage canvas{width:min(620px,calc(100vh - 270px),44vw)}
.an .cstage figcaption{max-width:min(44ch,44vw)}
.an .cright{align-self:center;justify-self:start;padding-top:0}
@media (min-width:861px){
  .an .cstage figure{position:relative}
  .an .cstage h4{position:absolute;bottom:100%;left:0;right:0;margin:0 0 12px}
  .an .cstage figcaption{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:max-content;margin:12px 0 0}
  .an .cstage canvas{width:min(620px,calc(100vh - 300px),44vw)}
}
.an .ovl{left:calc(var(--spine) + clamp(16px,2.4vw,40px));right:calc(var(--spine) + clamp(16px,2.4vw,40px))}
@media (max-width:860px){
  .an .cbody{grid-column:auto}
  .an .cleft{padding-left:0;display:block}
  .an .cleft .txt{max-width:none}
  .an .cstage{container-type:size;flex:1;width:100%}
  .an .cstage canvas{width:min(100cqw,calc(100cqh - 100px))}
  .an .ovl{left:0;right:0}
}

/* chapter titles: horizontal, top left, on the same line as the counter */
@media (min-width:861px){
  .chap{--spine:0px}
  .cstick{column-gap:0}
  .chead>div{position:static;grid-area:count;justify-self:start;align-self:center;width:auto;writing-mode:horizontal-tb;transform:none;align-items:baseline;gap:14px;overflow:visible}
  .chead h3{font-size:clamp(22px,2.2vw,34px);line-height:1}
  .an .cleft,.an .ovl{--g:0px}
}

/* ---------- drawing sheets ---------- */
.sheet{position:relative;padding:clamp(56px,10vh,120px) 0 0}
.sh-head{display:flex;align-items:baseline;gap:14px;margin:0 0 clamp(28px,6vh,64px)}
.sh-head h3{margin:0;font-family:var(--pixel);font-weight:400;font-size:clamp(22px,2.2vw,34px);line-height:1;letter-spacing:0}
.sh-body{display:flex;flex-direction:column;align-items:center;gap:clamp(64px,14vh,160px)}
.dw{margin:0;--h:calc(100vh - 190px);width:min(100%,calc(var(--h) * var(--ar)));position:relative}
.dw-im{position:relative;width:100%;aspect-ratio:var(--ar);background:var(--paper)}
.dw-im img,.dw-im canvas{position:absolute;inset:0;width:100%;height:100%;display:block;mix-blend-mode:multiply}
.dw-im img{opacity:0;transition:opacity .25s}
.dw-im canvas{image-rendering:pixelated;transition:opacity .35s}
.dw figcaption{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-top:12px}
.dw-n{order:0;font-family:var(--mono);font-size:12px;letter-spacing:.05em}
.dw-s{font-family:var(--pixel);font-size:clamp(14px,1.2vw,18px);color:var(--star);letter-spacing:0}
/* name sits on the top left corner of the drawing, scale on the bottom right */
.dw .dw-n{position:absolute;left:0;bottom:calc(100% + 10px)}
.dw figcaption{justify-content:flex-end;margin-top:10px;min-height:1em}
.dw.plan{--h:calc(100vh - 170px)}
.dw.long{width:100%}
.sh-bleed .sh-body{margin:0 calc(50% - 50vw)}
.dw.bleed{width:100vw;max-width:none}
.dw.bleed .dw-n{left:max(20px,calc(50vw - 660px))}
.dw.bleed figcaption{display:none}
.dw.same .dw-n{display:none}
.sh-bleed{padding-bottom:0}
/* compare slider */
.cmp .dw-im{cursor:ew-resize;touch-action:pan-y;--x:50%}
.cmp .ca{clip-path:inset(0 calc(100% - var(--x)) 0 0)}
.cmp .cb{clip-path:inset(0 0 0 var(--x))}
.cmp .ca,.cmp .cb{opacity:1}
.cmp .knob{position:absolute;top:0;bottom:0;left:var(--x);width:2px;margin-left:-1px;background:var(--star);pointer-events:none}
.cmp .knob::before{content:"";position:absolute;top:50%;left:50%;width:14px;height:14px;transform:translate(-50%,-50%);background:var(--star)}
.cmp input{position:absolute;inset:auto 0 -6px 0;width:100%;opacity:0;cursor:ew-resize}
.cmp .dw-n{display:flex;gap:18px}
.cmp .dw-n b{font-weight:400;opacity:.4;transition:opacity .2s}
.cmp .dw-n .la{opacity:1} .cmp.lefty .dw-n .la{opacity:.4} .cmp.lefty .dw-n .lb{opacity:1}
@media (max-width:860px){
  .sheet{padding-top:64px}
  .dw{width:100%}
  .dw-n{font-size:11px}
  .sh-body{gap:56px}
}

/* end of a project: keep scrolling to go back */
.pend{display:flex;flex-direction:column;align-items:center;gap:14px;padding:clamp(80px,18vh,200px) 0 clamp(40px,8vh,80px)}
.pe-t{font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:var(--pdim)}
.pe-q{display:flex;gap:5px}
.pe-q i{width:9px;height:9px;background:currentColor;opacity:.14}
.pe-q i.on{background:var(--star);opacity:1}

/* ---------- context in numbers ---------- */
.demo{padding:clamp(56px,10vh,120px) 0 0}
.dm-top{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,2fr);gap:clamp(24px,4vw,64px);align-items:start;margin-bottom:clamp(36px,7vh,72px)}
.dm-txt{margin:0;font-size:clamp(15px,1.25vw,18px);line-height:1.55;max-width:42ch}
.dm-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,2vw,28px)}
.dm-tile{display:flex;flex-direction:column;gap:8px}
.dm-tile .k{font-family:var(--mono);font-size:10px;letter-spacing:.08em;color:var(--pdim)}
.dm-tile b small{font-family:var(--mono);font-size:.38em;letter-spacing:0;margin-left:3px;text-transform:none}
.dm-tile b{font-family:var(--pixel);font-weight:400;font-size:clamp(22px,2.2vw,38px);line-height:1;color:var(--star);font-variant-numeric:tabular-nums;white-space:nowrap}
.dm-tile .nt{font-size:12px;color:var(--pdim)}
.dm-bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3.4vw,56px)}
.dm-g h4{margin:0 0 16px;font-family:var(--mono);font-weight:400;font-size:11px;letter-spacing:.06em}
.dm-r{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;margin-bottom:14px;align-items:start}
.dm-l{font-size:12px;line-height:1.3}
.dm-bs{display:flex;flex-direction:column;gap:3px}
.dm-b{position:relative;height:16px}
.dm-b i{position:absolute;left:0;top:0;bottom:0;width:var(--w);transform-origin:0 50%;transform:scaleX(0);transition:transform 1.1s cubic-bezier(.2,.8,.2,1)}
.dm-b span{position:absolute;left:calc(var(--w) + 6px);top:50%;transform:translateY(-50%);font-size:11px;white-space:nowrap;color:var(--pdim);opacity:0;transition:opacity .4s .9s}
.dm-b span b{font-weight:500;color:var(--pink)}
.dm-b.c i,.dm-stack .c,.dm-key .c span{background:var(--star)}
.dm-b.b i,.dm-stack .b,.dm-key .b span{background:#9d9b95}
.dm-b.d i,.dm-stack .d,.dm-key .d span{background:#6a3fa0}
.dm-stack .e,.dm-key .e span{background:#d8d6cf}
.demo.in .dm-b i{transform:none} .demo.in .dm-b span{opacity:1}
.dm-stack{display:flex;height:26px;gap:2px}
.dm-stack i{width:var(--w);transform-origin:0 50%;transform:scaleX(0);transition:transform 1s cubic-bezier(.2,.8,.2,1)}
.demo.in .dm-stack i{transform:none}
.demo.in .dm-stack i:nth-child(2){transition-delay:.15s} .demo.in .dm-stack i:nth-child(3){transition-delay:.3s} .demo.in .dm-stack i:nth-child(4){transition-delay:.45s}
.dm-key{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:11px}
.dm-key li{display:flex;align-items:center;gap:6px}
.dm-key span{width:9px;height:9px}
.dm-note{font-size:12px;margin:14px 0 0;max-width:40ch}
.dm-src{font-size:10px;line-height:1.5;color:var(--pdim);margin:clamp(28px,5vh,48px) 0 0;max-width:110ch}
/* ---------- pafta: the thesis sheet, every drawing at one shared print scale ---------- */
.pafta{--pg:clamp(8px,1vw,14px);display:grid;grid-template-columns:1fr 1fr;gap:var(--pg);width:min(100%,calc((100vh - 170px) * 1.41));margin:0 auto;align-items:start}
.pcol{display:flex;flex-direction:column;gap:var(--pg)}
.pp{margin:0;position:relative;background:#fff}
.pp .dw-im{position:relative;aspect-ratio:var(--ar);background:#fff}
.pp .dw-im img,.pp .dw-im canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.pp .dw-im img{opacity:0;transition:opacity .25s}
.pp .dw-im canvas{image-rendering:pixelated;transition:opacity .35s}
.pn{position:absolute;left:10px;top:9px;font-family:var(--mono);font-size:11px;letter-spacing:.05em;background:#fff;padding:1px 4px}
.ps{position:absolute;right:10px;bottom:8px;font-family:var(--pixel);font-size:clamp(12px,1vw,16px);color:var(--star);background:#fff;padding:1px 4px}
.ps:empty{display:none}
.dw.poster{--h:calc(100vh - 150px)}
@media (max-width:860px){
  .dm-top{grid-template-columns:1fr} .dm-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dm-bars{grid-template-columns:1fr}
  .pafta{grid-template-columns:1fr;width:100%}
}

/* ================= type system C: technical =================
   pixel = titles and labels (labels small, pink, in a left column like a drawing title block)
   mono  = running text
   sans  = only big counters and drawing names stay as they are */
:root{--lab:clamp(76px,7vw,108px)}
.pl,.ph-facts dt,.cleft .k,.ovinfo .k,.dm-tile .k,.story-intro .k{font-family:var(--pixel)!important;font-size:9px!important;letter-spacing:.04em!important;color:var(--star)!important;text-transform:none;opacity:1!important}
/* cover info */
.pinfo{grid-template-columns:var(--lab) minmax(0,1fr)!important;gap:12px 16px!important;align-items:baseline}
.pinfo h1{grid-column:1 / -1;font-size:clamp(30px,3.4vw,52px)!important;line-height:.9!important;letter-spacing:-.01em!important;margin-bottom:6px!important;white-space:normal!important}
.pinfo .pl{padding-top:2px}
.pinfo #pmeta{font-size:12px!important;letter-spacing:0!important;color:inherit!important}
.pinfo #pdesc{grid-column:auto!important;font-family:var(--mono);font-size:13px!important;line-height:1.55!important;max-width:52ch!important}
.pinfo #pchips{grid-column:auto!important;gap:16px!important}
.pinfo #pchips span{font-size:12px!important;letter-spacing:0!important}
.pinfo #pscroll{grid-column:2!important;margin-top:4px}
/* project header */
.ph-top{margin-left:0!important}
.phead h2{margin-left:0!important;font-size:clamp(44px,6.4vw,104px)!important;line-height:.88!important;letter-spacing:-.01em!important}
.ph-grid{grid-template-columns:var(--lab) minmax(0,1fr)!important;column-gap:16px!important;row-gap:14px!important;align-items:baseline;max-width:860px}
.ph-grid .pl{padding-top:2px}
.ph-grid .pd{grid-column:2!important;font-family:var(--mono);font-size:13px!important;line-height:1.6!important;max-width:60ch!important}
.ph-facts{display:contents!important}
.ph-facts dt{grid-column:1;margin:0!important;padding-top:2px}
.ph-facts dd{grid-column:2;margin:0;font-family:var(--mono);font-size:12.5px!important}
/* running text */
.cleft .txt,.cleft .cap,.an .cstage figcaption,.ovinfo .cap,.dm-txt,.dm-note{font-family:var(--mono)!important;font-size:12.5px!important;line-height:1.6!important;letter-spacing:0!important}
@media (min-width:861px){ .an .cleft{flex-direction:column;align-items:flex-end;justify-content:center} .an .cleft::before,.an .cleft .txt{width:30ch;max-width:100%} }
.an .cleft::before{content:"The site";display:block;margin-bottom:12px;font-family:var(--pixel);font-size:9px;letter-spacing:.04em;color:var(--star)}
.st .cleft .cap{font-size:13px!important}
/* titles: bigger, tighter */
.chead h3,.sh-head h3{font-size:clamp(26px,2.7vw,42px)!important;line-height:.9!important;letter-spacing:-.005em!important}
.cno{font-size:clamp(12px,1vw,15px)!important}
.sh-head{gap:16px!important}
.dw-n,.pn{font-family:var(--mono)}
@media (max-width:860px){ :root{--lab:68px} .pinfo h1{font-size:28px!important} .phead h2{font-size:40px!important} }
/* ---------- phones ---------- */
html,body{touch-action:none}
.project{touch-action:pan-y}
@media (max-width:600px){
  .tabs{flex-wrap:nowrap;gap:0}
  .tab>button{font-size:12px;gap:5px;padding:4px 9px 10px 0;letter-spacing:.03em}
  .tab>button::before{width:6px;height:6px}
  .tab>button .n{display:none}
  .tin{padding-left:12px}
  .hint{left:max(20px, env(safe-area-inset-left, 0px));right:auto;bottom:calc(max(22px, env(safe-area-inset-bottom, 0px)) + 30px)}
  .line{font-size:14px;gap:10px;flex-wrap:wrap}
  .pmlab .c{font-size:24px}
  .pmlab .h{font-size:13px}
  .story.an .stick{display:flex;flex-direction:column;align-items:stretch;padding:64px 0 18px;box-sizing:border-box}
  .story.an .ahead{position:static;width:auto}
  .story.an h3{font-size:22px;margin:6px 0 10px}
  .story.an .txt{font-size:12px;line-height:1.5;margin:0}
  .story.an .abody{position:relative;inset:auto;flex:1;width:100%;min-height:0;padding:14px 0 0;box-sizing:border-box;container-type:size}
  .story.an figure canvas{width:min(100cqw,calc(100cqh - 112px))}
  .story.an figure h4{font-size:11px;margin-bottom:10px}
  .story.an figure figcaption{font-size:12px;margin-top:10px;min-height:3em}
  .ovl{padding:64px 0 18px}
  .ovgrid{--g:12px;--cs:min(calc((100cqw - 2*var(--g))/3),calc((100cqh - 200px)/3));display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:var(--g);width:100%}
  .ovgrid figure{width:var(--cs)}
  .ovinfo{order:-1;flex:0 0 100%;padding:0 0 6px}
  .ovinfo .cap{font-size:12px;min-height:6.5em}
}


/* behind the design: logo cover, the presentation pages, a vertical timeline */
@keyframes btdHop{0%,40%,100%{transform:translateY(0) scale(1,1)}10%{transform:translateY(0) scale(1.15,.85)}22%{transform:translateY(-120%) scale(.92,1.08)}34%{transform:translateY(0) scale(1.12,.88)}}
.btdc{position:absolute;inset:0;background:#f1f1ef;color:#1d1d1b;display:flex;align-items:center;justify-content:center;padding:0 6vw}
.btdc-in{display:flex;flex-direction:column;gap:min(3.2vw,5vh)}
.btdc-l{display:flex;align-items:flex-end;gap:min(2.2vw,3.6vh)}
.btdc h2{margin:0;font-family:var(--display);font-weight:600;font-size:min(13vw,21vh);line-height:.88;letter-spacing:-.035em}
.btdc-sh{display:flex;align-items:flex-end;gap:min(1.1vw,1.8vh);padding-bottom:min(1.4vw,2.2vh)}
.btdc-sh i{display:block;width:min(3vw,4.8vh);height:min(3vw,4.8vh);transform-origin:50% 100%;animation:btdHop 2.4s cubic-bezier(.3,.6,.4,1) infinite}
.btdc-sh .t{width:min(3.4vw,5.4vh);background:#F4B800;clip-path:polygon(50% 0,100% 100%,0 100%)}
.btdc-sh .c{border-radius:50%;background:#1C4E9D;animation-delay:.18s}
.btdc-sh .s{background:#D52B1E;animation-delay:.36s}
.btdc p{margin:0;max-width:38em;font-family:var(--display);font-size:max(14px,min(1.35vw,2.2vh));line-height:1.45;text-wrap:pretty}
@media (prefers-reduced-motion:reduce){ .btdc-sh i{animation:none} }
.project.btd .pspacer{height:100vh}
.project.btd .pbody{padding:0!important}
.project.btd .pimgs{max-width:none!important;gap:0!important}
.btdp{margin:0;position:relative;width:100%;aspect-ratio:1848/1040;background:#fff}
.btdp img{position:absolute;inset:0;width:100%;height:100%;display:block}
.btdp img.gif{object-fit:cover;border-radius:.43vw}
#btdnav{position:fixed;z-index:7;left:20px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px}
#btdnav .g{display:flex;gap:10px;align-items:flex-start}
#btdnav .bars{display:flex;flex-direction:column;gap:4px}
#btdnav button{all:unset;cursor:pointer;width:14px;height:14px;display:flex;justify-content:center}
#btdnav button i{display:block;width:3px;height:100%;background:rgba(29,29,27,.15);transition:background .25s}
#btdnav button.past i{background:rgba(29,29,27,.55)}
#btdnav button.on i{background:var(--c)}
#btdnav .lb{font-family:var(--pixel);font-size:9px;line-height:1;white-space:nowrap;background:var(--c);color:var(--k);padding:3px 5px;opacity:0;transform:translateX(-6px);transition:opacity .4s,transform .4s;pointer-events:none;visibility:hidden}
#btdnav .g.on .lb{visibility:visible}
#btdnav.moving .g.on .lb{opacity:1;transform:none}

/* digital art gallery: cover with the title in the sky, analysis 5a, concept 1i, axonometric 1j */
body.g2.gdark .name{color:#ecebe5}
@media (min-width:861px){
  body.g2 .pinfo{display:flex!important;flex-direction:column;gap:20px!important;color:#ecebe5!important;text-shadow:0 0 24px rgba(12,12,11,.9)}
  body.g2 .pinfo h1{font-size:45px!important;line-height:.92!important;margin:0!important;white-space:normal!important}
  body.g2 .pinfo #pdesc{font-size:13px!important;line-height:1.6!important;max-width:44ch!important;color:#ecebe5!important}
  body.g2 .pinfo .pl,body.g2 .pinfo #pmeta,body.g2 .pinfo #pchips{display:none!important}
  body.g2 .pinfo #pscroll{color:#ecebe5!important;opacity:.7}
  .g2 .chap .chead{display:flex!important;justify-content:space-between;align-items:baseline;border:0!important;padding:0!important}
  .g2 .chap .chead>div{position:static!important;writing-mode:horizontal-tb!important;transform:none!important;width:auto!important;display:flex!important;align-items:baseline;gap:16px;overflow:visible!important;padding:0!important}
  .g2 .chap .cno{font-family:var(--pixel)!important;font-size:13px!important;color:var(--star)!important}
  .g2 .chap .chead h3{font-family:var(--pixel)!important;font-size:20px!important;line-height:1!important;white-space:nowrap}
  .g2 .chap .ccount{font-family:var(--pixel)!important;font-size:13px!important;color:inherit!important;grid-area:auto!important}
  .g2 .an .cstick{display:grid!important;grid-template-columns:minmax(0,1120px)!important;grid-template-rows:auto minmax(0,1fr)!important;grid-template-areas:none!important;justify-content:center;padding:40px 20px 24px!important;gap:0!important}
  .g2 .an .cbody{grid-column:1!important;display:grid!important;grid-template-columns:minmax(0,660px) minmax(0,440px)!important;grid-template-rows:auto auto;grid-template-areas:"stage left" "stage right";column-gap:clamp(40px,8vw,112px)!important;row-gap:40px;justify-content:center;align-content:center;transform:none!important}
  .g2 .an .cstage{grid-area:stage;align-self:center;width:auto!important;height:auto!important}
  .g2 .an .cstage figure{position:static!important}
  .g2 .an .cstage canvas{width:min(660px,calc(100vh - 230px),44vw)!important;mix-blend-mode:multiply}
  .g2 .an .cstick{grid-template-rows:auto auto!important;align-content:center}
  .g2 .an .chead{margin-bottom:20px}
  .g2 .dtl{display:flex;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid #161614;margin-top:28px}
  .g2 .dtl .tg{font-family:var(--pixel);font-size:9px;line-height:1;background:var(--star);color:#fff;padding:3px 5px}
  .g2 .an .cstage h4{position:static!important;margin:0!important;font-family:var(--pixel)!important;font-size:24px!important;line-height:1!important;letter-spacing:0!important;min-height:0!important}
  .g2 .an .cstage figcaption{position:static!important;transform:none!important;width:auto!important;margin:12px auto 0!important;max-width:56ch!important;font-size:14px!important;text-wrap:balance}
  .g2 .an .cleft{grid-area:left;padding:0!important;align-self:end!important;display:block!important;justify-self:stretch!important}
  .g2 .an .cleft::before,.g2 .an .cleft .txt{width:auto!important;max-width:none!important}
  .g2 .an .cleft .txt{font-size:14px!important;line-height:1.65!important}
  .g2 .an .cright{grid-area:right;align-self:start!important;justify-self:stretch!important;padding:0!important;gap:0!important}
  .g2 .an .cright::before{content:"Layers";display:block;margin-bottom:12px;font-family:var(--pixel);font-size:11px;color:var(--star)}
  .g2 .an .cright button{display:grid!important;grid-template-columns:36px 26px minmax(0,1fr) 8px;column-gap:12px;align-items:center;height:48px;padding:0!important;font-family:var(--mono)!important;font-size:14px!important;opacity:1!important;color:var(--pdim)}
  .g2 .an .cright button::before{display:none!important}
  .g2 .an .cright button span{opacity:1!important;font-size:10px}
  .g2 .an .cright button::after{content:"";width:8px;height:8px;background:var(--star);opacity:0}
  .g2 .an .cright li.on button,.g2 .an .cright button:hover{color:var(--pink)}
  .g2 .an .cright li.on button::after{opacity:1}
  .g2 .an .cright .th{display:block;width:36px;height:36px;border-radius:50%;mix-blend-mode:multiply;opacity:.55}
  .g2 .an .cright li.on .th{opacity:1}
  .g2 .an .cfoot{display:none!important}
  .g2 .an .ovl{left:20px!important;right:20px!important}
  .g2 .st .cstick{display:flex!important;flex-direction:column;padding:40px 20px 24px!important;gap:0!important}
  .g2 .st .chead{width:min(880px,100%);margin:0 auto}
  .g2 .st .ccount{display:none!important}
  .g2 .st .cbody{flex:1;min-height:0;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:0!important;width:min(880px,100%);margin:0 auto}
  .g2 .st .cstage{order:1;width:min(768px,100%,calc((100vh - 300px)*768/541))!important;height:auto!important;flex:none;container-type:normal!important;background:none!important;aspect-ratio:768/541}
  .g2 .st .cstage canvas{width:100%!important;height:100%!important}
  .g2 .st .cright{display:none!important}
  .g2 .st .cfoot{order:2;width:100%;display:flex!important;gap:4px!important;margin-top:20px;justify-self:auto!important}
  .g2 .st .cfoot i{flex:1!important;width:auto!important;height:3px!important;opacity:.12}
  .g2 .st .cfoot i.past{opacity:.45} .g2 .st .cfoot i.on{opacity:1;background:var(--star)}
  .g2 .st .cleft{order:3;display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:0!important;margin-top:28px;align-self:center!important}
  .g2 .st .cleft .num{font-family:var(--pixel)!important;font-size:13px!important;line-height:1!important;margin:0!important;color:var(--star)!important}
  .g2 .st .cleft .cap{font-size:13px!important;max-width:56ch!important;min-height:3.2em!important;text-wrap:balance}
  .g2 .ax .cstick{display:flex!important;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px 32px!important;gap:16px!important}
  .g2 .ax .cbody{order:1;flex:none;width:100%;height:min(560px,calc(100vh - 220px));display:block!important}
  .g2 .ax .cstage{height:100%!important;background:none!important;overflow:visible!important}
  .g2 .ax .chead{order:2;justify-content:center!important;margin-top:16px}
  .g2 .ax .cno,.g2 .ax .ccount{display:none!important}
  .g2 .ax .cfoot{order:3;width:192px;display:flex!important;gap:0!important;justify-self:auto!important}
  .g2 .ax .cfoot i{flex:1!important;width:auto!important;height:3px!important;opacity:.12!important;background:currentColor}
  .g2 .ax .cfoot i.past,.g2 .ax .cfoot i.on{background:var(--star)!important;opacity:1!important}
}

/* parasitipation cover: title bottom left over a dark fade (2a) */
body.cth .pcover::before{content:"";position:absolute;left:0;right:0;bottom:0;height:62%;z-index:1;background:linear-gradient(to top,rgba(12,12,11,.96) 0%,rgba(12,12,11,.85) 45%,rgba(12,12,11,0) 100%)}
body.cth .pinfo{gap:14px!important;text-shadow:none!important}
body.cth .pinfo #pmeta{display:block!important;order:-1;font-family:var(--mono);font-size:11px;opacity:.75;color:#ecebe5}
body.cth .pinfo h1{font-size:52px!important}

/* corner fixes: name and menu share one left edge, bottom corners share one type style */
.name{font-size:20px;letter-spacing:.04em;line-height:1}
.tabs{top:calc(max(20px, env(safe-area-inset-top, 0px)) + 36px)}
.tab>button{padding-right:28px}
.tab>button::before{margin-left:-18px}
.line,.line .clock,.hint{font-family:var(--mono)!important;font-size:12px!important;letter-spacing:.04em!important;line-height:1.2}
.line{gap:16px}
.line .clock{color:#a9a7a0}
.hint{color:#c9c7c0}
@media (max-width:600px){ .name{font-size:16px} .tab>button{padding-right:18px} .tab>button::before{margin-left:-11px} .line,.line .clock,.hint{font-size:11px!important} }
.hint{top:max(20px, env(safe-area-inset-top, 0px))!important;bottom:auto!important;right:max(20px, env(safe-area-inset-right, 0px))!important;left:auto!important;margin:0!important}
@media (max-width:600px){ .hint{top:calc(max(20px, env(safe-area-inset-top, 0px)) + 2px)!important} }
.line,.line .clock{font-family:var(--pixel)!important;font-size:14px!important;letter-spacing:.04em!important}
@media (max-width:600px){ .line,.line .clock{font-size:12px!important} }
/* homepage: every label in the pixel font */
.hint,.tabs,.tabs *,.tin,.tin *,.stars,.stars *{font-family:var(--pixel)!important}
.hint{font-size:13px!important;letter-spacing:.04em!important}
.tin p,.tin li,.tin a{line-height:1.6}

/* type: IBM Plex Mono, thin, in place of the pixel font; labels at a readable weight */
:root{--pixel:"IBM Plex Mono",ui-monospace,monospace;--mono:"IBM Plex Mono",ui-monospace,monospace;--pw:200;--mw:300}
html :is(#btdnav .lb,#loader span,.an .cleft::before,.ccount,.chead h3,.cleft .k,.cno,.dm-tile .k,.dm-tile b,.dw-s,.g2 .an .cright::before,.g2 .an .cstage h4,.g2 .chap .ccount,.g2 .chap .chead h3,.g2 .chap .cno,.g2 .dtl .tg,.g2 .st .cleft .num,.line,.line .clock,.name,.ovinfo .k,.pbody h2,.pcover .soon,.ph-facts dt,.pinfo h1,.pl,.pmlab,.ps,.sh-head h3,.st .cleft .num,.star span,.stars,.stars *,.story .num,.story h3,.story-intro .k,.story.an h3,.tab>button,.tabs,.tabs *,.tin,.tin *,/* homepage: every label in the pixel font */,.hint){font-weight:var(--pw)!important}
html :is(.an .cstage figcaption,.an .cstage h4,.ccount,.cleft .cap,.clock,.cno,.cright button,.dm-g h4,.dm-note,.dm-tile .k,.dm-tile b small,.dm-txt,.dw-n,.g2 .an .cright button,.hint,.line,.line .clock,.ovinfo .cap,.ovinfo .k,.pbody .pm,.pcmp .tg,.pcmpwrap figcaption,.pe-t,.pfig figcaption,.ph-facts dd,.ph-facts dt,.ph-grid .pd,.ph-top,.pinfo #pchips span,.pinfo #pdesc,.pinfo #pmeta,.pinfo #pscroll,.pinfo-dl dd,.pinfo-dl dt,.pn,.story .k,.story li,.story-intro .k,.story.an .ahead .k,.story.an figure h4,.tin .lbl,.tin .row>span:first-child,.tin .work a span,.tin button.copy,/* running text */,.cleft .txt,body.cth .pinfo #pmeta){font-weight:var(--mw)!important}
/* project titles: a touch heavier than the thin labels, and held off the cover with a soft dark halo */
html body #pinfo.pinfo h1, html body #project .phead h2{font-weight:300!important}
html body.g2 #pinfo.pinfo h1, html body.cth #pinfo.pinfo h1{text-shadow:0 0 2px rgba(12,12,11,.95),0 0 12px rgba(12,12,11,.85),0 0 34px rgba(12,12,11,.75)}


/* ---------- homepage refinements (point cloud language) ---------- */
@property --dr{syntax:'<length>';inherits:false;initial-value:3px}
@keyframes dotin{0%{--dr:0px;opacity:.2;filter:blur(1.5px)}60%{opacity:1;filter:blur(0)}100%{--dr:2.2px;opacity:1;filter:blur(0)}}
@keyframes dotout{0%{--dr:2.2px;opacity:1;transform:none}35%{--dr:.9px;opacity:1;transform:translate(calc(var(--dx)*.12),calc(var(--dy)*.12))}100%{--dr:.15px;opacity:0;transform:translate(var(--dx),var(--dy));filter:blur(.6px)}}
.dotmask{-webkit-mask:radial-gradient(circle,#000 var(--dr),transparent calc(var(--dr) + .6px)) 0 0/3px 3px;mask:radial-gradient(circle,#000 var(--dr),transparent calc(var(--dr) + .6px)) 0 0/3px 3px}

/* star labels: no box, thin type with a dark halo, tied to their star by a dotted leader */
html body .star{padding-bottom:25px;gap:0}
html body .star span{position:absolute;left:50%;top:calc(100% - 18px + 8px + var(--ly,0px));transform:translateX(-50%);
  background:none!important;font-weight:300!important;font-size:11px!important;letter-spacing:.08em!important;color:#ecebe5;padding:3px 5px;
  text-shadow:0 0 2px #0c0c0b,0 0 6px #0c0c0b,0 0 14px rgba(12,12,11,.9);transition:color .25s}
html body .star span::before{content:"";position:absolute;left:50%;bottom:100%;width:1px;margin-left:-.5px;height:calc(10px + var(--ly,0px));
  background:radial-gradient(circle,rgba(236,235,229,.7) .6px,transparent 1px) 0 0/1px 3px repeat-y;opacity:.55;transition:opacity .25s}
html body .star:hover span,html body .star.on span,html body .star:focus-visible span{color:var(--star)!important;background:none!important}
html body .star:hover span::before,html body .star.on span::before{opacity:1;background-image:radial-gradient(circle,rgba(224,0,120,.95) .6px,transparent 1px)}

/* tabs: the pink square becomes a small cluster of points */
html body .tab>button::before{width:3px;height:3px;border-radius:50%;background:var(--star);flex:none;
  box-shadow:4px -3px 0 -.6px rgba(224,0,120,.6),-3px 3px 0 -.8px rgba(224,0,120,.45),0 0 6px rgba(224,0,120,.6);transform:rotate(0);transition:opacity .15s,transform .6s}
html body .tab>button[aria-expanded="true"]::before{transform:rotate(90deg)}
html body .tab>button{font-weight:300!important}
/* panel content resolves out of dots, line by line */
.tab.open .tin li,.tab.open .tin p{-webkit-mask:radial-gradient(circle,#000 var(--dr),transparent calc(var(--dr) + .6px)) 0 0/3px 3px;mask:radial-gradient(circle,#000 var(--dr),transparent calc(var(--dr) + .6px)) 0 0/3px 3px;animation:dotin .75s cubic-bezier(.3,.7,.2,1) both}
.tab.open .tin li:nth-child(2),.tab.open .tin p:nth-child(2){animation-delay:.06s}
.tab.open .tin li:nth-child(3),.tab.open .tin p:nth-child(3){animation-delay:.12s}
.tab.open .tin li:nth-child(4){animation-delay:.18s}
.tab.open .tin li:nth-child(5){animation-delay:.24s}
.tab.open .tin li:nth-child(n+6){animation-delay:.3s}

/* name and the line at the bottom */
html body .name{font-weight:300!important;letter-spacing:.07em!important}
html body .chrome .line{font-weight:300!important;color:#d9d7d0;align-items:center;gap:12px}
html body .line .dsep{width:3px;height:3px;border-radius:50%;background:var(--star);box-shadow:0 0 6px rgba(224,0,120,.7);flex:none}
html body .line .clock{display:inline-flex;align-items:center;line-height:1}
.dclock{display:block}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* hint: resolves out of dots, then blows away as dust */
html body .hint{font-weight:300!important;font-size:12px!important;letter-spacing:.06em!important;color:#c9c7c0;transition:none}
html body .hint.gone{opacity:1!important}
.hint .hc{display:inline-block;opacity:0;-webkit-mask:radial-gradient(circle,#000 var(--dr),transparent calc(var(--dr) + .6px)) 0 0/3px 3px;mask:radial-gradient(circle,#000 var(--dr),transparent calc(var(--dr) + .6px)) 0 0/3px 3px}
.hint.show .hc{animation:dotin .9s cubic-bezier(.3,.7,.2,1) both;animation-delay:calc(var(--i) * 18ms)}
.hint.gone .hc{animation:dotout 2.2s cubic-bezier(.45,0,.7,.7) both;animation-delay:var(--dl)}
.hint:not(.show):not(.gone) .hc{opacity:0}
@media (prefers-reduced-motion: reduce){ .hint .hc,.tab.open .tin li,.tab.open .tin p{animation:none!important;-webkit-mask:none;mask:none;opacity:1} .hint.gone{opacity:0!important} }
html body .tab>button::before{margin-left:-13px}
@media (max-width:600px){ html body .tab>button::before{margin-left:-8px} }
/* a project clicked before its images have arrived: the leader and the label breathe until they do */
@keyframes swait{0%,100%{opacity:.35}50%{opacity:1}}
html body .star.wait span,html body .star.wait span::before{animation:swait .9s ease-in-out infinite}
body.pwait,body.pwait *{cursor:progress}
/* chapter progress: points instead of pixel squares */
html body .cfoot{align-items:center;gap:7px}
html body .cfoot i:not(.fill){width:4px;height:4px;border-radius:50%;background:currentColor}
html body .cfoot i.on:not(.fill){background:var(--star);box-shadow:0 0 6px rgba(224,0,120,.7)}
/* project pages: every pink square marker becomes a point */
html body .story li::before,html body .cright button::before,html body .g2 .an .cright button::after,html body .pinfo #pchips span::before{width:5px;height:5px;border-radius:50%;box-shadow:0 0 6px rgba(224,0,120,.6)}
html body .cmp .knob::before{width:12px;height:12px;border-radius:50%;box-shadow:0 0 10px rgba(224,0,120,.6)}
html body .pe-q i{width:5px;height:5px;border-radius:50%}
html body .story .bar i{width:5px;height:5px;border-radius:50%}
html body .g2 .dtl .tg{background:none!important;color:var(--star)!important;padding:0 6px 0 0!important;font-size:10px!important}
/* point reveals: smooth canvases, no pixel blocks */
html body .pfig .pim canvas,html body #pimgs canvas,html body .pcover canvas{image-rendering:auto}
/* Behind the Design: blurred preview under each page, sharp page fades in; animations as video */
html body .btdp{background-color:#fff;background-size:cover;background-position:center}
html body .btdp>img:not(.gif){opacity:0;transition:opacity .25s ease}
html body .btdp>img.in{opacity:1}
html body .btdp video.gif{position:absolute;display:block;object-fit:cover;border-radius:.43vw;background:#fff}
@media (prefers-reduced-motion: reduce){ html body .btdp>img:not(.gif){transition:none} }
/* PARASITIPATION: about block */
.about{padding:clamp(56px,10vh,120px) 0 0}
.about .cno{font-family:var(--mono)!important;font-size:11px!important;letter-spacing:.12em;text-transform:uppercase}
.ab-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:clamp(24px,5vw,80px);align-items:start}
.ab-lead{margin:0;font-weight:300;font-size:clamp(22px,2.3vw,34px);line-height:1.18;max-width:20ch;text-wrap:balance}
.ab-body{display:flex;flex-direction:column;gap:1.1em;max-width:62ch}
.ab-body p{margin:0;font-size:clamp(13.5px,1.05vw,15px);line-height:1.7}
.ab-foot{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:clamp(24px,5vw,80px);margin-top:clamp(32px,6vh,64px);align-items:start}
.ab-foot .k{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--star);margin-bottom:10px}
.ab-aside{border-left:1px dotted currentColor;padding-left:16px;max-width:44ch}
.ab-aside p{margin:0;font-size:13px;line-height:1.65;opacity:.85}
.ab-keys ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.ab-keys li{font-size:12.5px;display:flex;align-items:center;gap:8px}
.ab-keys li::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--star)}
@media (max-width:760px){ .ab-grid,.ab-foot{grid-template-columns:minmax(0,1fr)} }
/* views at the end fill the page */
.sh-bleed .sh-body{display:flex;flex-direction:column;gap:6px}
.sh-bleed .dw.bleed{position:relative}
.sh-bleed .dw.bleed figcaption{display:block;position:absolute;left:max(20px,calc(50vw - 660px));bottom:18px;color:#ecebe5;text-shadow:0 0 3px #000,0 0 12px rgba(0,0,0,.8);pointer-events:none}
.sh-bleed .dw.bleed .dw-n{position:static;font-size:11px;letter-spacing:.08em}
.sh-bleed .dw.bleed .dw-s{display:none}

/* ---------- section pages (stars = Projects, Photos, Lab, Resume, Contact) ---------- */
#project,#pcover,#pinfo{transition:opacity .26s ease}
#project.swapping,#pcover.swapping,#pinfo.swapping{opacity:0!important}
.project.sect .pspacer{display:none}
.project.sect .pbody{padding-top:0}
.secpage{min-height:100vh;display:flex;flex-direction:column;gap:clamp(36px,7vh,80px);padding:clamp(110px,18vh,190px) max(24px,calc(50vw - 600px)) 120px;box-sizing:border-box}
.sp-head{display:flex;flex-direction:column;gap:14px}
.sp-k{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--star)}
.sp-head h2{margin:0;font-family:var(--mono);font-weight:200!important;font-size:clamp(48px,9vw,132px);line-height:.9;letter-spacing:-.01em}
.sp-body{display:flex;flex-direction:column;gap:18px;max-width:64ch}
.sp-body p{margin:0;font-size:14px;line-height:1.7}
.sp-body .sp-lead{font-size:clamp(17px,1.6vw,22px);line-height:1.45;font-weight:300}
.sp-link{font-family:var(--mono);font-size:13px;color:inherit;text-decoration:none;border-bottom:1px dotted currentColor;align-self:flex-start;padding-bottom:2px}
.sp-link:hover{color:var(--star)}
.sp-dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px 24px;margin:12px 0 0;font-size:13px}
.sp-dl dt{font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--star);padding-top:2px}
.sp-dl dd{margin:0}
.sp-contact ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;font-size:15px}
.sp-contact .row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;align-items:baseline}
.sp-contact .row>span:first-child{font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--star)}
.sp-contact a{color:inherit}
/* projects index */
.sec-projects .sp-body{max-width:none}
.plist{list-style:none;margin:0;padding:0;border-top:1px solid color-mix(in srgb,currentColor 25%,transparent)}
.plist a{display:grid;grid-template-columns:48px minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:baseline;padding:22px 0;color:inherit;text-decoration:none;border-bottom:1px solid color-mix(in srgb,currentColor 25%,transparent);transition:padding .25s ease,color .2s}
.plist .n{font-family:var(--mono);font-size:11px;color:var(--star)}
.plist .t{font-family:var(--mono);font-weight:300;font-size:clamp(20px,2.4vw,34px);line-height:1.05}
.plist .m,.plist .y{font-size:12px;opacity:.7}
.plist a:hover,.plist a:focus-visible{padding-left:14px;color:var(--star)}
.plist a:hover .m,.plist a:hover .y{opacity:1}
.pprev{position:fixed;left:0;top:0;width:min(30vw,380px);z-index:40;pointer-events:none;opacity:0;transition:opacity .2s}
.pprev.on{opacity:1}
.pprev canvas{display:block;width:100%;height:auto}
@media (max-width:760px){
  .plist a{grid-template-columns:36px minmax(0,1fr);gap:4px 14px}
  .plist .m,.plist .y{grid-column:2}
  .sp-dl,.sp-contact .row{grid-template-columns:minmax(0,1fr);gap:4px}
}
/* spotify, top right; the hint sits under it */
.spot{position:fixed;z-index:30;top:max(18px,env(safe-area-inset-top,0px));right:max(20px,env(safe-area-inset-right,0px));display:flex;align-items:center;gap:10px;color:#ecebe5;text-decoration:none;font-family:var(--mono);font-weight:300;font-size:12px;letter-spacing:.06em;transition:opacity .3s,color .2s}
.spot:hover{color:var(--star)}
.spot .eq{display:flex;gap:3px;align-items:flex-end;height:14px}
.spot .eq i{width:3px;height:3px;border-radius:50%;background:var(--star);box-shadow:0 -4px 0 0 currentColor,0 -8px 0 0 currentColor;opacity:.9;animation:eqb 1.1s ease-in-out infinite}
.spot .eq i:nth-child(2){animation-delay:-.35s}.spot .eq i:nth-child(3){animation-delay:-.7s}.spot .eq i:nth-child(4){animation-delay:-.2s}
@keyframes eqb{0%,100%{box-shadow:0 -4px 0 0 transparent,0 -8px 0 0 transparent}40%{box-shadow:0 -4px 0 0 currentColor,0 -8px 0 0 transparent}70%{box-shadow:0 -4px 0 0 currentColor,0 -8px 0 0 currentColor}}
body.inproj .spot{opacity:0;pointer-events:none}
html body .hint{top:calc(max(18px,env(safe-area-inset-top,0px)) + 30px)!important}
@media (prefers-reduced-motion: reduce){ .spot .eq i{animation:none} }
html body .pbody .secpage header.sp-head{display:flex;flex-direction:column;align-items:flex-start;max-width:none;margin:0;gap:14px}
html body .pbody .secpage .sp-head h2{font-family:var(--mono);font-weight:200;font-size:clamp(48px,9vw,132px);line-height:.9;letter-spacing:-.01em;text-wrap:nowrap}

/* ---------- every page on black ---------- */
:root{--paper:#0c0c0b;--pink:#ecebe5;--pdim:#8d8b84}
.pbody header.phead,.chap{--rule:#2c2b28!important}
body.pA .pinfo-dl,body.pB .pinfo-dl{border-color:#2c2b28}
html body .g2 .dtl{border-bottom-color:#3a3935}
/* line drawings flip to light lines on black (hue turned back so the pink stays pink); photos, renders and maps stay as they are */
html body .pp{background:#0c0c0b}
html body .pp .dw-im,html body .sheet .dw-im{background:#fff}
html body .pn,html body .ps{background:#0c0c0b}
html body .pp .dw-im,html body .sheet:not(.sh-bleed):not(.sh-poster):not(.sh-wide):not(.sh-dk) .dw-im{filter:url(#flip) hue-rotate(180deg)}
html body .btdc{background:#0c0c0b;color:#ecebe5}
html body .project.sect .plist,html body .project.sect .plist a{border-color:#2c2b28}
/* site analysis maps keep their light ground as a disc on the black page */
html body .chap.an .cstage canvas,html body .chap.an .ovgrid canvas,html body .chap.an .cright canvas{background:radial-gradient(circle closest-side,#e7e6e0 calc(100% - 1.5px),transparent 100%)}

/* ---------- Projects stage: no pink, no rules; list at the edge, object and inspectors in the middle ---------- */
html body .pbody .secpage.ps{position:relative;height:100vh;min-height:0;padding:0;gap:0;overflow:hidden;color:#ecebe5}
.ps .ps-cv{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
.ps .ps-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.ps .ps-lines line{stroke:#ecebe5;stroke-width:.6}
.ps .ps-insp{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.ps .ins{position:absolute;left:0;top:0;will-change:transform,opacity;font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:#ecebe5;white-space:nowrap}
.ps .ins .c{position:absolute;width:7px;height:7px;border-color:#ecebe5;border-style:solid;border-width:0;transform:scale(var(--k,1))}
.ps .ins .a{left:-15px;top:-15px;border-left-width:1px;border-top-width:1px}
.ps .ins .b{left:8px;top:-15px;border-right-width:1px;border-top-width:1px}
.ps .ins .d{left:-15px;top:8px;border-left-width:1px;border-bottom-width:1px}
.ps .ins .e{left:8px;top:8px;border-right-width:1px;border-bottom-width:1px}
.ps .ins .x{position:absolute;left:-3px;top:-.5px;width:7px;height:1px;background:#ecebe5}
.ps .ins .x::after{content:"";position:absolute;left:3px;top:-3px;width:1px;height:7px;background:#ecebe5}
.ps .ins .l1{position:absolute;left:22px;top:-17px}
.ps .ins .l2{position:absolute;left:22px;top:-2px;color:#9a988f;text-transform:uppercase;font-size:10px;letter-spacing:.12em}
.ps .ps-hud{position:absolute;left:30%;right:8%;top:11%;bottom:11%;pointer-events:none;color:#3a3935}
.ps .ps-hud i{position:absolute;width:26px;height:26px}
.ps .ps-hud i::before,.ps .ps-hud i::after{content:"";position:absolute;background:currentColor}
.ps .ps-hud i::before{left:12px;top:0;width:1px;height:26px}.ps .ps-hud i::after{left:0;top:12px;width:26px;height:1px}
.ps .ps-hud .tl{left:-13px;top:-13px}.ps .ps-hud .tr{right:-13px;top:-13px}.ps .ps-hud .bl{left:-13px;bottom:-13px}.ps .ps-hud .br{right:-13px;bottom:-13px}
.ps .rule{position:absolute;left:26px;right:26px;height:12px;display:flex;justify-content:space-between;align-items:flex-end}
.ps .rule.r-top{top:-6px}.ps .rule.r-bot{bottom:-6px;align-items:flex-start}
.ps .rule b{display:block;width:1px;height:5px;background:currentColor}.ps .rule b.m{height:11px}
.ps .ps-cnt,.ps .ps-pts{position:absolute;font-family:var(--mono);font-size:10px;letter-spacing:.16em;color:#55544f;text-transform:uppercase}
.ps .ps-cnt{left:0;top:-34px}.ps .ps-pts{left:0;bottom:-34px}
.ps .ps-meta{position:absolute;left:clamp(24px,4vw,58px);top:clamp(84px,12vh,120px);display:flex;flex-direction:column;gap:6px;font-family:var(--mono);text-transform:uppercase}
.ps .ps-t{font-size:18px;font-weight:300;letter-spacing:.42em;color:#ecebe5;margin-bottom:6px}
.ps .ps-s{font-size:10.5px;letter-spacing:.2em;color:#6d6c66}
.ps .ps-list{position:absolute;left:clamp(24px,4vw,58px);top:50%;transform:translateY(-50%);list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.ps .ps-list a{display:flex;gap:18px;align-items:baseline;padding:9px 0;color:#5f5e58;text-decoration:none;font-family:var(--mono);transition:color .25s,transform .25s}
.ps .ps-list .n{font-size:10px;letter-spacing:.14em}
.ps .ps-list .t{font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:300}
.ps .ps-list li.on a,.ps .ps-list a:hover,.ps .ps-list a:focus-visible{color:#ecebe5}
.ps .ps-list li.on a{transform:translateX(10px)}
.ps .ps-list li.on .n::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:#ecebe5;margin-right:10px;vertical-align:2px}
.ps .ps-now{position:absolute;right:clamp(24px,4vw,58px);bottom:clamp(28px,6vh,60px);display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-family:var(--mono);text-align:right;max-width:44vw}
.ps .ps-now-t{font-size:clamp(18px,1.8vw,26px);font-weight:300;letter-spacing:.2em;text-transform:uppercase}
.ps .ps-now-m{font-size:10.5px;letter-spacing:.16em;color:#8a8982;text-transform:uppercase}
.ps .ps-open{margin-top:6px;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#ecebe5;text-decoration:none;padding:9px 16px;border:1px solid #3a3935;border-radius:999px;transition:border-color .2s,background .2s}
.ps .ps-open:hover{border-color:#ecebe5}
.ps .ps-key{position:absolute;left:clamp(24px,4vw,58px);bottom:clamp(28px,6vh,60px);display:flex;gap:12px;font-family:var(--mono);font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#55544f}
.ps .ps-key span:first-child{color:#ecebe5}.ps .ps-key .sep{width:10px}
.project.sect:has(.ps) .pend{display:none}
@media (max-width:760px){
  .ps .ps-hud{left:6%;right:6%;top:14%;bottom:38%}
  .ps .ps-list{top:auto;bottom:120px;transform:none}
  .ps .ps-now{bottom:24px;max-width:none;left:24px;align-items:flex-start;text-align:left}
  .ps .ps-key{display:none}
}
/* inspectors: a small cross on the object, a leader out to a bracket and label beside the object */
.ps .mk{position:absolute;left:-4px;top:-4px;width:9px;height:9px;pointer-events:none;will-change:transform,opacity}
.ps .mk::before,.ps .mk::after{content:"";position:absolute;background:#ecebe5}
.ps .mk::before{left:4px;top:0;width:1px;height:9px}.ps .mk::after{left:0;top:4px;width:9px;height:1px}
.ps .ins.lft .l1,.ps .ins.lft .l2{left:auto;right:22px;text-align:right}
.ps .ps-lines line.ld{stroke-width:.7}
.ps .ps-lines line.nt{stroke-width:.5}
/* the flipped drawings' ground lands exactly on the page black (white and off-white paper both map to #0c0c0b) */
html body .pp .dw-im,html body .sheet .dw-im{background:#fff}
/* the flip lifts faint greys (context buildings, roof shading, hatches) so they stay visible on black */
/* sections are tone-mapped offline so textures and glass survive on black */
html body .sheet.sh-dk .dw-im{filter:none;background:transparent}
html body .sheet.sh-dk .dw-im img,html body .sheet.sh-dk .dw-im canvas{mix-blend-mode:normal}

/* ---------- home: the Projects page's graphic language ---------- */
.hhud{position:fixed;left:24%;right:24%;top:15%;bottom:15%;z-index:1;pointer-events:none;color:#3a3935;opacity:0;transition:opacity .6s}
.hhud.on{opacity:1}
.hhud i{position:absolute;width:26px;height:26px}
.hhud i::before,.hhud i::after{content:"";position:absolute;background:currentColor}
.hhud i::before{left:12px;top:0;width:1px;height:26px}.hhud i::after{left:0;top:12px;width:26px;height:1px}
.hhud .tl{left:-13px;top:-13px}.hhud .tr{right:-13px;top:-13px}.hhud .bl{left:-13px;bottom:-13px}.hhud .br{right:-13px;bottom:-13px}
.hhud .rule{position:absolute;left:26px;right:26px;height:12px;display:flex;justify-content:space-between;align-items:flex-end}
.hhud .rule.r-top{top:-6px}.hhud .rule.r-bot{bottom:-6px;align-items:flex-start}
.hhud .rule b{display:block;width:1px;height:5px;background:currentColor}.hhud .rule b.m{height:11px}
.hhud .hh{position:absolute;font-family:var(--mono);font-size:10px;letter-spacing:.16em;color:#55544f;text-transform:uppercase;white-space:pre}
.hhud .hh-tl{left:0;top:-34px}.hhud .hh-tr{right:0;top:-34px}.hhud .hh-bl{left:0;bottom:-34px}.hhud .hh-br{right:0;bottom:-34px}
html body .chrome .name{font-family:var(--mono)!important;font-size:18px;font-weight:300;letter-spacing:.42em;text-transform:uppercase;color:#ecebe5}
html body .tabs>.tab>button{font-family:var(--mono)!important;font-size:10.5px!important;letter-spacing:.2em!important;text-transform:uppercase}
html body .chrome .line,html body .chrome .line .clock{font-family:var(--mono)!important;font-size:10.5px!important;letter-spacing:.2em!important;text-transform:uppercase}
html body .spot .st{font-family:var(--mono)!important;font-size:10.5px!important;letter-spacing:.2em!important;text-transform:uppercase}
html body .star span{display:flex;flex-direction:column;align-items:center;gap:4px;font-family:var(--mono)!important;text-transform:uppercase}
html body .star span .sn{font-weight:300;font-size:11px;letter-spacing:.2em}
html body .star span .co{font-style:normal;font-size:9px;letter-spacing:.12em;color:#6d6c66;white-space:pre;order:2}
@media (max-width:760px){ .hhud{left:6%;right:6%;top:18%;bottom:24%} .hhud .hh-tr,.hhud .hh-br{display:none} html body .chrome .name{font-size:14px;letter-spacing:.3em} }
/* concept steps and the exploded axonometric: background cut out offline, the model keeps its own white */
html body .chap.ax .cstage,html body .chap.st .cstage,html body .chap.st .cright canvas{filter:none;background:transparent}
html body .chap.ax .axw img{mix-blend-mode:normal}
html body .chap.ax .cfoot,html body .g2 .chap.ax .cfoot{display:none!important}

/* ---------- photos stage: frames develop out of halftone dots inside the Projects frame ---------- */
@property --pr{syntax:'<length>';inherits:true;initial-value:0px}
.phs .ph-field{position:absolute;inset:0}
.phs .ph{position:absolute;margin:0;cursor:pointer;--pr:0px;transition:--pr 1.1s cubic-bezier(.3,.7,.2,1)}
.phs .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
  -webkit-mask:radial-gradient(circle,#000 var(--pr),transparent calc(var(--pr) + .6px)) 0 0/6px 6px;mask:radial-gradient(circle,#000 var(--pr),transparent calc(var(--pr) + .6px)) 0 0/6px 6px;
  transition:filter .4s}
.phs .ph.in{--pr:4.4px}
.phs .ph.out{--pr:0px;transition:--pr .9s cubic-bezier(.6,0,.8,.4)}
.phs .ph .c{position:absolute;width:9px;height:9px;border:0 solid #ecebe5;opacity:0;transition:opacity .5s .5s,transform .5s .5s}
.phs .ph .c.a{left:-7px;top:-7px;border-left-width:1px;border-top-width:1px;transform:translate(-6px,-6px)}
.phs .ph .c.b{right:-7px;top:-7px;border-right-width:1px;border-top-width:1px;transform:translate(6px,-6px)}
.phs .ph .c.d{left:-7px;bottom:-7px;border-left-width:1px;border-bottom-width:1px;transform:translate(-6px,6px)}
.phs .ph .c.e{right:-7px;bottom:-7px;border-right-width:1px;border-bottom-width:1px;transform:translate(6px,6px)}
.phs .ph.in .c{opacity:1;transform:none}
.phs .ph .x{position:absolute;left:50%;top:50%;width:11px;height:11px;margin:-5px 0 0 -5px;opacity:0;transition:opacity .4s .7s}
.phs .ph .x::before,.phs .ph .x::after{content:"";position:absolute;background:#ecebe5;mix-blend-mode:difference}
.phs .ph .x::before{left:5px;top:0;width:1px;height:11px}.phs .ph .x::after{left:0;top:5px;width:11px;height:1px}
.phs .ph.in .x{opacity:.8}
.phs .ph figcaption{position:absolute;left:0;top:calc(100% + 12px);display:flex;flex-direction:column;gap:4px;font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:#ecebe5;white-space:pre;text-transform:uppercase;opacity:0;transition:opacity .5s .8s}
.phs .ph.cap-up figcaption{top:auto;bottom:calc(100% + 12px)}
.phs .ph figcaption .l2{font-size:10px;letter-spacing:.14em;color:#8d8b84}
.phs .ph.in figcaption{opacity:1}
.phs .ph.out .c,.phs .ph.out figcaption,.phs .ph.out .x{opacity:0;transition-delay:0s;transition-duration:.35s}
.phs .ph.hold img{filter:brightness(1.06)}
.phs .ph.hold .c{border-color:#fff}
.phs .ph-lines line{stroke:#ecebe5;stroke-width:.6}
.phs .ph-index{position:absolute;left:clamp(24px,4vw,58px);top:50%;transform:translateY(-50%);list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,auto);gap:10px 18px}
.phs .ph-index button{all:unset;cursor:pointer;font-family:var(--mono);font-size:11px;letter-spacing:.16em;color:#55544f;transition:color .3s}
.phs .ph-index li.on button,.phs .ph-index button:hover,.phs .ph-index button:focus-visible{color:#ecebe5}
.phs .ph-index li.on button::before{content:"\2022 ";}
.phs .ph-box{position:absolute;inset:0;z-index:5;background:rgba(12,12,11,.96);display:flex;align-items:center;justify-content:center}
.phs .ph-box[hidden]{display:none}
.phs .ph-box figure{margin:0;display:flex;flex-direction:column;gap:14px;align-items:flex-start;max-width:min(84vw,1400px)}
.phs .ph-box img{max-width:min(84vw,1400px);max-height:76vh;display:block;--pr:0px;transition:--pr 1s cubic-bezier(.3,.7,.2,1);
  -webkit-mask:radial-gradient(circle,#000 var(--pr),transparent calc(var(--pr) + .6px)) 0 0/6px 6px;mask:radial-gradient(circle,#000 var(--pr),transparent calc(var(--pr) + .6px)) 0 0/6px 6px}
.phs .ph-box img.in{--pr:4.4px}
.phs .ph-box figcaption{display:flex;flex-direction:column;gap:4px;font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#ecebe5;white-space:pre}
.phs .ph-box figcaption .b2{color:#8d8b84;font-size:10px;letter-spacing:.16em}
.phs .ph-box button{all:unset;cursor:pointer;position:absolute;font-family:var(--mono);font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#8d8b84;padding:10px}
.phs .ph-box button:hover,.phs .ph-box button:focus-visible{color:#ecebe5}
.phs .ph-box .ph-x{top:22px;right:28px}.phs .ph-box .ph-p{left:22px;top:50%;font-size:18px}.phs .ph-box .ph-n{right:22px;top:50%;font-size:18px}
@media (prefers-reduced-motion: reduce){ .phs .ph,.phs .ph-box img{transition:none} }
@media (max-width:760px){ .phs .ph-index{display:none} }

/* ---------- lab stage ---------- */
.lbs .lb-list .t{max-width:250px;line-height:1.35}
.lbs .lb-ph{cursor:zoom-in}
.lbs .lb-note{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;width:min(420px,40vw);display:flex;flex-direction:column;gap:14px;font-family:var(--mono);color:#ecebe5;opacity:0;transition:opacity .6s}
.lbs .lb-note.in{opacity:1}.lbs .lb-note.out{opacity:0;transition-duration:.35s}
.lbs .lb-note .l1{font-size:11px;letter-spacing:.14em;text-transform:uppercase;white-space:pre}
.lbs .lb-note p{margin:0;font-size:13px;line-height:1.6;letter-spacing:.02em;color:#b9b7b0}
.lbs .lb-note .l2{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#6d6c66}
.lbs .lb-note .l2::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#ecebe5;margin-right:10px;vertical-align:1px;animation:lbpulse 1.6s ease-in-out infinite}
@keyframes lbpulse{0%,100%{opacity:.25}50%{opacity:1}}
/* section pages fade in over the dissolving head */
@keyframes secin{from{opacity:0}to{opacity:1}}
.project.secin{animation:secin .9s cubic-bezier(.3,.6,.3,1) both}

/* ---------- resume stage ---------- */
.rvs .rv-panel{position:absolute;left:calc(30% + 40px);right:calc(8% + 40px);top:calc(11% + 34px);bottom:calc(11% + 34px);overflow-y:auto;overflow-x:hidden;scrollbar-width:none;outline:none;font-family:var(--mono);color:#ecebe5}
.rvs .rv-panel::-webkit-scrollbar{display:none}
.rvs .rv-h{display:flex;align-items:baseline;gap:22px;margin:0 0 34px}
.rvs .rv-h h3{margin:0;font-weight:300;font-size:22px;letter-spacing:.32em;text-transform:uppercase}
.rvs .rv-no{font-size:10px;letter-spacing:.18em;color:#6d6c66}
.rvs .rv-panel ol{list-style:none;margin:0;padding:0}
.rvs .rv-e{position:relative;opacity:0;transform:translateY(8px);transition:opacity .6s calc(var(--k)*70ms),transform .6s calc(var(--k)*70ms) cubic-bezier(.2,.7,.2,1);
  -webkit-mask:radial-gradient(circle,#000 var(--pr),transparent calc(var(--pr) + .6px)) 0 0/4px 4px;mask:radial-gradient(circle,#000 var(--pr),transparent calc(var(--pr) + .6px)) 0 0/4px 4px;--pr:0px}
.rvs .rv-panel.in .rv-e{opacity:1;transform:none;--pr:3px;transition:opacity .6s calc(var(--k)*70ms),transform .6s calc(var(--k)*70ms) cubic-bezier(.2,.7,.2,1),--pr .9s calc(var(--k)*70ms)}
.rvs .rv-tl .rv-e{display:grid;grid-template-columns:170px 1fr auto;gap:0 26px;padding:16px 14px 18px;margin:0 -14px}
.rvs .rv-tl .rv-e::before{content:"";position:absolute;left:197px;top:22px;bottom:-8px;width:1px;background:radial-gradient(circle,#55544f 0.7px,transparent 1px) 0 0/1px 5px}
.rvs .rv-tl .rv-e:last-child::before{display:none}
.rvs .rv-tl .rv-e::after{content:"";position:absolute;left:195px;top:20px;width:5px;height:5px;border-radius:50%;background:#ecebe5}
.rvs .rv-d{font-size:10.5px;letter-spacing:.12em;color:#8d8b84;text-transform:uppercase;padding-top:3px;white-space:nowrap}
.rvs .rv-m b{display:block;font-weight:400;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.rvs .rv-p{display:block;margin-top:5px;font-size:11.5px;letter-spacing:.06em;color:#b9b7b0}
.rvs .rv-m ul{margin:10px 0 0;padding:0;list-style:none}
.rvs .rv-m li{position:relative;padding-left:16px;margin-top:5px;font-size:11.5px;line-height:1.6;letter-spacing:.02em;color:#8d8b84;font-family:Geist,system-ui,sans-serif}
.rvs .rv-m li::before{content:"";position:absolute;left:2px;top:.72em;width:3px;height:3px;border-radius:50%;background:#6d6c66}
.rvs .rv-g{font-size:10px;letter-spacing:.16em;color:#55544f;white-space:pre;padding-top:3px;transition:color .3s}
.rvs .rv-e .c{position:absolute;width:8px;height:8px;border:0 solid #ecebe5;opacity:0;transition:opacity .3s,transform .3s}
.rvs .rv-e .c.a{left:0;top:0;border-left-width:1px;border-top-width:1px;transform:translate(-4px,-4px)}
.rvs .rv-e .c.b{right:0;top:0;border-right-width:1px;border-top-width:1px;transform:translate(4px,-4px)}
.rvs .rv-e .c.d{left:0;bottom:0;border-left-width:1px;border-bottom-width:1px;transform:translate(-4px,4px)}
.rvs .rv-e .c.e{right:0;bottom:0;border-right-width:1px;border-bottom-width:1px;transform:translate(4px,4px)}
.rvs .rv-tl .rv-e:hover .c{opacity:1;transform:none}
.rvs .rv-tl .rv-e:hover .rv-g{color:#ecebe5}
.rvs .rv-bars .rv-e{display:grid;grid-template-columns:170px 1fr 48px;align-items:center;gap:24px;padding:11px 0}
.rvs .rv-bn{font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.rvs .rv-dots{display:flex;gap:7px}
.rvs .rv-dots i{width:4px;height:4px;border-radius:50%;background:#3a3935}
.rvs .rv-dots i.on{background:#ecebe5}
.rvs .rv-bv{font-size:10px;letter-spacing:.14em;color:#6d6c66;text-align:right}
.rvs .rv-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 40px}
.rvs .rv-groups .rv-e{display:flex;flex-direction:column;gap:7px}
.rvs .rv-gn{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#6d6c66;margin-bottom:4px}
.rvs .rv-groups span:not(.rv-gn){font-size:13px;letter-spacing:.06em}
@media (prefers-reduced-motion: reduce){ .rvs .rv-e{transition:none} }
@media (max-width:760px){ .rvs .rv-panel{left:6%;right:6%;top:calc(14% + 20px);bottom:auto;height:46%} .rvs .rv-tl .rv-e{grid-template-columns:1fr} .rvs .rv-tl .rv-e::before,.rvs .rv-tl .rv-e::after{display:none} .rvs .rv-g{display:none} }
.rvs .rv-pro{max-width:620px}
.rvs .rv-pro p{margin:0 0 18px;font-family:Geist,system-ui,sans-serif;font-size:14px;line-height:1.75;color:#b9b7b0;letter-spacing:.01em}
.rvs .rv-pro p.rv-lead{font-family:var(--mono);font-size:16px;line-height:1.6;color:#ecebe5;letter-spacing:.04em;margin-bottom:26px}
.rvs .rv-cats{display:flex;flex-direction:column;gap:30px}
.rvs .rv-cats .rv-gn{display:block;margin-bottom:6px}
.rvs .rv-cats .rv-bars .rv-e{grid-template-columns:230px auto 1fr;padding:9px 0}
.rvs .rv-cats .rv-dots{gap:9px}
.rvs .rv-cats .rv-dots i{width:5px;height:5px}
.rvs .rv-cats .rv-bv{text-align:left;padding-left:18px;color:#8d8b84}
.rvs .rv-dl{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:9px 14px;border:1px solid #ecebe5;border-radius:999px;font-family:var(--mono);font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:#0b0c0c;background:#ecebe5;text-decoration:none;pointer-events:auto;transition:border-color .3s,background .3s;width:max-content}
.rvs .rv-dl:hover,.rvs .rv-dl:focus-visible{border-color:#ffffff;background:#ffffff;color:#000}

/* ---------- contact stage ---------- */
.cts .ct-panel{position:absolute;left:calc(30% + 40px);right:calc(8% + 40px);top:50%;transform:translateY(-50%);font-family:var(--mono);color:#ecebe5}
.cts .ct-lead{margin:0 0 34px;font-size:15px;letter-spacing:.04em;color:#b9b7b0}
.cts .ct-list{list-style:none;margin:0;padding:0}
.cts .ct-e{position:relative;display:grid;grid-template-columns:34px 150px 1fr auto;align-items:center;gap:0 22px;padding:22px 16px;margin:0 -16px;
  opacity:0;transform:translateY(8px);transition:opacity .6s calc(var(--k)*90ms),transform .6s calc(var(--k)*90ms) cubic-bezier(.2,.7,.2,1);
  -webkit-mask:radial-gradient(circle,#000 var(--pr),transparent calc(var(--pr) + .6px)) 0 0/4px 4px;mask:radial-gradient(circle,#000 var(--pr),transparent calc(var(--pr) + .6px)) 0 0/4px 4px;--pr:0px}
.cts .ct-panel.in .ct-e{opacity:1;transform:none;--pr:3px;transition:opacity .6s calc(var(--k)*90ms),transform .6s calc(var(--k)*90ms) cubic-bezier(.2,.7,.2,1),--pr .9s calc(var(--k)*90ms)}
.cts .ct-e+.ct-e::before{content:"";position:absolute;left:16px;right:16px;top:0;height:1px;background:radial-gradient(circle,#3a3935 .7px,transparent 1px) 0 0/6px 1px}
.cts .ct-n{font-size:10px;letter-spacing:.16em;color:#6d6c66}
.cts .ct-k{font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:#8d8b84}
.cts .ct-v{font-size:clamp(16px,1.6vw,22px);letter-spacing:.04em;color:#ecebe5;text-decoration:none;cursor:pointer}
.cts .ct-note{display:block;margin-top:6px;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#55544f}
.cts .ct-act{display:flex;gap:10px}
.cts .ct-btn{all:unset;cursor:pointer;white-space:nowrap;padding:8px 13px;border:1px solid #3a3935;border-radius:999px;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#b9b7b0;transition:border-color .3s,color .3s,background .3s}
.cts .ct-btn:hover,.cts .ct-btn:focus-visible{border-color:#ecebe5;color:#ecebe5;background:#ecebe514}
.cts .ct-e.ok .ct-btn:first-child{border-color:#ecebe5;color:#ecebe5}
.cts .ct-e .c{position:absolute;width:9px;height:9px;border:0 solid #ecebe5;opacity:0;transition:opacity .3s,transform .3s}
.cts .ct-e .c.a{left:0;top:0;border-left-width:1px;border-top-width:1px;transform:translate(-4px,-4px)}
.cts .ct-e .c.b{right:0;top:0;border-right-width:1px;border-top-width:1px;transform:translate(4px,-4px)}
.cts .ct-e .c.d{left:0;bottom:0;border-left-width:1px;border-bottom-width:1px;transform:translate(-4px,4px)}
.cts .ct-e .c.e{right:0;bottom:0;border-right-width:1px;border-bottom-width:1px;transform:translate(4px,4px)}
.cts .ct-e:hover .c,.cts .ct-e:focus-within .c{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){ .cts .ct-e{transition:none} }
@media (max-width:760px){ .cts .ct-panel{left:6%;right:6%;top:24%;transform:none} .cts .ct-e{grid-template-columns:1fr;gap:8px} .cts .ct-n{display:none} }
/* Behind the Design: link to the playable kiosk, same mono labels as the HUD; the square cycles the three app colours */
.btdc-try{align-self:flex-start;display:inline-flex;align-items:center;gap:12px;padding:11px 16px 11px 13px;border:1px solid currentColor;color:inherit;text-decoration:none;font-family:var(--mono,ui-monospace,monospace);font-size:11px;letter-spacing:.18em;text-transform:uppercase;pointer-events:auto;position:relative;z-index:3;transition:background .25s,color .25s}
.btdc-try i{width:10px;height:10px;display:block;animation:btdTry 3s steps(1,end) infinite}
.btdc-try b{font-weight:400;transition:transform .25s}
.btdc-try:hover,.btdc-try.hov,.btdc-try:focus-visible{background:#ecebe5;color:#0c0c0b;outline:none}
.btdc-try:hover b,.btdc-try.hov b{transform:translate(2px,-2px)}
@keyframes btdTry{0%,100%{background:#F4B800}33%{background:#1C4E9D}66%{background:#D52B1E}}
@media (prefers-reduced-motion:reduce){ .btdc-try i{animation:none;background:#F4B800} }
/* ---------- PARASITIPATION page (th) ---------- */
.project.thp .pspacer,.project.thp .pmap,.project.thp .phead,.project.thp .pend{display:none!important}
.project.thp .pbody{padding:0!important;background:#0c0c0b!important;color:#ecebe5}
.project.thp .pimgs{max-width:none!important;gap:0!important;display:block}
.project.thp{background:#0c0c0b}
.th{--ink:#ecebe5;--dim:#8a8983;--ln:#2a2a27;--pk:#E00078;max-width:1440px;margin:0 auto;display:grid;grid-template-columns:230px minmax(0,1fr);gap:0 40px;padding:84px 48px 120px;box-sizing:border-box;color:var(--ink);
  background-image:radial-gradient(circle,#1b1b19 1px,transparent 1.2px);background-size:24px 24px}
.th-m{font-family:var(--mono);text-transform:uppercase;letter-spacing:.18em;font-size:11px;color:var(--dim);font-weight:400}
.th-w{color:var(--ink)}.th-pk{color:var(--pk)}
.th-p{font-family:var(--mono);font-weight:300;font-size:14px;line-height:1.75;color:#bdbcb5;margin:0}
.th-h{font-family:var(--mono);font-weight:300;font-size:clamp(20px,2.2vw,30px);letter-spacing:.14em;text-transform:uppercase;line-height:1.25;margin:0;color:var(--ink)}
.th-rail{position:sticky;top:96px;align-self:start;display:flex;flex-direction:column;gap:26px}
.th-rail ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.th-rail a{display:flex;gap:14px;text-decoration:none;font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--dim);transition:color .3s}
.th-rail a:hover{color:var(--ink)}
.th-rail a.on{color:var(--pk)}.th-rail a.on span:last-child::before{content:"\25B8  "}
.th-keys{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--ln);padding-top:14px}
.th-keys .th-m{line-height:2}.th-keys .th-m:not(.th-w){color:#5f5e59}
.th-keys:last-child .th-m{color:var(--dim)}
.th-main{display:flex;flex-direction:column;gap:110px;min-width:0}
.th-s{display:flex;flex-direction:column;gap:22px;scroll-margin-top:80px}
.th-hd{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.th-rule{display:flex;justify-content:space-between;align-items:flex-end;height:9px;border-bottom:1px solid var(--ln)}
.th-rule b{display:block;width:1px;height:4px;background:#4a4a46}.th-rule b.m{height:8px;background:#7a7973}
.th-f{position:relative;margin:0;border:1px solid #1f1f1d;background:#050505}
.th-f>.x{position:absolute;width:15px;height:15px;z-index:3;pointer-events:none}
.th-f>.x::before,.th-f>.x::after{content:"";position:absolute;background:var(--dim)}
.th-f>.x::before{left:7px;top:0;width:1px;height:15px}.th-f>.x::after{top:7px;left:0;height:1px;width:15px}
.th-f>.tl{left:-8px;top:-8px}.th-f>.tr{right:-8px;top:-8px}.th-f>.bl{left:-8px;bottom:-8px}.th-f>.br{right:-8px;bottom:-8px}
.th-f>img{display:block;width:100%;height:100%;object-fit:contain}
.th-f>.th-m,.th-f>span.th-m{position:absolute;z-index:2}
.th-f figcaption{position:absolute;left:0;top:calc(100% + 10px)}
.th-dkf{background:#0c0c0b}
.th-dk{filter:invert(1) grayscale(1) contrast(1.2);mix-blend-mode:screen}
.th-gr{filter:grayscale(1) contrast(1.1)}
.th-dots{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle,rgba(12,12,11,.55) 1.1px,transparent 1.5px) 0 0/5px 5px}
/* halftone reveal (same dots as the Projects stage) */
.th-rv>img,.th-rvx{--pr:0px;-webkit-mask:radial-gradient(circle,#000 var(--pr),transparent calc(var(--pr) + .6px)) 0 0/6px 6px;mask:radial-gradient(circle,#000 var(--pr),transparent calc(var(--pr) + .6px)) 0 0/6px 6px;transition:--pr 1.3s cubic-bezier(.3,.6,.3,1)}
.th-rv.in>img,.th-rvx.in{--pr:4.6px}
.th-rv.done>img,.th-rvx.done{-webkit-mask:none;mask:none}
@media (prefers-reduced-motion:reduce){.th-rv>img,.th-rvx{-webkit-mask:none;mask:none}}
.th-insp{position:absolute;z-index:2;pointer-events:none}
.th-insp .in{position:absolute;width:12px;height:12px;border:0 solid var(--pk)}
.th-insp .a{left:0;top:0;border-left-width:1px;border-top-width:1px}.th-insp .b{right:0;top:0;border-right-width:1px;border-top-width:1px}
.th-insp .c{left:0;bottom:0;border-left-width:1px;border-bottom-width:1px}.th-insp .d{right:0;bottom:0;border-right-width:1px;border-bottom-width:1px}
.th-insp>.th-m{position:absolute;left:0;top:-22px;white-space:nowrap}
.th-btn{font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--ink);border:1px solid #3a3a36;padding:9px 12px;background:rgba(12,12,11,.7);transition:background .3s,color .3s,border-color .3s}
.th-btn.on{border-color:var(--ink);background:var(--ink);color:#0c0c0b}
.th-cover{height:min(72vh,640px);overflow:hidden}
.th-cover>img{object-fit:cover;filter:grayscale(1) brightness(1.25) contrast(1.2)}
.th-parts{position:absolute;left:20px;bottom:18px;display:flex;gap:6px;flex-wrap:wrap;z-index:2}
.th-pts{right:20px;bottom:22px}
.th-title{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap;padding-top:14px}
.th-title>div{display:flex;flex-direction:column;gap:10px}
.th-title h2{margin:0;font-family:var(--mono);font-weight:300;font-size:clamp(34px,5vw,64px);letter-spacing:.22em;line-height:1}
.th-title .th-p{max-width:440px}
.th-col{display:flex;flex-direction:column;gap:18px;min-width:0}
.th-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 48px;align-items:start}
.th-2.th-mid{align-items:center}
.th-21{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:32px;align-items:start}
.th-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 20px;margin-bottom:28px}
.th-3 .th-f{height:210px}
.th-3 .th-f>img{object-fit:cover}
.th-more{border-top:1px solid #3a3a36;border-bottom:1px solid #3a3a36;align-self:stretch}
.th-more summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;padding:13px 0;font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--ink)}
.th-more summary::-webkit-details-marker{display:none}
.th-more[open] summary .th-pk{display:inline-block;transform:rotate(45deg)}
.th-more summary:hover{color:var(--pk)}
.th-mb{display:flex;flex-direction:column;gap:16px;padding:8px 0 22px}
.th-mb.th-2{display:grid}
.th-mb .th-f{height:auto}.th-mb .th-f>img{height:auto}
.th-mb .th-3 .th-f>img{height:100%}
.th-mb .th-f figcaption{position:static;padding:8px 0 0;background:#0c0c0b}
.th-map{height:440px;overflow:hidden}.th-map>img{object-fit:cover}
.th-map .th-insp>.th-m,.th-axo .th-insp>.th-m{top:0}
.th-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
.th-tiles div{border-top:1px solid #3a3a36;padding-top:10px;display:flex;flex-direction:column;gap:4px}
.th-tiles b{font-family:var(--mono);font-weight:300;font-size:28px;letter-spacing:.04em;color:var(--ink)}
.th-key{display:inline-block;width:10px;height:3px;vertical-align:middle}.th-key.c{background:var(--ink)}.th-key.b{background:var(--pk)}
.th-bar{display:grid;grid-template-columns:150px minmax(0,1fr) 54px 100px;gap:12px;align-items:center}
.th-bt{position:relative;height:10px;background:#161615}
.th-bt i{position:absolute;left:0;top:0;bottom:0;background:var(--ink);transform-origin:left;transform:scaleX(0);transition:transform 1.1s cubic-bezier(.3,.6,.3,1)}
.th-bar.in .th-bt i{transform:none}
.th-bt b{position:absolute;top:-3px;bottom:-3px;width:1px;background:var(--pk)}
.th-lead{max-width:640px}
.th-layers{height:540px;overflow:hidden}
.th-L{position:absolute;inset:0;opacity:0;transition:opacity .6s}
.th-L.on{opacity:1}
.th-rows{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--ln)}
.th-rows button{all:unset;cursor:pointer;box-sizing:border-box;width:100%;display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;padding:14px 0;border-top:1px solid var(--ln)}
.th-rows button>span:last-child{display:flex;flex-direction:column;gap:6px}
.th-rows button .th-p{font-size:13px;color:#6f6e69;transition:color .3s}
.th-rows button .th-w{color:var(--dim)}
.th-rows button.on{border-top-color:var(--ink)}
.th-rows button.on .th-p{color:#bdbcb5}.th-rows button.on .th-w,.th-rows button.on>.th-m{color:var(--ink)}
.th-rows button.on>.th-m{color:var(--pk)}
.th-rows button:focus-visible{outline:1px dashed var(--ink);outline-offset:4px}
.th-dw{height:380px;overflow:hidden}
.th-pan{height:320px;overflow:hidden}
.th-pan-in{position:absolute;inset:0;overflow-x:auto;overflow-y:hidden;cursor:grab;scrollbar-width:none;touch-action:pan-x}
.th-pan-in::-webkit-scrollbar{display:none}
.th-pan-in.drag{cursor:grabbing}
.th-pan-in img{height:100%;width:auto;max-width:none;display:block;user-select:none}
.th-axo{height:660px}
.th-col .th-f{height:520px;overflow:hidden}.th-col .th-f>img{object-fit:cover}
.th-poster{aspect-ratio:1969/1390;overflow:hidden;cursor:crosshair}
.th-lens{position:absolute;left:0;top:0;width:260px;height:180px;border:1px solid var(--ink);background-repeat:no-repeat;opacity:0;transition:opacity .25s;pointer-events:none;z-index:2}
.th-lens .th-m{position:absolute;left:0;top:calc(100% + 8px);white-space:nowrap}
.th-poster.lensing .th-lens{opacity:1}
.th-font{display:flex;flex-direction:column;gap:18px;padding:28px;height:auto!important}
.th-font img{height:auto!important}
@media (max-width:900px){
  .th{grid-template-columns:minmax(0,1fr);padding:72px 18px 90px}
  .th-rail{display:none}
  .th-2,.th-21{grid-template-columns:minmax(0,1fr)}
  .th-3{grid-template-columns:minmax(0,1fr)}
  .th-bar{grid-template-columns:110px minmax(0,1fr) 48px}.th-bar>.th-m:last-child{display:none}
}
.th-col .th-mb .th-f{height:auto}.th-col .th-mb .th-f>img{object-fit:contain;height:auto}
.project.thp .pimgs{display:block!important;width:100%!important}
.project.thp .pbody{width:100%!important;max-width:none!important}
.th{width:100%}
.th-pan{height:400px}
.th-pan-in{overflow:hidden!important;touch-action:pan-y}
.th-pan-in img{height:1000px}
.th-pan>.th-m{background:#0c0c0b;padding:2px 4px}
/* never crop drawings top or bottom: frames take the image's own proportions */
.th-cover{height:auto;aspect-ratio:1965/1386}
.th-3 .th-f{height:auto;aspect-ratio:16/10}
.th-3 .th-f>img{object-fit:contain}
.th-mb .th-3 .th-f{aspect-ratio:auto;height:300px}
.th-map{height:auto;aspect-ratio:1920/1138}.th-map>img{object-fit:contain}
.th-col .th-f{height:auto}.th-col .th-f>img{object-fit:contain;height:auto}
/* slim rail: numbers only, the chapter name shows beside the active one and on hover; content gets the width */
.th{max-width:1640px;grid-template-columns:44px minmax(0,1fr);gap:0 36px;padding:84px 40px 120px}
.th-rail{gap:18px;top:110px}
.th-rail ol{gap:4px}
.th-rail li{position:relative}
.th-rail a{gap:0;padding:6px 0;position:relative}
.th-rail a span:first-child{display:inline-block;width:28px;border-left:1px solid #3a3a36;padding-left:8px;transition:border-color .3s}
.th-rail a.on span:first-child{border-left-color:var(--pk)}
.th-rail a span:last-child{position:absolute;left:44px;top:50%;transform:translate(-6px,-50%);opacity:0;white-space:nowrap;pointer-events:none;background:#0c0c0b;padding:3px 8px;border:1px solid #2a2a27;transition:opacity .3s,transform .3s}
.th-rail a.on span:last-child::before{content:none}
.th-rail a:hover span:last-child,.th-rail.moving a.on span:last-child{opacity:1;transform:translate(0,-50%)}
.th-rail a.on span:last-child{color:var(--pk);border-color:#4a1530}
.th-pct{writing-mode:vertical-rl;transform:rotate(180deg);color:#5f5e59!important;margin-top:6px}
.th-keyrow{display:flex;flex-wrap:wrap;gap:8px 22px;border-top:1px solid var(--ln);padding-top:14px}
.th-keyrow .th-m:not(.th-w){color:#5f5e59}
.th-rail{z-index:6}
/* Projects stage: a taller frame lifted off the caption, so the object can grow and sit in the middle */
@media (min-width:761px){ .ps.pjs .ps-hud{top:8%;bottom:23%} }
/* read more: always a full-width row at the end of its chapter, same layout everywhere */
.th-stack{display:flex;flex-direction:column;gap:28px}
.th-stack>.th-col{max-width:820px}
.th-s>.th-more,.th-stack>.th-more{width:100%}
.th-mb{padding:22px 0 30px;gap:30px}
.th-mbt{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 40px}
.th-mbt.c4{grid-template-columns:repeat(4,minmax(0,1fr))}
.th-mbt .th-p b{display:block;margin-bottom:8px}
.th-mb .th-3{margin-bottom:34px}
.th-mb .th-3 .th-f{aspect-ratio:4/3;height:auto}
.th-mb .th-3 .th-f>img{object-fit:contain;height:100%}
.th-mb .th-3 .th-f figcaption{position:absolute;left:0;top:calc(100% + 10px);padding:0;background:none}
.th-mbd{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:28px 48px;align-items:start}
.th-mbd .th-col{gap:14px}
.th-zone{height:auto!important}.th-zone>img{height:auto!important;object-fit:contain!important}
.th-zone figcaption{position:static!important;padding:8px 10px!important;background:#0c0c0b!important}
@media (max-width:900px){.th-mbt,.th-mbt.c4,.th-mbd{grid-template-columns:minmax(0,1fr)}}
/* plans and sections at printed size: never fitted, larger than the frame they pan */
.th-truecol{display:flex;flex-direction:column;gap:30px;align-items:flex-start}
.th-true{overflow:hidden;max-width:100%}
.th-true .th-pan-in{position:absolute;inset:0;overflow:hidden!important;cursor:default;touch-action:pan-y}
.th-true.canpan .th-pan-in{cursor:grab}.th-true .th-pan-in.drag{cursor:grabbing}
.th-true .th-pan-in img{max-width:none;display:block;user-select:none}
.th-true>.th-m{background:#0c0c0b;padding:2px 4px}
/* the three steps share one scale: same width, natural height */
.th-s>.th-3{align-items:start}
.th-s>.th-3 .th-f{aspect-ratio:auto;height:auto}
.th-s>.th-3 .th-f>img{height:auto;object-fit:fill}
/* exploded axo on its own row, renders at full page width */
.th-axorow{display:flex;justify-content:center}
.th-axorow .th-axo{width:min(100%,760px);height:auto;aspect-ratio:1300/1479}
.th-renders{display:flex;flex-direction:column;gap:36px;margin-top:20px}
.th-render{height:auto;background:#050505}
.th-render>img{height:auto;width:100%;object-fit:fill}
.th-render>.th-m{background:rgba(12,12,11,.8);padding:2px 4px}
/* whole drawings, never cropped: one sheet scale for all (the A3 width fills the column), so 1:50 and 1:100 keep their printed proportion */
.th-true{height:auto!important}
.th-true .th-pan-in img{width:100%!important;height:100%!important;object-fit:contain}
/* read more: pink, so it reads as something to open */
.th-more summary{color:var(--pk);transition:color .25s,background .25s;padding-left:10px;padding-right:10px;margin:0 -10px}
.th-more summary .th-pk{color:var(--pk)}
.th-more summary>span:last-child{color:#7a2a52}
.th-more summary:hover,.th-more summary:focus-visible{color:#ff4fa6;background:rgba(224,0,120,.08);outline:none}
.th-more{border-color:rgba(224,0,120,.35)}
.th-more[open]{border-color:rgba(224,0,120,.6)}
/* Host data in the HUD language: values as runs of ticks, references as pink and grey markers, a ruler timeline */
.th-data{gap:46px}
.th-dg{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:40px 56px;align-items:start}
.th-dc{display:flex;flex-direction:column;gap:14px;min-width:0}
.th-dc>header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--ln);padding-bottom:10px}
.th-key.d{background:#7a7973}
.th-tb{display:grid;grid-template-columns:200px minmax(0,1fr) 56px 140px;gap:14px;align-items:center}
.th-trk{position:relative;height:12px;background:repeating-linear-gradient(90deg,#2c2c29 0 1px,transparent 1px 6px)}
.th-trk i{position:absolute;left:0;top:0;bottom:0;background:repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 6px);transform-origin:left;transform:scaleX(0);transition:transform 1.2s cubic-bezier(.3,.6,.3,1)}
.th-bar.in .th-trk i,.th-trk.th-bar.in i{transform:none}
.th-trk em{position:absolute;top:-5px;bottom:-5px;width:2px;margin-left:-1px}
.th-trk em.b{background:var(--pk)}.th-trk em.d{background:#7a7973}
.th-trk.sm{height:8px;margin-top:4px}
.th-ro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;align-items:baseline;padding:10px 0;border-bottom:1px solid #1e1e1c}
.th-ro b{font-family:var(--mono);font-weight:300;font-size:24px;color:var(--ink);text-align:right}
.th-ro>.th-m:nth-of-type(2){grid-column:1/-1;color:#5f5e59}
.th-ro .th-trk{grid-column:1/-1}
.th-stk{display:flex;height:46px;gap:3px}
.th-stk i{position:relative;background:repeating-linear-gradient(90deg,#bdbcb5 0 1px,transparent 1px 5px);transform-origin:left;transform:scaleX(0);transition:transform 1.2s cubic-bezier(.3,.6,.3,1)}
.th-stk i:first-child{background:repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 5px)}
.th-stk.in i{transform:none}
.th-stk i span{position:absolute;left:0;top:calc(100% + 8px);white-space:nowrap}
.th-stk i:nth-child(3) span{top:auto;bottom:calc(100% + 8px)}
.th-dc:has(.th-stk){margin-bottom:24px}
.th-tl{list-style:none;margin:30px 0 0;padding:0;position:relative;height:118px;border-top:1px solid #4a4a46;
  background:repeating-linear-gradient(90deg,#4a4a46 0 1px,transparent 1px 2%) top/100% 6px no-repeat}
.th-tl li{position:absolute;left:var(--x);top:0;width:16%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;opacity:0;transition:opacity .6s}
.th-tl.in li{opacity:1}.th-tl.in li:nth-child(2){transition-delay:.15s}.th-tl.in li:nth-child(3){transition-delay:.3s}.th-tl.in li:nth-child(4){transition-delay:.45s}.th-tl.in li:nth-child(5){transition-delay:.6s}
.th-tl li::before{content:"";width:1px;height:16px;background:var(--ink)}
.th-tl li.pk::before{background:var(--pk);height:22px;width:2px}
.th-tl li b{font-family:var(--mono);font-weight:400;font-size:12px;letter-spacing:.12em;color:var(--ink)}
.th-tl li.pk b{color:var(--pk)}
.th-tl li .th-m{text-transform:none;letter-spacing:.04em;line-height:1.5;font-size:11px}
.th-zrow{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:28px 40px;align-items:start}
.th-zrow .th-zone{width:100%}
@media (max-width:900px){.th-dg,.th-zrow{grid-template-columns:minmax(0,1fr)}.th-tb{grid-template-columns:120px minmax(0,1fr) 48px}.th-tb>.th-m:last-child{display:none}.th-tl{height:auto;display:flex;flex-direction:column;gap:14px;background:none;border:0}.th-tl li{position:static;transform:none;width:auto;align-items:flex-start;text-align:left}}
.th-dh{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--ln);padding-bottom:10px;text-align:left}
.th-anim.in .th-trk i,.th-trk.th-anim.in i{transform:none}
.th-stk.th-anim.in i{transform:none}
.th-tl.th-anim.in li{opacity:1}
.th-zrow{grid-template-columns:minmax(0,230px) minmax(0,1fr)}
.th-zrow{grid-template-columns:minmax(0,170px) minmax(0,1fr);align-items:center}
.th-stk{gap:8px}
/* fragments: every layer is a whole sheet, never cropped */
.th-layers{height:auto;aspect-ratio:1.414/1}
.th-layers>img.th-L{object-fit:contain;width:100%;height:100%}
/* plan compare: living room level black on white, upper room level white on black, wiped */
.th-cmp{--x:50%;cursor:ew-resize;touch-action:pan-y;background:#fff}
.th-cmp .th-pan-in{cursor:ew-resize!important}
.th-cmp .th-pan-in img{position:absolute;inset:0}
.th-cmp .cb{filter:invert(1) grayscale(1);clip-path:inset(0 0 0 var(--x))}
.th-cmp .knob{position:absolute;top:0;bottom:0;left:var(--x);width:2px;margin-left:-1px;background:var(--star);pointer-events:none;z-index:3}
.th-cmp .knob::before{content:"";position:absolute;top:50%;left:50%;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);background:var(--star);box-shadow:0 0 10px rgba(224,0,120,.6)}
.th-cmp input{position:absolute;left:0;right:0;bottom:0;width:100%;height:28px;margin:0;opacity:0;cursor:ew-resize;z-index:4}
/* assembly point cloud */
.th-asm{height:auto!important;aspect-ratio:16/10;background:#050505;overflow:hidden;cursor:crosshair}
.th-asm>canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.th-asm>.th-m{background:#0c0c0b;padding:2px 4px;z-index:2}
.th-asm-st{display:flex;gap:2px;align-items:center;z-index:3!important}
/* fragments: the two residents */
.th-res{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,170px) minmax(0,170px) minmax(0,1fr);gap:20px 0;align-items:center;margin-top:36px}
.th-res>:nth-child(1){grid-column:2;grid-row:1;justify-self:start}
.th-res>.th-pc{width:calc(100% - 3px);align-self:center}
.th-res>:nth-child(2){grid-column:1;grid-row:1;text-align:right;align-items:flex-end;padding-right:32px}
.th-res>:nth-child(3){grid-column:3;grid-row:1;justify-self:end}
.th-res>:nth-child(4){grid-column:4;grid-row:1;padding-left:32px}
.th-res>.th-f{height:auto!important;aspect-ratio:254/900;background:#0c0c0b}
.th-res>.th-f>img{object-fit:contain!important;width:100%;height:100%}
.th-res>.th-pc{cursor:crosshair}
.th-res>.th-pc>canvas{display:block;width:100%;height:100%}
.th-res .th-col{display:flex;flex-direction:column;gap:8px}
@media(max-width:760px){.th-res{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 6px}
.th-res>:nth-child(1){grid-column:1;grid-row:1}.th-res>:nth-child(3){grid-column:2;grid-row:1}
.th-res>:nth-child(2){grid-column:1;grid-row:2;text-align:left;align-items:flex-start;padding:0 8px 0 0}.th-res>:nth-child(4){grid-column:2;grid-row:2;padding:0 0 0 8px}}
.th-asm-st button{font:inherit;letter-spacing:inherit;text-transform:inherit;color:#ecebe5;background:none;border:1px solid #2a2a27;padding:2px 6px;cursor:pointer;opacity:.55}
.th-asm-st button:hover{opacity:.85}
.th-asm-st button.on{opacity:1;border-color:var(--star);color:#fff}
/* s2: column fills the map height; extra data blocks */
#s2>.th-21{align-items:stretch;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
@media (max-width:900px){#s2>.th-21{grid-template-columns:minmax(0,1fr)}}
#s2>.th-21>.th-col{display:flex;flex-direction:column;justify-content:space-between;gap:28px}
.th-tiles3{grid-template-columns:repeat(3,minmax(0,1fr))}
.th-dc .th-tiles b{font-size:22px}
.th-dc .th-tiles .th-m+b+.th-m{text-transform:none;letter-spacing:.04em;font-size:11px;line-height:1.45}
.th-dn{text-transform:none;letter-spacing:.04em;line-height:1.6;margin:0;color:#8a8983}
.th-stk2 i span{top:calc(100% + 8px)!important;bottom:auto!important}
.th-stk2{margin-bottom:28px}
.th-pkr>.th-m:first-child,.th-pkr>.th-w{color:var(--pk)}
@media (min-width:901px){.th-tl li:first-child{transform:none;align-items:flex-start;text-align:left}.th-tl li:last-child{transform:translateX(-100%);align-items:flex-end;text-align:right}}
@media (max-width:760px){.th-tiles3{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* phone: the rail is hidden, so the page is one column (a later 44px rail column was squeezing it) */
@media (max-width:900px){.th{grid-template-columns:minmax(0,1fr);gap:0;padding:72px 18px 90px}}
/* read more: text columns line up with the image columns above them */
.th-mb .th-3+.th-mbt{column-gap:20px}
@media (max-width:600px){.th-title h2{font-size:9vw!important;letter-spacing:.06em!important}.th-asm .th-asm-k,.th-asm .th-asm-n{display:none}}
/* lab: playable game */
.lb-playb{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#fff;background:rgba(12,12,11,.82);border:1px solid #E00078;padding:10px 16px;cursor:pointer;transition:background .25s}
.lb-playb:hover{background:#E00078}
.lb-play{position:absolute;inset:0;z-index:6;background:rgba(12,12,11,.97);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
.lb-play[hidden]{display:none}
.lb-pf{width:min(92%,calc((100% - 120px)*1.6));aspect-ratio:16/10;border:1px solid #2a2a27;background:#0c0c0b}
.lb-pf{position:relative}
.lb-pf canvas{position:absolute;inset:0;width:100%;height:100%;display:block;outline:none;background:#0c0c0b}
.lb-pl{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#ecebe5;pointer-events:none}
.lb-pb{width:min(320px,60%);height:6px;background:repeating-linear-gradient(90deg,#3a3a36 0 2px,transparent 2px 5px)}
.lb-pb i{display:block;height:100%;width:0;background:repeating-linear-gradient(90deg,#ecebe5 0 2px,transparent 2px 5px)}
.lb-ps{color:#8a8983}
.lb-pfs{position:absolute;right:10px;bottom:8px;font-family:var(--mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#8a8983;background:rgba(12,12,11,.6);border:1px solid #2a2a27;padding:4px 8px;cursor:pointer}
.lb-pfs:hover{color:#ecebe5}
.lb-pk{display:flex;gap:28px;font-family:var(--mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#8a8983}
.lb-play .ph-x{position:absolute;top:22px;right:28px;font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#ecebe5;background:none;border:0;cursor:pointer}

/* Pixel RPG: the project opens as the game cover with one Play button on it, no text page */
.pcover .pplay{white-space:nowrap;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);align-self:auto;background:#0b0c0ce6;color:#ecebe5;border-color:#ecebe5;pointer-events:auto;z-index:5;font-size:12px;padding:14px 20px 14px 16px}
.pcover .pplay:hover,.pcover .pplay:focus-visible{background:#ecebe5;color:#0c0c0b}
body.playp #pinfo, body.playp .phead, body.playp #pimgs, body.playp #pscroll, body.playp .ph-facts{display:none!important}
