*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#121116;color:#ECEAF2;font-family:'Geist',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#ECEAF2;text-decoration:none}a:hover{color:#D6C8FF}
a:focus-visible,button:focus-visible{outline:2px dashed #B69CFF;outline-offset:4px}
img,video{max-width:100%}
.page{min-height:100vh;overflow:hidden}
.wrap{max-width:1240px;margin:0 auto;padding-left:clamp(20px,4vw,48px);padding-right:clamp(20px,4vw,48px)}
.px-font{font-family:'Silkscreen',monospace;font-weight:400;letter-spacing:.02em}
.muted{color:#8E8A9A}

/* stepped pixel corners */
.px-c{clip-path:polygon(0 8px,4px 8px,4px 4px,8px 4px,8px 0,calc(100% - 8px) 0,calc(100% - 8px) 4px,calc(100% - 4px) 4px,calc(100% - 4px) 8px,100% 8px,100% calc(100% - 8px),calc(100% - 4px) calc(100% - 8px),calc(100% - 4px) calc(100% - 4px),calc(100% - 8px) calc(100% - 4px),calc(100% - 8px) 100%,8px 100%,8px calc(100% - 4px),4px calc(100% - 4px),4px calc(100% - 8px),0 calc(100% - 8px))}
.px-s{clip-path:polygon(0 4px,4px 4px,4px 0,calc(100% - 4px) 0,calc(100% - 4px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 4px) calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 4px),0 calc(100% - 4px))}

/* header */
.site-header{position:relative;z-index:2;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding-top:28px;padding-bottom:28px;font-size:15px;font-weight:500}
.logo{display:inline-flex;align-items:center;gap:10px;font-size:20px;color:#fff}
.logo .lt span{color:#B69CFF}
.site-nav{display:flex;flex-wrap:wrap;align-items:center;gap:28px}
.site-nav .contact{color:#B69CFF}
.socials{display:inline-flex;gap:4px}
.px-soc{display:inline-flex;align-items:center;justify-content:center;width:36px;height:44px;opacity:.55;transition:opacity .2s}
.px-soc:hover,.px-soc:focus-visible{opacity:1}

/* hero */
.hero{position:relative;padding:72px 0 120px}
.hero-dither{position:absolute;left:0;right:0;bottom:-40px;height:520px;z-index:0;background:url(/assets/img/dither.png) center bottom/cover;image-rendering:pixelated;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 45%,#000 70%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 45%,#000 70%,transparent 100%)}
.stars{position:absolute;inset:0;z-index:0;pointer-events:none}
@keyframes twinkle{0%,100%{opacity:.15}50%{opacity:1}}
.star{position:absolute;animation:twinkle 3.2s steps(4) infinite}
.hero-inner{position:relative;z-index:1}
.prompt{margin:0 0 28px;font-size:13px;color:#8E8A9A}
.prompt span{color:#B69CFF}
.hero h1{margin:0;max-width:980px;font-weight:500;font-size:clamp(44px,7vw,104px);line-height:.98;letter-spacing:-.045em}
.hero h1 span{color:#8E8A9A}
.into{margin:40px 0 0;font-family:'Geist Mono',monospace;font-size:clamp(18px,1.8vw,24px)}
.into .muted{margin-right:.4em}
.type{display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:bottom}
@keyframes typeA{from{width:0}}@keyframes typeB{from{width:0}}
@keyframes blink{0%,49%{opacity:1}50%,100%{opacity:0}}
.cursor{display:inline-block;width:.55em;height:1em;background:#B69CFF;vertical-align:-.12em;margin-left:3px;animation:blink 1.06s steps(1) infinite}
.hero-row{margin-top:72px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:32px}
.hero-row p{margin:0;max-width:520px;font-size:19px;line-height:1.55;color:#C9C5D4}
.px-btn{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:0 24px;background:#ECEAF2;color:#121116;font-weight:600;transition:transform .15s steps(2),background .15s}
.px-btn:hover{color:#121116;background:#fff;transform:translate(-2px,-2px)}

/* sections */
.sec{position:relative;z-index:1;padding-top:80px;padding-bottom:120px}
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:40px}
.sec-head h2,.title{margin:0;font-weight:500;font-size:clamp(36px,4vw,56px);letter-spacing:-.03em}
.num{font-family:'Silkscreen',monospace;font-size:14px;color:#B69CFF;letter-spacing:0;vertical-align:middle;margin-right:16px}
.hint{font-size:12px;color:#8E8A9A;transition:opacity .2s}
.has-open .hint{opacity:0}

/* cards */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.card{display:block;transition:transform .25s steps(3),opacity .25s steps(3)}
.card .frame{background:#2A2832;padding:2px;transition:background .2s steps(2)}
.card .shot{position:relative;aspect-ratio:4/5;overflow:hidden;background:#1C1B22}
.card img{display:block;width:100%;height:100%;object-fit:cover}
.card:hover{transform:translateY(-8px);opacity:1!important}
.card:hover .frame,.card.is-open .frame{background:#B69CFF}
.card.is-open{transform:translateY(-8px)}
.has-open .card:not(.is-open){opacity:.5}
.chip{position:absolute;left:12px;bottom:12px;padding:7px 10px;background:rgba(18,17,22,.82);color:#ECEAF2;font-size:11px;transition:transform .2s steps(2)}
.card:hover .chip{transform:translateY(-3px)}
.card.is-open .chip{background:#B69CFF;color:#121116}
.chip .close{display:none}.card.is-open .chip .open{display:none}.card.is-open .chip .close{display:inline}
.card .meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}
.card h3{margin:0;font-weight:600;font-size:22px;letter-spacing:-.02em}
.card .kind{font-size:11px;color:#8E8A9A}

/* detail panel */
.detail{position:relative;margin-top:36px;display:none}
.detail.is-open,.detail:target{display:block}
@keyframes pxOpen{0%{clip-path:inset(-24px 0 100% 0)}100%{clip-path:inset(-24px 0 0 0)}}
.detail.is-open{animation:pxOpen .5s steps(8) both}
.notch{position:absolute;top:-14px;display:block}
.panel-frame{background:#B69CFF;padding:2px}
.panel{position:relative;background:#18171D;padding:clamp(28px,5vw,56px);overflow:hidden}
.panel-glow{position:absolute;right:-10%;bottom:-30%;width:70%;height:80%;opacity:.45;background:url(/assets/img/dither.png) center/cover;image-rendering:pixelated;-webkit-mask-image:radial-gradient(closest-side,#000,transparent);mask-image:radial-gradient(closest-side,#000,transparent)}
.panel-top{position:relative;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:36px}
.icon-btn{width:40px;height:40px;border:0;background:#24222B;color:#ECEAF2;cursor:pointer;display:flex;align-items:center;justify-content:center}
.icon-btn:hover{background:#2E2B37}
.panel-body{position:relative;display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.panel-text{flex:1 1 400px;min-width:0}
.label{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.label img{width:36px;height:36px}
.label span{font-size:12px;color:#B69CFF}
.panel h3{margin:0 0 20px;font-weight:600;font-size:clamp(48px,5.5vw,76px);line-height:1;letter-spacing:-.045em}
.panel h3.wordmark{line-height:0;margin-bottom:24px}
.panel h3.wordmark img{display:block;width:min(100%,360px);height:auto}
.panel p{margin:0 0 32px;max-width:500px;font-size:18px;line-height:1.6;color:#C9C5D4}
.feats{display:flex;flex-direction:column;max-width:540px;border-bottom:2px dotted #2A2832}
.feat{display:flex;gap:16px;padding:16px 0;border-top:2px dotted #2A2832;font-size:15px}
.feat b{flex:none;width:150px;font-weight:600}
.feat span{color:#A9A4B6;line-height:1.55}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.tags span{padding:7px 12px;background:#24222B;font-family:'Geist Mono',monospace;font-size:12px;color:#C9C5D4}
.panel-media{position:relative;flex:1 1 380px;min-width:0;display:flex;justify-content:center}
.media-frame{width:100%;background:#2A2832;padding:2px}
.media-frame img,.media-frame video{display:block;width:100%;height:auto}
.media-phone{width:min(100%,440px);height:auto}
.panel-nav{position:relative;display:flex;justify-content:space-between;gap:16px;margin-top:40px;padding-top:24px;border-top:2px dotted #2A2832}
.panel-nav a{padding:8px 0;font-size:15px;font-weight:500}
.panel-nav a:first-child{color:#A9A4B6}

/* right now */
.now-grid{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start}
.now-grid h2{flex:1 1 280px;white-space:nowrap}
.now-list{flex:999 1 560px;min-width:0}
.now-label{margin:0 0 20px;font-size:12px;color:#8E8A9A}
.build{display:flex;flex-direction:column;gap:24px}
.bi-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px}
.bi-top span:first-child{font-size:20px;font-weight:500}
.bi-top span:last-child{font-family:'Geist Mono',monospace;font-size:14px;color:#B69CFF}
.segs{display:grid;grid-template-columns:repeat(25,1fr);gap:4px}
.segs i{display:block;height:14px;background:#24222B}
.segs i.on{background:#8B6CFF}
.segs i.tip{background:#D6C8FF}
.now-text{margin:32px 0 0}
.now-text p{margin:0;font-size:20px;line-height:1.4}
.updated{margin:28px 0 0;font-family:'Geist Mono',monospace;font-size:13px;color:#8E8A9A}

/* blog list */
.post-list{border-top:2px dotted #2A2832}
.post-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px 32px;padding:24px 0;border-bottom:2px dotted #2A2832}
.post-row .t{flex:1 1 400px;font-size:22px;font-weight:500;letter-spacing:-.015em}
.post-row .d{font-family:'Geist Mono',monospace;font-size:13px;color:#8E8A9A}
.empty{font-size:19px;color:#A9A4B6;padding:24px 0}

/* single post */
.post{position:relative;z-index:1;max-width:760px;margin:0 auto;padding:48px clamp(20px,4vw,48px) 120px}
.post .back{font-size:15px;color:#A9A4B6}
.post h1{margin:28px 0 16px;font-weight:500;font-size:clamp(40px,6vw,72px);line-height:1;letter-spacing:-.04em}
.post .date{font-family:'Geist Mono',monospace;font-size:13px;color:#8E8A9A}
.post .cover{display:block;width:100%;height:auto;margin:36px 0 8px}
.post-body{font-size:19px;line-height:1.7;color:#DCD9E4}
.post-body h2,.post-body h3{margin:48px 0 12px;font-weight:600;letter-spacing:-.025em;line-height:1.15;color:#ECEAF2}
.post-body h2{font-size:32px}.post-body h3{font-size:24px}
.post-body a{color:#B69CFF;border-bottom:1px dashed rgba(182,156,255,.5)}
.post-body img{height:auto}
.post-body blockquote{margin:28px 0;padding:4px 0 4px 20px;border-left:4px solid #B69CFF;color:#C9C5D4}
.post-body pre{background:#18171D;padding:18px;overflow:auto;font-size:15px}
.post-body code{font-family:'Geist Mono',monospace;font-size:.88em}

/* footer */
.site-footer{position:relative;padding:100px 0 40px;border-top:2px dotted #2A2832}
.foot-dither{position:absolute;left:0;right:0;bottom:0;height:360px;opacity:.7;background:url(/assets/img/dither.png) center bottom/cover;image-rendering:pixelated;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 100%)}
.foot-inner{position:relative;z-index:1}
.say-label{margin:0 0 20px;font-size:13px;color:#B69CFF}
.say{display:inline-flex;align-items:center;gap:20px;font-weight:500;font-size:clamp(30px,6vw,88px);letter-spacing:-.04em;line-height:1;overflow-wrap:anywhere}
.say svg{flex:none;transition:transform .2s steps(2)}
.say:hover svg{transform:translate(4px,-4px)}
.foot{margin-top:120px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:14px;color:#A9A4B6}
.foot nav{display:flex;flex-wrap:wrap;gap:24px}
.foot nav a{color:#A9A4B6}.foot nav a:hover{color:#ECEAF2}

@media (max-width:820px){
  .cards{grid-template-columns:minmax(0,1fr)}
  .notch{display:none}
  .feat{flex-direction:column;gap:4px}.feat b{width:auto}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
