@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root{--bg:#080808;--fg:#ededeb;--muted:#858585;--line:rgba(230,230,225,.2);--green:#83b890;--mono:'DM Mono',monospace;--sans:'Space Grotesk',sans-serif}
*{box-sizing:border-box}
html,body{height:100%;margin:0;overflow:hidden;overscroll-behavior:none}
html{scroll-behavior:auto}
body{background:var(--bg);color:var(--fg);font-family:var(--sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit}
.site-shell{height:100%;isolation:isolate;overflow:hidden;position:relative;width:100%;background:#070707}
.hero-video{filter:grayscale(1) brightness(.7) contrast(1.08);height:calc(100% - 88px);left:41%;object-fit:cover;object-position:100% center;position:absolute;top:54px;width:59%;z-index:0}
.video-shade{background:linear-gradient(90deg,rgba(7,7,7,.22),rgba(7,7,7,.02) 35%,rgba(7,7,7,.08)),linear-gradient(0deg,rgba(7,7,7,.6),transparent 24%,rgba(7,7,7,.12));inset:54px 0 34px 41%;position:absolute;z-index:1}
.scanlines{background:repeating-linear-gradient(0deg,rgba(235,235,235,.07) 0,rgba(235,235,235,.07) 1px,transparent 1px,transparent 4px),radial-gradient(circle,rgba(230,230,230,.16) .55px,transparent .85px);background-size:auto,4px 4px;inset:54px 0 34px 41%;mix-blend-mode:screen;opacity:.35;pointer-events:none;position:absolute;z-index:3}
.video-frame{border:1px dashed rgba(230,230,225,.36);inset:54px 0 34px 41%;pointer-events:none;position:absolute;z-index:5}
.topbar{align-items:center;background:#050505;border-bottom:1px dashed rgba(230,230,225,.32);border-left:1px dashed rgba(230,230,225,.32);display:flex;height:54px;justify-content:flex-end;left:41%;padding:0 1.4vw;position:absolute;right:0;top:0;z-index:8}
.brand{align-items:center;display:flex;font:500 11px var(--mono);gap:10px;letter-spacing:.06em;white-space:nowrap}
.brand-symbol{align-items:center;background:#eee;border-radius:50%;color:#080808;display:flex;font:700 12px var(--sans);height:25px;justify-content:center;width:25px}
.brand-domain{color:#777}
.nav{align-items:center;display:flex;gap:clamp(16px,2vw,36px)}
.nav a{color:#d2d2d0;font:clamp(12px,.95vw,17px) var(--mono);letter-spacing:.07em;white-space:nowrap;transition:color .2s}
.nav a span{color:#aaa}.nav a:hover,.nav a:hover span{color:#fff}
.menu-toggle{display:none}
.top-readout{color:#c2c2c0;display:flex;flex-direction:column;font:clamp(10px,.78vw,14px)/1.65 var(--mono);position:absolute;right:1.2vw;text-align:right;top:7.2vh;z-index:4}
.top-readout b{color:#74e48b;font-weight:500}
.console-panel{background-color:#050505;background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0,rgba(255,255,255,.018) 1px,transparent 1px,transparent 4px);border:1px dashed rgba(235,235,230,.58);display:flex;flex-direction:column;height:min(94vh,1050px);max-height:calc(100% - 62px);max-width:790px;min-height:530px;padding:18px clamp(16px,1.4vw,28px);position:absolute;left:1.4vw;top:49%;transform:translateY(-50%);width:min(38.5vw,790px);z-index:4}
.console-heading{border-bottom:1px dashed rgba(230,230,225,.34);padding-bottom:16px}
.wordmark-wrap{min-width:0;width:100%}.wordmark{height:clamp(72px,8vw,110px);margin:0;max-width:none;position:relative;width:100%}.wordmark-variant{height:100%;inset:0;object-fit:contain;object-position:left center;opacity:0;position:absolute;transition:opacity .28s ease;width:100%}.wordmark-variant[hidden]{display:none!important}.wordmark-variant.active{opacity:1}.wordmark-variant.block-style{filter:brightness(1.65) contrast(1.1)}
.identity-meta{align-items:flex-end;display:flex;gap:16px;justify-content:space-between;margin-top:8px}.domain-line{color:#e1e1df;font:clamp(19px,1.55vw,26px) var(--mono);letter-spacing:-.055em;margin:0}.build-info{color:#aaa;display:flex;flex-direction:column;font:clamp(12px,.82vw,16px)/1.6 var(--mono);gap:5px;text-align:right;white-space:nowrap}
.terminal-block{border-bottom:1px dashed rgba(230,230,225,.34);font:clamp(13px,1.15vw,19px)/1.6 var(--mono);padding:clamp(13px,1.6vh,20px) 0}
.terminal-block p{color:#bbb;margin:0;overflow-wrap:anywhere}.terminal-block strong{color:#e9e9e7;font-weight:400}
.terminal-line{align-items:center;display:flex;justify-content:space-between;margin-bottom:2px}.terminal-line>span:first-child,.command{color:#dededb}
.online,.project-row b{color:#74e48b}.online{font-size:1.06em;white-space:nowrap}
.contact-block a{color:#ddd;transition:color .2s}.contact-block a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.command{margin:0 0 5px!important}.project-terminal{border-bottom:0;padding-bottom:0}
.project-row{align-items:center;color:#bdbdbb;display:flex;font-size:clamp(11px,1vw,16px);gap:8px;justify-content:space-between;transition:color .2s}.project-row:hover{color:#fff}.project-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-row b{font-size:.95em;font-weight:400;white-space:nowrap}
.prompt-line{color:#e9e9e7!important;margin-top:8px!important}.cursor{animation:none}
.terminal-graph{height:clamp(72px,11vh,112px);margin-top:auto;padding-top:12px;width:100%}.terminal-graph svg{height:100%;overflow:visible;width:100%}.graph-grid{fill:none;stroke:rgba(210,210,210,.16);stroke-dasharray:2 4;stroke-width:.8}.graph-wave{fill:none;stroke:#c7c7c7;stroke-width:1.2;vector-effect:non-scaling-stroke}.graph-hill{fill:url(#graph-dots);stroke:rgba(210,210,210,.35);stroke-dasharray:2 3;stroke-width:1}.graph-bubble{fill:none;stroke:#ccc;stroke-width:1}.terminal-graph text{fill:#aaa;font:8px var(--mono)}
.hero-video,.video-shade,.sea-floor,.wave-ascii,.wave-bubbles,.top-readout{transition:opacity .24s ease,visibility .24s ease}
.site-shell[data-view="projects"] .hero-video,.site-shell[data-view="projects"] .video-shade,.site-shell[data-view="projects"] .sea-floor,.site-shell[data-view="projects"] .wave-ascii,.site-shell[data-view="projects"] .wave-bubbles,.site-shell[data-view="projects"] .top-readout,
.site-shell[data-view="github"] .hero-video,.site-shell[data-view="github"] .video-shade,.site-shell[data-view="github"] .sea-floor,.site-shell[data-view="github"] .wave-ascii,.site-shell[data-view="github"] .wave-bubbles,.site-shell[data-view="github"] .top-readout{opacity:0!important;pointer-events:none;visibility:hidden}
.nav a.is-active{color:#fff}.nav a.is-active span{color:#74e48b}
.wave-ascii{color:rgba(225,225,225,.55);display:flex;flex-direction:column;font:clamp(11px,.9vw,16px)/2 var(--mono);left:48%;position:absolute;top:37%;z-index:3}.wave-ascii span:nth-child(2){margin-left:34px}.wave-ascii span:nth-child(3){margin-left:13px}.wave-ascii-right{left:auto;right:1.8vw;text-align:right;top:24%}.wave-ascii-right span:nth-child(2){margin-left:0;margin-right:18px}.wave-bubbles{height:130px;left:72%;position:absolute;top:44%;width:90px;z-index:3}.wave-bubbles i{color:rgba(230,230,230,.76);font:12px var(--mono);font-style:normal;position:absolute}.wave-bubbles i:nth-child(1){left:5px;top:68px}.wave-bubbles i:nth-child(2){left:36px;top:36px}.wave-bubbles i:nth-child(3){left:62px;top:78px}.wave-bubbles i:nth-child(4){left:25px;top:104px}.sea-floor{filter:grayscale(1) brightness(.52) contrast(.86);height:calc(100% - 88px);left:41%;object-fit:cover;object-position:center bottom;opacity:.96;pointer-events:none;position:absolute;top:54px;width:59%;z-index:2}
.stage-panel{background-color:#050505;background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0,rgba(255,255,255,.018) 1px,transparent 1px,transparent 4px);display:flex;flex-direction:column;inset:54px 0 34px 41%;overflow:hidden;padding:16px clamp(14px,1.4vw,24px);position:absolute;z-index:4}
.stage-panel[hidden],.stage-view[hidden]{display:none!important}
.stage-view{display:flex;flex-direction:column;gap:12px;height:100%;min-height:0}
.stage-head{align-items:center;border-bottom:1px dashed rgba(230,230,225,.3);display:flex;flex-wrap:wrap;font:clamp(11px,.86vw,14px) var(--mono);gap:8px 12px;justify-content:space-between;padding-bottom:10px}
.stage-title{align-items:center;color:#e9e9e7;display:flex;flex-wrap:wrap;gap:10px}
.stage-badge{color:#74e48b;font-size:.9em}
.stage-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px 12px}
.stage-link,.stage-close{background:transparent;border:1px dashed rgba(230,230,225,.35);color:#d2d2d0;cursor:pointer;font:inherit;padding:4px 9px;transition:border-color .2s,color .2s}
.stage-link:hover,.stage-close:hover{border-color:#74e48b;color:#fff}
.project-cards{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
.project-card{background:#080808;border:1px dashed rgba(230,230,225,.28);cursor:pointer;display:flex;flex-direction:column;gap:6px;padding:10px 11px;transition:border-color .2s,background-color .2s}
.project-card:hover,.project-card:focus-visible{border-color:rgba(230,230,225,.6);outline:none}
.project-card.is-active{background:rgba(116,228,139,.05);border-color:rgba(116,228,139,.65)}
.project-card-top{align-items:center;display:flex;font:500 13px var(--mono);gap:6px;justify-content:space-between}
.project-card-top strong{color:#ededeb;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-card-status{color:#74e48b;font-size:11px;white-space:nowrap}
.project-card-desc{color:#a8a8a6;display:-webkit-box;font:12px/1.4 var(--sans);margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.project-card-foot{align-items:center;display:flex;flex-wrap:wrap;font:11px var(--mono);gap:6px 10px;justify-content:space-between;margin-top:auto;padding-top:4px}
.project-tag{color:#7f7f7d}
.project-card-links{display:flex;gap:8px}
.project-card-links a{color:#d2d2d0;text-decoration:underline;text-decoration-color:rgba(210,210,208,.35);text-underline-offset:3px}
.project-card-links a:hover{color:#74e48b;text-decoration-color:#74e48b}
.preview-stage{background:#080808;border:1px dashed rgba(230,230,225,.32);display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
.preview-bar{align-items:center;background:#050505;border-bottom:1px dashed rgba(230,230,225,.25);display:flex;font:12px var(--mono);gap:10px;justify-content:space-between;padding:7px 11px}
.preview-url{color:#c6c6c4;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.preview-bar-right{align-items:center;display:flex;gap:10px;white-space:nowrap}
.preview-live{color:#74e48b;font-size:11px}
.preview-open{color:#e9e9e7;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.preview-open:hover{color:#74e48b}
.preview-viewport{background:#080808;flex:1;min-height:0;overflow:hidden;position:relative}
.preview-frame{background:#080808;border:0;display:block;left:0;position:absolute;top:0;transform-origin:top left;width:1280px}
.preview-overlay{align-items:center;background:rgba(5,5,5,.92);color:#c2c2c0;display:flex;flex-direction:column;font:12px/1.6 var(--mono);gap:8px;inset:0;justify-content:center;padding:16px;position:absolute;text-align:center;z-index:2}
.preview-overlay[hidden]{display:none!important}
.github-scroll{display:flex;flex:1;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;padding-right:4px;scrollbar-color:rgba(230,230,225,.3) #050505;scrollbar-width:thin}
.gh-stats{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}
.gh-stat{background:#080808;border:1px dashed rgba(230,230,225,.26);display:flex;flex-direction:column;gap:3px;padding:8px 10px}
.gh-stat span{color:#8e8e8c;font:10px var(--mono);letter-spacing:.06em}
.gh-stat strong{color:#ededeb;font:500 clamp(14px,1.25vw,19px) var(--mono)}
.gh-box{background:#080808;border:1px dashed rgba(230,230,225,.26);display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px 12px}
.gh-box-head{align-items:center;display:flex;flex-wrap:wrap;font:12px var(--mono);gap:6px 12px;justify-content:space-between}
.gh-box-head>span:first-child{color:#dededb}
.gh-readout{color:#8f8f8d;font-size:11px}
.gh-heatmap{display:grid;gap:3px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;grid-template-rows:repeat(7,1fr);width:100%}
.gh-cell{aspect-ratio:1;background:#141414;border:0;border-radius:1px;cursor:pointer;padding:0;width:100%}
.gh-cell[data-level="1"]{background:#1b3d25}
.gh-cell[data-level="2"]{background:#2d6a3e}
.gh-cell[data-level="3"]{background:#4aa662}
.gh-cell[data-level="4"]{background:#74e48b}
.gh-cell:hover,.gh-cell:focus-visible{outline:1px solid #ededeb;outline-offset:1px}
.gh-legend{align-items:center;color:#7f7f7d;display:flex;font:10px var(--mono);gap:4px;justify-content:flex-end}
.gh-legend i{display:inline-block;height:9px;width:9px}
.gh-cols{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
.gh-list{display:flex;flex-direction:column;gap:8px;min-width:0}
.gh-item{border-top:1px dashed rgba(230,230,225,.16);display:flex;flex-direction:column;gap:3px;min-width:0;padding-top:8px}
.gh-item:first-child{border-top:0;padding-top:0}
.gh-item-top{align-items:baseline;display:flex;font:12px var(--mono);gap:8px;justify-content:space-between;min-width:0}
.gh-item-link{color:#ededeb;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gh-item-link:hover{color:#74e48b;text-decoration:underline;text-underline-offset:3px}
.gh-item-meta{align-items:center;color:#8e8e8c;display:flex;font-size:11px;gap:8px;white-space:nowrap}
.gh-item-desc{color:#a8a8a6;display:-webkit-box;font:11.5px/1.4 var(--sans);margin:0;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.gh-sha{color:#74e48b;flex-shrink:0}
.gh-commit-msg{color:#d2d2d0;font:12px/1.35 var(--mono);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gh-live-link{color:#74e48b;font-size:10.5px;overflow-wrap:anywhere}
.gh-live-link:hover{text-decoration:underline}
.hero-footer{align-items:center;background:#050505;border-top:1px dashed rgba(230,230,225,.3);bottom:0;color:#b0b0ae;display:flex;font:clamp(9px,.62vw,12px) var(--mono);height:34px;justify-content:space-between;left:0;letter-spacing:.08em;padding:0 1.2vw;position:absolute;right:0;z-index:6}.footer-prompt{color:#eee}.footer-prompt i{font-style:normal}.footer-status{align-items:center;display:flex;gap:clamp(7px,1vw,18px)}.footer-status b{color:#666;font-weight:400}
.sr-only{clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}
@keyframes blink{to{visibility:hidden}}
@media(max-width:1050px){.console-panel{width:42vw}.wordmark{height:clamp(72px,9vw,100px)}.top-readout{right:4vw}.stage-panel{padding-left:calc(3.2vw + 16px)}}
@media(max-width:960px){.gh-cols{grid-template-columns:minmax(0,1fr)}.project-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .topbar{padding:13px 5vw}.site-shell[data-view="projects"] .topbar,.site-shell[data-view="github"] .topbar{border-left:0;left:0}.nav{align-items:stretch;background:#050505;border:1px dashed var(--line);display:none;flex-direction:column;gap:0;padding:8px 15px;position:absolute;right:5vw;top:57px}.nav.nav-open{display:flex}.nav a{padding:10px 3px}.menu-toggle{align-items:center;background:#050505;border:1px solid var(--line);display:flex;flex-direction:column;gap:5px;height:34px;justify-content:center;width:38px}.menu-toggle i{background:#ddd;height:1px;width:16px}
  .hero-video{object-position:64% center}.video-shade{background:linear-gradient(90deg,rgba(5,5,5,.91),rgba(5,5,5,.68)),linear-gradient(0deg,rgba(5,5,5,.83),transparent 55%)}
  .console-panel{height:calc(100% - 90px);left:1.5vw;max-height:none;min-height:0;padding:clamp(12px,3vw,18px);top:49%;width:55vw}.sea-floor{height:calc(100% - 88px);left:41%;top:54px;width:59%}
  .stage-panel{inset:54px 0 34px 0;padding:12px 14px;z-index:7}.project-cards{gap:7px;grid-template-columns:1fr}.project-card{padding:8px 10px}.project-card-desc{-webkit-line-clamp:1}.gh-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gh-heatmap{gap:2px}
  .console-heading{display:block;padding-bottom:11px}.wordmark{height:clamp(52px,13vw,72px);max-width:100%;width:100%}.identity-meta{align-items:flex-start;flex-direction:column;gap:3px;margin-top:5px}.domain-line{font-size:15px}.build-info{align-items:flex-start;flex-direction:row;flex-wrap:wrap;font-size:8px;gap:3px 12px;text-align:left}
  .terminal-block{font-size:clamp(10px,2.9vw,13px);line-height:1.5;padding:clamp(8px,1.4vh,12px) 0}.terminal-line{gap:8px}.project-row{font-size:clamp(9px,2.5vw,12px)}.project-row b{font-size:8px}.terminal-graph{gap:8px;padding-top:10px}.terminal-graph svg{height:clamp(30px,5vh,42px)}.terminal-graph span{font-size:7px}.top-readout,.wave-coordinates{display:none}.hero-footer{bottom:0;font-size:7px;gap:8px;padding:7px 5vw}.footer-status{gap:4px}.footer-status b:nth-of-type(2),.footer-status b:nth-of-type(3){display:none}
}
@media(max-width:390px){.console-panel{padding:13px}.terminal-block{font-size:10px;padding:7px 0}.project-row{font-size:8px}.project-row b{font-size:7px}.terminal-graph svg{height:28px}.top-readout{font-size:7px}}
@media(max-height:700px){.console-panel{height:calc(100% - 118px);min-height:0;padding-top:15px;padding-bottom:13px}.wordmark{height:clamp(48px,7vh,70px)}.terminal-block{padding:8px 0}.terminal-graph{padding-top:8px}.terminal-graph svg{height:34px}}
@media(max-width:760px) and (max-height:650px){.terminal-graph{display:none}.console-panel{height:calc(100% - 90px);top:49%}.top-readout{display:none}.hero-footer{bottom:7px}}
@media(prefers-reduced-motion:reduce){.hero-video{animation:none}.cursor{animation:none}.wordmark img,.hero-video,.video-shade,.sea-floor,.wave-ascii,.wave-bubbles,.top-readout{transition:none}}
