:root{--bg:#f0e6d0;--card:#faf2e0;--bold:#1d1b16;--on-bold:#fbf5e9;--ink:#1d1b16;--soft:#5e594d;--edge:#1d1b16;--shadow:#1d1b16;--dots:rgba(29,27,22,.16);--cell:rgba(29,27,22,.09);
 --mint:#c9ead3;--butter:#e4dcc8;--peach:#ffc7ad;--sky:#cbdcff;--lilac:#e4d4ff;--hot:#ff5c39;--on-hot:#1d1b16}
[data-theme=dark]{--bg:#14161b;--card:#1d2027;--ink:#f3eee2;--soft:#aaa597;--edge:#646a7a;--shadow:#000;--dots:#262a33;--cell:rgba(255,255,255,.07);
 --mint:#1d3a2b;--butter:#2b2f3a;--bold:#3b38b5;--on-bold:#f3eee2;--peach:#4d1d24;--sky:#1b2c4e;--lilac:#33264f;--hot:#ff6d4d;--on-hot:#14161b}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg) radial-gradient(var(--dots) 1px,transparent 1px) 0 0/26px 26px fixed;color:var(--ink);font-family:'Hanken Grotesk',system-ui,sans-serif;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;transition:background-color .3s,color .3s}
a{color:inherit}
.wrap{max-width:1200px;margin:0 auto;padding:0 clamp(14px,3vw,32px)}
html{overflow-x:clip}
/* header sticks to the very top; a full-width strip in the page's own background sits behind it, so nothing
   shows through a gap above or beside the menu while scrolling (operator 2026-11-17) */
header{position:sticky;top:0;z-index:20;padding:10px 0 8px}
header::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;background:var(--bg) radial-gradient(var(--dots) 1px,transparent 1px) 0 0/26px 26px fixed}
.pill{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--card);border:2px solid var(--edge);border-radius:999px;padding:8px 8px 8px 22px;box-shadow:4px 4px 0 var(--shadow);transition:background .3s}
.me{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.15rem;text-decoration:none;letter-spacing:-.02em}
.me b{color:var(--hot)}
.pill nav{display:flex;gap:2px;align-items:center}
.pill nav a{text-decoration:none;font-weight:500;font-size:.93rem;padding:7px 12px;border-radius:999px;transition:background .2s}
.pill nav a:hover,.pill nav a.here{background:var(--butter)}
.mi{position:relative;display:flex;align-items:center}
.sub-t{font:inherit;font-size:.7rem;line-height:1;background:none;border:0;color:var(--soft);cursor:pointer;padding:8px 4px;min-width:24px;min-height:24px;margin-left:-11px}
.mi.has-sub::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.sub{display:none;position:absolute;top:calc(100% + 12px);left:-8px;min-width:240px;flex-direction:column;gap:2px;background:var(--card);border:2px solid var(--edge);border-radius:20px;padding:8px;box-shadow:4px 4px 0 var(--shadow);z-index:30}
.mi:hover>.sub,.mi:focus-within>.sub,.mi.open>.sub{display:flex}
.pill nav .sub a{display:flex;align-items:center;gap:9px;border-radius:12px;padding:9px 12px;font-size:.92rem;white-space:nowrap}
.sub a i{width:9px;height:9px;border-radius:50%;background:var(--dot);flex:none}
.sub a b{margin-left:auto;padding-left:14px;font-weight:600;font-size:.78em;opacity:.7}
.sub hr{border:0;border-top:2px dotted var(--edge);margin:4px 6px}
.toggle{font:inherit;font-weight:600;font-size:.88rem;background:var(--ink);color:var(--bg);border:0;border-radius:999px;padding:9px 16px;cursor:pointer;transition:transform .2s}
.toggle:hover{transform:rotate(-3deg) scale(1.05)}
.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px;padding:16px 0 40px}
.c3{grid-column:span 3}.c4{grid-column:span 4}.c5{grid-column:span 5}.c7{grid-column:span 7}.c8{grid-column:span 8}.c9{grid-column:span 9}.c12{grid-column:span 12}
.t{min-width:0;background:var(--card);border:2px solid var(--edge);border-radius:28px;padding:clamp(20px,2.4vw,32px);box-shadow:5px 5px 0 var(--shadow);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,background .3s;animation:pop .55s cubic-bezier(.2,.9,.3,1.2) backwards}
/* tiles stay put on hover (operator 2026-11-17); only a tile that is itself a link reacts */
a.t:hover{transform:translate(-3px,-3px);box-shadow:8px 8px 0 var(--shadow)}
@keyframes pop{from{opacity:0;transform:translateY(22px) scale(.97)}}
.grid>.t:nth-child(2){animation-delay:.08s}.grid>.t:nth-child(3){animation-delay:.16s}.grid>.t:nth-child(4){animation-delay:.24s}
.mint{background:var(--mint)}.butter{background:var(--butter)}.peach{background:var(--peach)}.sky{background:var(--sky)}.lilac{background:var(--lilac)}
.hot{background:var(--hot);color:var(--on-hot)}
.chip{display:inline-block;font-size:.74rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;background:var(--ink);color:var(--bg);border-radius:999px;padding:5px 12px}
.hero{grid-column:span 8;padding:clamp(28px,4vw,54px)}
.hero h1{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(2.7rem,7vw,5.6rem);line-height:.95;letter-spacing:-.045em;margin:20px 0 22px}
.hero h1 span{background:var(--hot);color:var(--on-hot);border-radius:.22em;padding:0 .14em;display:inline-block;transform:rotate(-1.5deg)}
.hero p{font-size:clamp(1.02rem,1.5vw,1.2rem);max-width:34em;color:var(--soft)}
.hero.page{grid-column:span 12}
.hero.page h1{font-size:clamp(2.4rem,6vw,4.4rem);margin:16px 0 14px}
.btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.btn{display:inline-block;font-weight:600;text-decoration:none;border:2px solid var(--edge);border-radius:999px;padding:12px 22px;background:var(--card);color:var(--ink);box-shadow:3px 3px 0 var(--shadow);transition:transform .15s,box-shadow .15s}
.btn.main{background:var(--hot);color:var(--on-hot)}
.btn.sm{padding:8px 16px;font-size:.9rem}
.btn:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 var(--shadow)}
.btn:active{transform:translate(3px,3px);box-shadow:0 0 0 var(--shadow)}
.nums{grid-column:span 4;display:grid;grid-template-columns:1fr 1fr;gap:18px}
.num{border:2px solid var(--edge);border-radius:28px;padding:20px;box-shadow:5px 5px 0 var(--shadow);display:flex;flex-direction:column;justify-content:flex-end;min-height:150px;animation:pop .55s .1s cubic-bezier(.2,.9,.3,1.2) backwards}
.num b{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(2rem,3.4vw,2.9rem);line-height:1;letter-spacing:-.04em}
.num span{font-size:.86rem;line-height:1.3;margin-top:6px}
.about{grid-column:span 7}
.about h2,.head h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.05;letter-spacing:-.035em;margin:14px 0 16px}
.about p{margin-bottom:.95em;color:var(--soft)}
.about p:first-of-type{color:var(--ink);font-size:1.08rem}
.stack{grid-column:span 5;display:flex;flex-direction:column}
.stack h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.5rem;letter-spacing:-.03em;margin:14px 0 18px}
.tags{list-style:none;display:flex;flex-wrap:wrap;gap:9px}
.tags li{background:var(--card);color:var(--ink);border:2px solid var(--edge);border-radius:999px;padding:7px 14px;font-weight:500;font-size:.9rem;transition:transform .2s,background .2s}
.tags li:nth-child(3n+1):hover{transform:rotate(-4deg) scale(1.06);background:var(--butter)}
.tags li:nth-child(3n+2):hover{transform:rotate(3deg) scale(1.06);background:var(--peach)}
.tags li:nth-child(3n):hover{transform:rotate(-2deg) scale(1.06);background:var(--mint)}
.stack .note{margin-top:auto;padding-top:22px;font-size:.92rem;color:var(--soft)}
.head{grid-column:span 12;padding:26px 6px 0;display:flex;align-items:baseline;gap:18px;flex-wrap:wrap}
.head h2{margin:0;font-size:clamp(2rem,4vw,3rem)}
.head p{color:var(--soft)}
.head .btn{margin-left:auto}
.biz{grid-column:span 6;display:flex;flex-direction:column;gap:14px}
.biz .top{display:flex;align-items:center;gap:14px}
.biz img.logo,.biz .mono{width:60px;height:60px;border-radius:18px;border:2px solid var(--edge);object-fit:cover;background:#fff;flex:none}
.biz .mono{display:grid;place-items:center;font-size:1.7rem;background:var(--card)}
.biz h3{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(1.5rem,2.6vw,2.1rem);line-height:1;letter-spacing:-.035em;overflow-wrap:anywhere}
.biz .role{font-size:.8rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;opacity:.7;margin-top:4px}
.links{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px;padding-top:6px}
.links a{text-decoration:none;font-size:.86rem;font-weight:500;background:var(--card);border:2px solid var(--edge);border-radius:999px;padding:6px 13px;transition:transform .15s}
.links a:hover{transform:translateY(-2px)}
.links a.go{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.contact{grid-column:span 12;display:flex;justify-content:space-between;align-items:center;gap:28px;flex-wrap:wrap;padding:clamp(30px,5vw,60px)}
.contact h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(2.4rem,6.4vw,5rem);line-height:.95;letter-spacing:-.045em}
.contact p{max-width:30em;margin-top:12px;font-weight:500}
.contact .btn{background:var(--ink);color:var(--bg);border-color:var(--ink);font-size:1.1rem;padding:16px 28px}
footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:8px 6px 96px;font-size:.88rem;color:var(--soft)}

.stack.bold{background:var(--bold);color:var(--on-bold)}
.stack.bold .note{color:var(--on-bold);opacity:.8}
.stack.bold .chip{background:var(--hot);color:var(--on-hot)}
.right{display:flex;gap:8px;align-items:center}
.menu{display:none;font:inherit;font-weight:600;font-size:.88rem;background:var(--card);color:var(--ink);border:2px solid var(--edge);border-radius:999px;padding:7px 14px;cursor:pointer}
section[id],div[id]{scroll-margin-top:96px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
@media (max-width:900px){
 .menu{display:inline-block}
 /* Phone menu = a full-screen layer (operator 2026-11-17). It sits behind the menu bar (z-index -1 inside the
    header), so the logo, the Close button and the theme button stay on top. nav.js locks page scrolling and makes
    everything behind it inert, so keyboard and screen reader stay inside the menu until it is closed. */
 .pill nav{display:none;align-items:stretch;gap:0;flex-direction:column;position:fixed;z-index:-1;inset:0;overflow:auto;overscroll-behavior:contain;scroll-padding:92px 0 16px;padding:92px clamp(16px,5vw,32px) 32px;background:var(--bg) radial-gradient(var(--dots) 1px,transparent 1px) 0 0/26px 26px}
 .pill nav.open{display:flex}
 .pill nav a{padding:13px 10px;font-size:1.12rem}
 .pill nav>.mi+.mi{border-top:2px dotted var(--edge)}
 html.menu-open{overflow:hidden}
 .mi{flex-wrap:wrap}
 .mi>a{flex:1}
 .sub-t,.mi.has-sub::after{display:none}
 .sub,.mi:hover>.sub{display:flex;position:static;min-width:0;width:100%;border:0;box-shadow:none;background:none;padding:0 0 8px 16px}
 .pill nav .sub a{padding:9px 14px;font-size:1rem;white-space:normal}
 .pill nav .sub a.in{padding:7px 14px 7px 34px;font-size:.95rem}
 .hero,.nums,.about,.stack,.biz{grid-column:span 12}
 .num{min-height:120px}
}

/* ---------- updates feed (home section + /updates/) ---------- */
[hidden]{display:none!important}
:root{--teal:#c3e7ea}
[data-theme=dark]{--teal:#16393f}
.l-jsplinter{--lc:var(--teal);--dot:#12a0ad}.l-personal{--lc:var(--butter);--dot:#e5a800}.l-blockspot{--lc:var(--sky);--dot:#4a7dff}.l-voucheralarm{--lc:var(--peach);--dot:#ff7a4d}.l-automateandtweak{--lc:var(--mint);--dot:#2fae66}.l-games{--lc:var(--lilac);--dot:#9b6bff}
.lab{display:inline-flex;align-items:center;gap:7px;font-size:.76rem;font-weight:600;background:var(--card);color:var(--ink);border:2px solid var(--edge);border-radius:999px;padding:3px 11px 3px 9px;white-space:nowrap}
.lab i,.f i{width:9px;height:9px;border-radius:50%;background:var(--dot);flex:none}
.meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.82rem;color:var(--soft)}
.new,.pin{font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:2px 9px}
.new{background:var(--hot);color:var(--on-hot)}.pin{background:var(--ink);color:var(--bg)}
.upd{display:flex;flex-direction:column;gap:10px}
.upd h3{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(1.7rem,3vw,2.3rem);line-height:1.08;letter-spacing:-.03em}
.upd p{font-size:.98rem}
.now{background:var(--bold);color:var(--on-bold)}
.now .meta{color:var(--on-bold)}
.now .chip,.now .more{background:var(--hot);color:var(--on-hot);border-color:var(--hot)}
.now .pin{background:var(--on-bold);color:var(--bold)}
.foot{margin-top:auto;display:flex;gap:8px;flex-wrap:wrap;padding-top:6px}
.more,.copy{font:inherit;font-size:.8rem;font-weight:600;text-decoration:none;background:var(--card);color:var(--ink);border:2px solid var(--edge);border-radius:999px;padding:5px 12px;cursor:pointer;transition:transform .15s}
.more:hover,.copy:hover{transform:translateY(-2px)}
.more{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.t h4,.side h4{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--soft)}
.rows{list-style:none}
.rows li+li{border-top:2px dotted var(--edge)}
.rows a{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 6px;text-decoration:none;border-radius:12px;transition:padding .2s,background .2s}
.rows a:hover{background:var(--bg);padding-left:14px}
.rows time{font-size:.8rem;color:var(--soft);width:84px}
.rows strong{flex:1 1 220px;font-weight:600}
.quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;align-items:center;font-size:.85rem;color:var(--soft)}
.f{font:inherit;font-size:.88rem;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:8px;background:var(--card);color:var(--ink);border:2px solid var(--edge);border-radius:999px;padding:7px 14px;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}
.f b{font-weight:600;opacity:.7;font-size:.8em}
.f:hover{transform:translateY(-2px)}
.f[aria-pressed=true]{background:var(--lc);box-shadow:3px 3px 0 var(--shadow)}
.f.all[aria-pressed=true]{background:var(--ink);color:var(--bg)}
.f[aria-current=page]{background:var(--lc);box-shadow:3px 3px 0 var(--shadow)}
.f.all[aria-current=page]{background:var(--ink);color:var(--bg)}
.one{background:var(--lc);padding:clamp(26px,4vw,48px)}
.upd h1{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(2rem,4.6vw,3.4rem);line-height:1.02;letter-spacing:-.04em}
.one p{font-size:1.1rem;max-width:40em}
.empty h1{font-family:'Bricolage Grotesque',sans-serif;font-size:1.8rem;letter-spacing:-.03em}
.vlist{display:flex;flex-direction:column;gap:8px}
.vlist .f{justify-content:flex-start}.vlist .f b{margin-left:auto}
.search input{font:inherit;font-size:.92rem;width:100%;background:var(--card);color:var(--ink);border:2px solid var(--edge);border-radius:999px;padding:8px 16px}
.search input:focus{box-shadow:3px 3px 0 var(--hot)}
.count{margin:0 6px 14px;font-size:.9rem;color:var(--soft);display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.count button,.jump button,.rss{font:inherit;font-size:.86rem;font-weight:600;background:none;color:var(--ink);border:0;padding:3px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.jump button{display:block;font-weight:500}
.two{align-items:start}
.side{position:sticky;top:92px;display:flex;flex-direction:column;gap:10px}
.side h4{margin-top:10px}
.empty{text-align:center;padding:50px 20px}
.month{position:relative;padding-left:34px;padding-bottom:14px;scroll-margin-top:100px}
.month::before{content:"";position:absolute;left:10px;top:10px;bottom:-10px;width:2px;background:var(--edge)}
.month:last-of-type::before{bottom:30px}
.month>h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.5rem;letter-spacing:-.03em;margin-bottom:14px;position:relative}
.month>h2::before{content:"";position:absolute;left:-33px;top:.32em;width:16px;height:16px;border-radius:50%;background:var(--ink);border:2px solid var(--edge)}
.month>h2 span{font-family:'Hanken Grotesk',sans-serif;font-size:.85rem;font-weight:500;letter-spacing:0;color:var(--soft);margin-left:8px}
.ev{position:relative;background:var(--card);border:2px solid var(--edge);border-radius:20px;margin-bottom:12px;box-shadow:4px 4px 0 var(--shadow);transition:background .2s;scroll-margin-top:110px}
.ev::before{content:"";position:absolute;left:-31px;top:19px;width:12px;height:12px;border-radius:50%;background:var(--dot);border:2px solid var(--edge)}
.ev summary{list-style:none;cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 18px}
.ev summary::-webkit-details-marker{display:none}
.ev summary time{font-size:.82rem;color:var(--soft);width:60px}
.ev summary h3{font-weight:800;font-family:'Bricolage Grotesque',sans-serif;font-size:1.08rem;letter-spacing:-.02em;flex:1 1 220px}
.ev[open]{background:var(--lc)}
.ev[open] time{color:var(--ink)}
.evb{padding:0 18px 16px;display:flex;flex-direction:column;gap:10px}
.flash{outline:4px solid var(--hot);outline-offset:3px}
@media (max-width:900px){.c3,.c5,.c7,.c9{grid-column:span 12}.side{position:static}}
/* activity grid + share bar (homepage) */
:root{--cell:rgba(29,27,22,.09)}
[data-theme=dark]{--cell:rgba(255,255,255,.07)}
.heatgrid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,auto);gap:4px;margin-top:14px}
.heatgrid>*{aspect-ratio:1;border-radius:5px;background:var(--cell);display:block}
.heatgrid .fut{visibility:hidden}
.heatgrid a.on{background:var(--dot);border:2px solid var(--edge);color:#1d1b16;font-size:.6rem;font-weight:700;line-height:1;text-decoration:none;display:grid;place-items:center;transition:transform .15s}
.heatgrid a.on:hover{transform:scale(1.5)}
.sbar{display:flex;height:34px;border:2px solid var(--edge);border-radius:999px;overflow:hidden;margin:14px 0}
.sbar a{background:var(--dot);transition:filter .15s}
.sbar a+a{border-left:2px solid var(--edge)}
.sbar a:hover{filter:brightness(1.15)}
@media (max-width:900px){.c4,.c8{grid-column:span 12}}
/* project pages (/<project>/) */
.ph{display:flex;align-items:center;gap:14px}
.ph img{width:64px;height:64px;border-radius:18px;border:2px solid var(--edge);background:#fff;object-fit:contain;padding:6px}
.hero .tagline{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:clamp(1.2rem,2.2vw,1.6rem);line-height:1.2;letter-spacing:-.02em;color:var(--ink);margin:-8px 0 14px}
.asof{grid-column:1/-1;font-size:.78rem;color:var(--soft);margin-top:-8px}
.col{display:flex;flex-direction:column;gap:18px}
.offer{list-style:none;display:flex;flex-direction:column;gap:12px;margin-top:14px}
.offer b{display:block}
.offer span{font-size:.93rem;color:var(--soft)}
.tl{list-style:none;margin:16px 0 0 6px;border-left:2px solid var(--edge);padding-left:20px;display:flex;flex-direction:column;gap:14px}
.tl li{position:relative}
.tl li::before{content:"";position:absolute;left:-28px;top:.3em;width:10px;height:10px;border-radius:50%;background:var(--dot,var(--hot));border:2px solid var(--edge)}
.tl time{display:block;font-size:.76rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}
.shot{padding:10px}
.shot img{display:block;width:100%;height:auto;border-radius:20px}
.plist a small{display:block;color:var(--soft);font-size:.85rem;font-weight:400}
.contact.t{grid-column:span 12}
@media (max-width:900px){.col{grid-column:span 12}}
.xi{flex:none;width:16px;height:16px;color:var(--soft);transition:color .2s,transform .2s}
a:hover>.xi{color:var(--ink);transform:translate(2px,-2px)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* tags: badges, overview cards, tag pages */
.tagrow{display:flex;flex-wrap:wrap;gap:6px}
.tag{display:inline-flex;align-items:center;gap:5px;font-size:.74rem;font-weight:600;line-height:1.5;text-decoration:none;border-radius:8px;padding:1px 9px;background:hsl(var(--th,220) 85% 91%);color:hsl(var(--th,220) 65% 24%);border:1.5px solid hsl(var(--th,220) 50% 58%);transition:transform .15s}
.tag::before{content:"#";opacity:.5;margin-right:-4px}
.tag b{font-weight:600;opacity:.9}
a.tag:hover{transform:translateY(-2px)}
[data-theme=dark] .tag{background:hsl(var(--th,220) 45% 19%);color:hsl(var(--th,220) 85% 87%);border-color:hsl(var(--th,220) 45% 44%)}
.tagrow.big{gap:9px;margin-top:14px}
.tagrow.big .tag{font-size:.88rem;padding:4px 12px;border-radius:10px}
.now .tagrow{margin-top:2px}
.tagcard{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--ink)}
.tagcard .tag{align-self:flex-start;font-size:.95rem;padding:4px 12px;border-radius:10px}
.tagcard p{font-size:.93rem;color:var(--soft)}
.tagcard small{margin-top:auto;font-weight:600;font-size:.82rem}
.taghl{background:hsl(var(--th,220) 85% 88%)!important;color:hsl(var(--th,220) 65% 20%)!important}
[data-theme=dark] .taghl{background:hsl(var(--th,220) 45% 26%)!important;color:hsl(var(--th,220) 85% 90%)!important}
.evlist .ev::before{display:none}
.evlist .ev summary time{width:auto}
.btn .xi{vertical-align:-2px;color:inherit}
@media (max-width:900px){.evlist{grid-column:span 12}}
/* homepage skill tags that link to a tag page */
.tags li:has(a){padding:0}
.tags li a{display:block;padding:7px 14px;color:inherit;text-decoration:underline;text-decoration-color:var(--soft);text-decoration-thickness:1.5px;text-underline-offset:3px}
/* compact update list ("Recently" on the homepage, latest updates on project pages): one line per update */
.feed{list-style:none;margin-top:10px}
.feed li{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:9px 6px}
.feed li+li{border-top:2px dotted var(--edge)}
.feed time{flex:none;width:74px;font-size:.78rem;color:var(--soft)}
.feed.dates time{width:92px}
.feed .dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--dot);border:1.5px solid var(--edge)}
/* small project icon in front of an update (replaces the dot; operator 2026-11-17) */
.li{flex:none;width:22px;height:22px;border-radius:7px;border:1.5px solid var(--edge);background:#fff;object-fit:contain}
.li.bare{border:0;background:none}
.li.glyph{display:inline-grid;place-items:center;background:var(--lc);color:var(--ink)}
.li.glyph .ic{width:13px;height:13px;margin:0}
.feed .rt{flex:1 1 200px;font-weight:600;line-height:1.3;text-decoration:none}
.feed .rt:hover{text-decoration:underline;text-underline-offset:3px}
.feed .new,.feed .pin{font-size:.58rem;padding:1px 7px}
.feed .tagrow{margin-left:auto;gap:4px}
.feed .tag{font-size:.66rem;padding:0 7px;border-radius:7px}
/* tag page: long text */
.prose p{font-size:1.04rem;line-height:1.7;max-width:44em}
.prose p+p{margin-top:1em}
.prose a{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;text-decoration-color:var(--hot)}
.prose a:hover{text-decoration-thickness:3px}
/* Lucide icons in link chips */
.ic{flex:none;width:15px;height:15px;vertical-align:-2.5px;margin-right:6px}
.links a{display:inline-flex;align-items:center}
.links a .ic{margin-right:6px}
/* menu: indented third level (the games under JSplinter Games) */
.pill nav .sub a.in{padding:6px 12px 6px 31px;font-size:.86rem;color:var(--soft)}
.pill nav .sub a.in:hover{color:var(--ink)}
/* games inside the site: landing cards and the framed arcade stage */
.gamecard{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--ink)}
.gamecard .gicon{font-size:2.6rem;line-height:1}
.gamecard h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.5rem;line-height:1.1;letter-spacing:-.03em}
.gamecard p{color:var(--soft);font-size:.95rem}
.gamecard small{font-size:.8rem;font-weight:600;color:var(--soft);margin-top:auto;padding-top:6px}
.gamecard .btn{align-self:flex-start;margin-top:6px}
.stage{padding:8px;background:#0a0a12}
.stage iframe{display:block;width:100%;height:calc(100vh - 110px);min-height:680px;max-height:1200px;border:0;border-radius:20px;background:#0a0a12}
@media (max-width:900px){.gamecard{grid-column:span 12}.stage iframe{height:calc(100vh - 90px);min-height:560px}}

/* ---------- accessibility (WCAG 2.2 AA sweep 2026-11-17; doc: jsplinter-updates/README.md § Accessibility) ---------- */
/* skip link: first focusable element on every page (site_header()), visible only on keyboard focus */
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--ink);color:var(--bg);font-weight:700;text-decoration:none;border-radius:999px;padding:10px 18px}
.skip:focus{top:12px}
/* one focus ring everywhere: 3px in the ink colour, or the tile's own text colour on coloured tiles (contrast >= 3:1 in both themes) */
:focus-visible{outline:3px solid var(--focus,var(--ink));outline-offset:3px}
.hot{--focus:var(--on-hot)}.stack.bold,.now{--focus:var(--on-bold)}
/* the sticky header must not cover the focused element (2.4.11) */
html{scroll-padding-top:100px}
/* small label headings (were h4): same look, now h2 so the outline has no gaps */
.lbl{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--soft);font-weight:700;line-height:1.6}
.side .lbl{margin-top:10px}
/* tag badges: the clickable area is at least 24px tall (2.5.8) without changing how the badge looks */
a.tag{position:relative}
a.tag::after{content:"";position:absolute;left:0;right:0;top:50%;height:max(100%,24px);transform:translateY(-50%)}
/* dark mode: text fields need a border with 3:1 against the tile (1.4.11); #727887 = 3.69:1 on card, 4.10:1 on bg */
[data-theme=dark] .search input{border-color:#727887}
/* sub menu closed with Escape stays closed while focus is still inside (1.4.13) */
.mi.shut>.sub{display:none!important}
/* newest article of a project, one quiet line at the bottom of its homepage tile */
.lpline{display:flex;gap:2px;align-items:flex-start;border-top:2px dotted var(--edge);padding-top:12px;margin:0;font-size:.9rem;line-height:1.35}
.lpline>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.lpline .ic{margin-top:2px}
.lpline a{font-weight:600;text-underline-offset:3px}
.lpline time{font-size:.8rem;white-space:nowrap;opacity:.75}
/* Homepage business/project tiles (operator 2026-11-17): every tile is head / text / line / buttons / line / latest.
   The four parts share their rows with the neighbouring tile (subgrid), so the dotted lines and the first row of
   buttons sit at the same height in both tiles of a row, whatever the length of the text or the number of buttons.
   The closing .lpline is empty until that project has a feed. Browsers without subgrid keep the stacked layout. */
.biz .links{margin-top:0;padding-top:14px;border-top:2px dotted var(--edge);align-content:flex-start}
@supports (grid-template-rows:subgrid){
 .biz{grid-row:span 4;display:grid;grid-template-rows:subgrid;row-gap:14px}
 .biz>*{min-width:0}
}
/* accessibility round 2 (operator "implement all", 2026-11-17) */
/* dark --edge #646a7a (was #3a3f4b, 1.72:1): tile and control outlines now 3.35:1 on bg, 3.02:1 on card (1.4.11) */
/* activity grid: on phones the cells shrink to ~8px tap targets (2.5.8); the tile is hidden there, the same updates
   stay reachable through "Recently", "By project" and /updates/ */
@media (max-width:600px){.act{display:none}}
/* visible label for the search box on update pages (3.3.2) */
.search .lbl{display:block;margin:0 0 6px 4px}
/* MCP explainer page (/mcp) */
.c6{grid-column:span 6}
.nums.four{grid-column:span 12;grid-template-columns:repeat(4,1fr)}
.urlbox{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px}
.urlbox code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1rem;background:var(--card);color:var(--ink);border:2px solid var(--edge);border-radius:14px;padding:10px 16px;overflow-wrap:anywhere}
.prose code,.head code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em;background:var(--bg);border:1.5px solid var(--edge);border-radius:6px;padding:1px 6px}
.prose h3{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.3rem;letter-spacing:-.02em;margin-bottom:10px}
.prose ol,.prose ul{margin:0 0 0 1.2em;display:flex;flex-direction:column;gap:6px}
.prose .lbl+p,.prose .lbl+ul{margin-top:12px}
.code{margin:10px 0;background:#1d1b16;color:#fbf5e9;border-radius:14px;padding:14px 16px;overflow:auto;font-size:.86rem;line-height:1.5}
.code code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:none;border:0;padding:0;white-space:pre}
[data-theme=dark] .code{background:#0d0f13;border:1.5px solid var(--edge)}
.tools{display:flex;flex-direction:column;gap:16px}
.tools dt{font-weight:700}
.tools dt code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--bg);border:1.5px solid var(--edge);border-radius:6px;padding:1px 7px}
.tools dt span{font-weight:500;color:var(--soft);margin-left:6px}
.tools dd{margin-top:4px}
.tools dd small{display:block;color:var(--soft);margin-top:2px}
@media (max-width:900px){.c6{grid-column:span 12}.nums.four{grid-template-columns:1fr 1fr}}
/* blog: post cards and the article page */
.postcard{display:flex;flex-direction:column;gap:10px}
.postcard .pt{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(1.4rem,2.4vw,1.9rem);line-height:1.1;letter-spacing:-.03em}
.postcard .pt a{text-decoration:none}
.postcard .pt a:hover{text-decoration:underline;text-underline-offset:4px}
.postcard p{color:var(--soft)}
.hero.page .meta{margin:-4px 0 4px}
.post{padding:clamp(24px,5vw,56px)}
/* One reading column: every direct child gets the SAME box (width + max-width + centred), so paragraphs,
   headings, lists and code blocks share one left edge. (Before, each kind had its own max-width in em and
   was centred separately, which put them at different offsets: operator's screenshot, 2026-11-17.) */
/* !important on the side margins too: the general list rule (.prose ul{margin:0 0 0 1.2em}) is more specific and
   pulled lists to the left edge of the tile (operator's second screenshot). */
.post>*{box-sizing:border-box;width:100%;max-width:44rem!important;margin-left:auto!important;margin-right:auto!important}
.post p{margin-top:1em}
.post .lead{margin-top:0;font-size:1.2rem;line-height:1.55;font-weight:500}
.post h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.12;letter-spacing:-.03em;margin-top:1.9em;scroll-margin-top:100px}
.post h3{margin-top:1.6em;margin-bottom:0;scroll-margin-top:100px}
/* lists as a quiet panel inside the column, with coral markers */
.post ul,.post ol{display:flex;flex-direction:column;gap:10px;margin-top:1.1em;margin-bottom:0;padding:16px 20px 16px 2.6em;background:var(--bg);border:2px solid var(--edge);border-radius:18px}
.post li{line-height:1.55;padding-left:.2em}
.post ul li::marker{color:var(--hot);font-size:1.15em}
.post ol li::marker{color:var(--ink);font-weight:800;font-family:'Bricolage Grotesque',sans-serif}
.post .code{margin-top:1.2em;margin-bottom:0;border-radius:18px}
.post h2+p,.post h3+p{margin-top:.6em}
/* seven menu items (with Blog) must still fit on one line just above the phone breakpoint */
@media (min-width:901px) and (max-width:1040px){.pill nav a{padding:7px 8px;font-size:.88rem}.pill{gap:8px;padding-left:16px}}

/* ---------- site search + blog filter (2026-11-17; doc jsplinter-search/README.md) ----------
   Header: a round search button in .right (icon only; from 1180px also "Search" and the Ctrl K hint) opens .sbox:
   a panel under the menu bar, full bar width; at 900px and narrower a full-screen layer like the phone menu
   (z-index -1 inside the header, so the bar with the Close/X button stays on top; search.js makes the page inert).
   Contrast (computed from these values): mark ink on #ffbfa9 10.9:1 (light), on #3b38b5 7.5:1 (dark); --soft on
   butter 5.1/5.4:1; active option ring = ink outline (12.6/11.6:1 on butter); active tag chip text 6.2:1 worst. */
.srch{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:38px;min-height:38px;font:inherit;font-weight:600;font-size:.88rem;background:var(--card);color:var(--ink);border:2px solid var(--edge);border-radius:999px;padding:6px 9px;cursor:pointer;text-decoration:none}
.srch>span{display:inline-flex}
.srch .ic{margin:0;width:16px;height:16px}
.srch .i-close,.srch[aria-expanded=true] .i-open{display:none}
.srch[aria-expanded=true] .i-close{display:inline-flex}
.srch[aria-expanded=true]{background:var(--butter)}
.srch .sl{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.srch .kb{display:none}
.kb{font:inherit;font-size:.72rem;font-weight:600;color:var(--soft);border:1.5px solid var(--edge);border-radius:6px;padding:0 5px;line-height:1.5;white-space:nowrap}
@media (min-width:1180px){.srch{padding:6px 12px}.srch .sl{position:static;width:auto;height:auto;overflow:visible;clip-path:none}.srch .kb{display:inline-block}}
.sbox{position:absolute;z-index:30;top:calc(100% + 12px);left:-2px;right:-2px;max-height:calc(100vh - 110px);overflow:auto;overscroll-behavior:contain;background:var(--card);border:2px solid var(--edge);border-radius:24px;box-shadow:4px 4px 0 var(--shadow);padding:16px 18px}
.srow{display:flex;gap:8px;align-items:center}
.srow input{flex:1;min-width:0}
.srow .btn{flex:none}
.shint{font-size:.8rem;color:var(--soft);margin:8px 4px 0}
.snote{margin:12px 4px 2px;font-weight:600}
.slist{margin-top:10px;display:flex;flex-direction:column;gap:6px}
.sg{display:flex;flex-direction:column;gap:2px}
.sgl{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--soft);padding:6px 10px 2px}
.so{display:flex;align-items:center;gap:12px;min-height:44px;padding:7px 10px;border-radius:14px;text-decoration:none;color:var(--ink)}
.so:hover,.so[aria-selected=true]{background:var(--butter)}
.so[aria-selected=true]{outline:2px solid var(--ink);outline-offset:-2px}
.si{flex:none;display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;border:1.5px solid var(--edge);background:var(--bg)}
.si .ic{margin:0;width:15px;height:15px}
.si b{font-weight:800}
.sx{flex:1;min-width:0;display:flex;flex-direction:column}
.stt{font-weight:600;line-height:1.3}
.scx{font-size:.84rem;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.smeta{flex:none;font-size:.76rem;color:var(--soft);white-space:nowrap}
.sall .sx{font-weight:600}
mark{background:#ffbfa9;color:var(--ink);font-weight:700;border-radius:3px;padding:0 1px}
[data-theme=dark] mark{background:#3b38b5}
/* the bar stays on one line: tighter between 901 and 1040px (seven items, six with a sub menu) and on small phones */
@media (min-width:901px) and (max-width:1040px){.pill nav a{padding:7px 6px}.right{gap:6px}.srch{min-width:34px;padding:6px 7px}}
@media (max-width:900px){
 .sbox{position:fixed;z-index:-1;inset:0;max-height:none;border:0;border-radius:0;box-shadow:none;padding:92px clamp(16px,5vw,32px) 32px;background:var(--bg) radial-gradient(var(--dots) 1px,transparent 1px) 0 0/26px 26px}
 html.search-open{overflow:hidden}
 .shint{display:none}
}
@media (max-width:480px){.pill{gap:8px;padding-left:14px}.right{gap:5px}.menu{padding:7px 10px}.toggle{padding:9px 11px}.srch{min-width:36px;min-height:36px;padding:5px 8px}.smeta{display:none}}
@media (max-width:380px){.me{font-size:1.02rem}}
/* results page /search/ */
.hero .search{max-width:40rem;margin-top:18px}
.hero .search input{font-size:1.05rem;padding:10px 18px}
.scount{margin-top:14px;font-size:.95rem}
.sres li{align-items:baseline}
.sres .smeta{font-size:.78rem}
.sres p{flex-basis:100%;margin:0 0 0 32px;font-size:.92rem;color:var(--soft)}
.sres .li{align-self:center}
.sres .si{width:22px;height:22px;border-radius:7px;align-self:center}
.sres .si .ic{width:13px;height:13px}
/* /blog/ filter: tag chips (links) and the text box */
.bfilter{display:flex;flex-direction:column;gap:12px}
.bfilter .search{max-width:28rem}
.bfilter .quick,.bfilter .count{margin:0}
.f.tf[aria-current=page]{background:hsl(var(--th) 85% 91%);color:hsl(var(--th) 65% 24%)}
.f.tf[aria-current=page] b{opacity:1}
[data-theme=dark] .f.tf[aria-current=page]{background:hsl(var(--th) 45% 19%);color:hsl(var(--th) 85% 87%)}
/* blog post: disclaimer box above the text, and the header line (reading-time pill, published, updated) */
.post .disclaimer{display:flex;gap:10px;align-items:flex-start;background:var(--sky);color:var(--ink);border:2px solid var(--edge);border-radius:18px;padding:14px 18px;font-size:.92rem;line-height:1.5}
.post .disclaimer .ic{flex:none;width:18px;height:18px;margin:2px 0 0}
.post .disclaimer p{margin:0;max-width:none}
.post .disclaimer+.lead{margin-top:1.2em}
.postmeta{gap:8px 14px;font-size:.88rem}
.postmeta .lab{font-size:.78rem}
/* Desktop: the search field opens INSIDE the menu bar (operator 2026-11-17, screenshot: "why the extra section").
   While the box is open the menu items make room for the field; the suggestions drop down under the bar only when
   there is something to show. No script change: it follows the box's `hidden` attribute through :has(). Browsers
   without :has() keep the panel under the bar. Phones (900px and narrower) keep the full-screen layer above. */
@media (min-width:901px){
 @supports selector(:has(*)){
  .pill:has(.sbox:not([hidden])) nav{display:none}
  .pill:has(.sbox:not([hidden])) .right{flex:1;min-width:0}
  .pill .sbox:not([hidden]){position:static;order:-1;flex:1;min-width:0;max-height:none;overflow:visible;background:none;border:0;border-radius:0;box-shadow:none;padding:0}
  .pill .sbox .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .pill .sbox .shint,.pill .sbox .srow .btn{display:none}
  .pill .sbox .srow input{width:100%;padding:8px 18px}
  .pill .sdrop{display:none}
  .pill .sdrop:has(>:not([hidden])){display:block;position:absolute;z-index:30;top:calc(100% + 12px);left:-2px;right:-2px;max-height:calc(100vh - 110px);overflow:auto;overscroll-behavior:contain;background:var(--card);border:2px solid var(--edge);border-radius:24px;box-shadow:4px 4px 0 var(--shadow);padding:10px 12px 12px}
  .pill .sdrop .slist{margin-top:0}
  .pill .sdrop .snote{margin:6px 8px}
 }
}
/* placeholder text of the search and filter boxes: readable in both themes (--soft on card is 6.3:1 / 6.6:1) */
.search input::placeholder{color:var(--soft);opacity:1}
/* activity grid project filter (homepage; upd_heat_filters() + heat.js, 2026-11-17): one quiet row of small chips
   (icon + count, 32 px tall) under the grid; squares recolour/fade in 180 ms, nothing moves (reduced motion: no
   transition, see the global rule). Pressed = shadow + --ink outline (a non-colour cue in dark mode too). */
.heatgrid a.on{transition:opacity .18s,background-color .18s,border-color .18s,transform .15s}
.heatgrid a.off{opacity:.25;border-color:transparent;pointer-events:none}
.hfil{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:16px}
.hfil-b{display:flex;flex-wrap:wrap;gap:6px}
.hfil .f{font-size:.8rem;gap:6px;padding:3px 10px 3px 4px;min-height:32px}
.hfil .f.all{padding-left:10px}
.hfil .f b{opacity:1}
.hfil .f:hover{transform:none}
.hfil .f[aria-pressed=false]:hover{background:var(--bg)}
.hfil .f[aria-pressed=true]{border-color:var(--ink);box-shadow:2px 2px 0 var(--shadow)}
.hfil-n{font-size:.8rem;color:var(--soft)}

