:root{--bg:#121a2b;--surface:#1c263a;--ink:#edf2fc;--muted:#acb9cf;--line:#34415a;--blue:#a3b6ff;--blue-hover:#bdcaff;--art:#1b2845;--focus:#c3cfff;--button-ink:#15203b;color-scheme:dark;font-family:'Manrope',sans-serif;font-synthesis:none;scroll-behavior:smooth;scroll-padding-top:24px}
:root[data-theme=light]{--bg:#f6f8fb;--surface:#fff;--ink:#182339;--muted:#5c687c;--line:#dbe1ea;--blue:#3455d9;--blue-hover:#2441b8;--art:#edf1fc;--focus:#214cc9;--button-ink:#fff;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid var(--focus);outline-offset:5px}[hidden]{display:none!important}.wrap{width:min(1240px,calc(100% - 80px));margin-inline:auto}.skip-link{position:fixed;top:-100px;left:24px;z-index:10;padding:14px;background:var(--surface)}.skip-link:focus{top:12px}
.header{display:flex;align-items:center;gap:24px;min-height:168px;padding-block:22px}.identity{display:flex;align-items:center;gap:15px;font-size:14px;font-weight:700;min-height:44px}.monogram{font-size:29px;font-weight:800;letter-spacing:-3px;line-height:1}.monogram span{color:var(--blue);margin-left:2px}.header nav{margin-left:auto;display:flex;align-items:center;gap:20px;font-size:14px;font-weight:600}.header nav a{display:inline-flex;align-items:center;min-height:44px;padding-inline:4px}.header nav a:hover,.github-link:hover,.text-link:hover{color:var(--blue)}.contact-link{gap:10px}.contact-link svg{width:18px}.theme-toggle{background:transparent;border:1px solid var(--line);border-radius:50%;height:44px;width:44px;flex-shrink:0;display:grid;place-items:center;color:var(--ink)}.theme-toggle:hover{background:var(--surface)}.theme-half{fill:currentColor;stroke:none}
.clock-defs{position:absolute;width:0;height:0;overflow:hidden}.clock-panel{border-left:1px solid var(--line);padding-left:24px;text-align:center}.world-clocks{display:flex;justify-content:center;align-items:flex-start;gap:16px}.clock-analog{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:76px}.clock-face{display:block;width:56px;height:56px;overflow:visible;stroke:none;filter:drop-shadow(0 3px 5px #0004)}.clock-city{font-size:12px;font-weight:650;margin-top:3px}.clock-reading{font-size:12px;line-height:1.5;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.clock-analog .label{font-size:11px}
.hero{display:grid;grid-template-columns:1.06fr 1fr;align-items:center;min-height:570px;padding-block:10px 55px;gap:0}.hero-copy{z-index:1}.hello{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:550;margin:0 0 26px}.hello>span{height:7px;width:7px;background:var(--blue);border-radius:50%}h1{font-weight:550;font-size:clamp(72px,7.8vw,110px);line-height:1.03;letter-spacing:-.078em;margin:0 0 26px}.name-period{color:var(--blue)}.intro{max-width:430px;font-size:18px;line-height:1.75;color:var(--muted);margin:0 0 28px}.hero-actions{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:650;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;background:var(--blue);color:var(--button-ink);padding:16px 21px;border-radius:7px;white-space:nowrap;min-height:48px}.button:hover{background:var(--blue-hover)}.button svg{width:17px;height:17px}.github-link{display:flex;align-items:center;gap:9px;min-height:44px}.github-link svg{width:15px;height:15px}.sculpture{margin:0 0 0 -10px;min-width:0;max-width:550px;align-self:center}.art-stage{position:relative;aspect-ratio:1;width:100%;isolation:isolate;touch-action:pan-y}.art-stage::before{content:'';position:absolute;inset:11%;border-radius:50%;background:var(--art);z-index:-1}.art-stage canvas,.art-fallback{position:absolute;inset:0;width:100%;height:100%}.art-fallback{stroke:none}
.work{padding-block:24px 64px;scroll-margin-top:12px}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:26px}.section-head h2{font-size:25px;letter-spacing:-.7px;font-weight:650;margin:0}.section-head p{font-size:14px;color:var(--muted);margin:0}.projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.project{display:flex;flex-direction:column;overflow:hidden;border-radius:12px;background:var(--surface);border:1px solid var(--line);min-width:0}.project[href]{transition:box-shadow .2s,border-color .2s}.project[href]:hover{box-shadow:0 8px 28px #0002;border-color:var(--blue)}.project-art{height:210px;position:relative;overflow:hidden;display:grid;place-items:center;flex-shrink:0}.product-preview{background:#0c121c}.product-preview img{display:block;width:100%;height:100%;object-fit:cover}.project-systrex .product-preview img{object-position:center top}.project-arcade .product-preview img{object-position:center 60%}.intelligence-art{background:#eeebf8}.hobbies-art{background:#f3ecdf}.nutra-art{background:#e9f1e7}.greenback-art{background:#e5efee}.project-art>svg{width:100%;height:100%;stroke:none}.project-body{padding:22px 24px 24px;display:flex;flex:1;flex-direction:column}.project-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.project-heading h3{font-size:21px;font-weight:650;letter-spacing:-.6px;margin:0}.visit-icon{height:32px;width:32px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;flex-shrink:0}.visit-icon svg{height:14px;width:14px}.project:hover .visit-icon{background:var(--blue);color:var(--button-ink);border-color:var(--blue)}.project-body p{font-size:15px;line-height:1.7;color:var(--muted);margin:12px 0 24px}.project-domain{font-size:13px;color:var(--muted);margin-top:auto;overflow-wrap:anywhere}.project-status{font-size:12px;color:var(--blue);font-weight:650;margin-bottom:10px}.unavailable-status{color:var(--muted)}.project-unavailable .project-art{filter:saturate(.45)}.project-markets{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr}.project-markets .project-art{height:350px}.project-markets img{object-fit:contain;padding:12px}.project-markets .project-body{padding:36px;align-self:center}.project-markets h3{font-size:32px}.project-markets .project-body p{font-size:17px;max-width:360px;line-height:1.8}
.about{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding-block:64px;gap:60px}.mini-mark{display:block;color:var(--blue);font-size:24px;font-weight:800;letter-spacing:-2px;margin-bottom:18px}.about h2{font-size:36px;line-height:1.25;letter-spacing:-1.7px;font-weight:550;margin:0}.about-copy{max-width:500px;padding-top:6px}.about-copy p{font-size:16px;line-height:1.85;color:var(--muted);margin:0 0 16px}.text-link{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:650;margin-top:4px;min-height:44px}.text-link svg{width:15px;height:15px}.contact{background:var(--art);border-radius:12px;padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:28px}.contact p{font-size:14px;color:var(--muted);margin:0 0 7px}.contact h2{font-size:43px;font-weight:550;letter-spacing:-2px;margin:0}.contact>a{font-size:18px;letter-spacing:-.3px;display:flex;align-items:center;gap:25px;border-bottom:1px solid var(--line);padding-bottom:8px;min-height:44px}.contact>a:hover{color:var(--blue)}.footer{padding-block:26px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:13px;color:var(--muted)}.footer p{margin:0}.footer a{display:flex;align-items:center;gap:8px;min-height:44px}.footer svg{width:13px;height:13px}
.error-page{min-height:75vh;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:760px}.error-page h1{font-size:clamp(48px,8vw,80px);letter-spacing:-.055em}.error-page p{font-size:18px;color:var(--muted);line-height:1.7;max-width:520px}.error-actions{display:flex;gap:24px;align-items:center}
@media(max-width:1100px){.header{flex-wrap:wrap;row-gap:20px;padding-top:20px}.clock-panel{flex-basis:100%;border-left:0;padding-left:0}.hero{min-height:510px}.intro{font-size:17px}.projects{grid-template-columns:repeat(2,minmax(0,1fr))}.project-art{height:220px}.project-markets .project-art{height:310px}.project-markets .project-body{padding:26px}.project-markets .project-body p{font-size:16px}.about{gap:40px}.section-head{align-items:start}.section-head p{max-width:230px}.project-unavailable .project-art{height:150px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.header{column-gap:14px;row-gap:24px;padding-block:16px 0;min-height:0}.identity{font-size:12px;gap:9px}.header nav{gap:12px;font-size:13px}.header nav .contact-link{display:none}.clock-panel{padding:0}.world-clocks{gap:22px}.clock-face{width:50px;height:50px}.clock-analog{min-width:80px}.clock-city{font-size:13px}.clock-reading{font-size:12px}.hero{grid-template-columns:1fr;padding-block:24px 12px;min-height:0}.hello{font-size:12px;margin-bottom:18px}h1{font-size:clamp(65px,17vw,105px);margin-bottom:20px}.intro{font-size:16px;line-height:1.7;max-width:440px;margin-bottom:22px}.hero-actions{gap:20px;font-size:13px}.button{padding:14px 17px;gap:14px}.sculpture{display:flex;align-items:center;gap:12px;width:100%;max-width:350px;margin:16px 0 0}.art-stage{width:112px;flex:0 0 112px}.section-head{flex-direction:column;gap:8px;margin-bottom:22px}.section-head h2{font-size:24px}.section-head p{max-width:none;font-size:14px}.projects{grid-template-columns:1fr;gap:20px}.project-art{height:210px}.project-body{padding:22px}.project-heading h3{font-size:21px}.project-body p{font-size:15px;margin-bottom:22px}.project-domain{font-size:13px}.project-markets{display:flex;flex-direction:column}.project-markets .project-art{height:235px}.project-markets .project-body{padding:22px;align-self:stretch}.project-markets h3{font-size:23px}.project-markets .project-body p{font-size:15px;margin-block:12px 22px}.project-unavailable .project-art{display:none}.work{padding-top:18px;padding-bottom:42px}.about{grid-template-columns:1fr;gap:22px;padding-block:36px}.about h2{font-size:33px}.about-copy{max-width:100%}.contact{display:block;padding:28px 24px}.contact>a{margin-top:24px;justify-content:space-between;font-size:16px;gap:12px}.contact h2{font-size:38px}.footer{font-size:12px;padding-block:18px;flex-wrap:wrap}.footer p{display:none}.error-page{padding-block:60px}}
@media(max-width:370px){.wrap{width:calc(100% - 32px)}.identity>span:last-child{display:none}.header nav{gap:12px}.world-clocks{gap:12px}.clock-city{font-size:12px}h1{font-size:62px}.hero-actions{gap:12px}.hero-actions .button{font-size:12px}.hero-actions .github-link{font-size:12px}.contact>a{font-size:14px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}


.shape-button{display:block;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;appearance:none;cursor:pointer}.shape-button:disabled{cursor:default}@media(max-width:760px){.sculpture{width:112px;max-width:none;margin:12px auto 0}}

.clock-analog[data-here=true] .clock-city{display:inline-flex;align-items:center;gap:5px}.clock-analog[data-here=true] .clock-city::before{content:"";width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:var(--blue)}

/* Product views share a quiet frame; the products supply their own color. */
.featured-projects{display:grid;gap:24px;margin-bottom:24px}
.featured-project{display:grid;grid-template-columns:1.25fr 1fr}
.featured-project .project-art{height:340px;padding:26px}
.featured-project .project-body{padding:36px;justify-content:center}
.featured-project h3{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:650;margin:0}
.featured-project .project-body p{font-size:17px;line-height:1.75;max-width:390px;margin-bottom:24px}
.project-actions{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center;margin-top:2px}
.project-actions a{display:inline-flex;gap:7px;align-items:center;font-size:14px;font-weight:650;min-height:44px}
.project-actions svg{width:15px;height:15px}
.project-actions a:hover{text-decoration:underline;text-underline-offset:5px;color:var(--blue)}
.project-story-link{color:var(--blue)}
.project-art.product-preview,.project-art.intelligence-art{background:#0c1422;padding:18px}
.featured-project .product-preview{padding:26px}
.preview-window{width:100%;height:100%;min-height:0;overflow:hidden;border:1px solid #53617b66;border-radius:6px;background:#111c30;box-shadow:0 10px 22px #0003}
.preview-window img{display:block;width:100%;height:100%;object-fit:cover}
.preview-window>svg{width:100%;height:100%;stroke:none;display:block}
.project-skavinski .preview-window img{object-position:center}
.project-systrex .preview-window img{object-position:left top}
.project-hobbies .preview-window img{object-position:center top}
.secondary-projects{grid-template-columns:repeat(3,minmax(0,1fr))}
.secondary-projects .project-art{height:224px}
.other-projects{display:grid;grid-template-columns:.6fr 1fr 1fr;gap:24px;border-top:1px solid var(--line);margin-top:30px;padding-top:26px}
.other-projects>p{font-size:14px;color:var(--muted);margin:2px 0 0}
.other-project h3{font-size:16px;font-weight:600;margin:0 0 7px;letter-spacing:-.3px}
.other-project>div{display:flex;gap:6px 18px;flex-wrap:wrap;font-size:13px;line-height:1.6;color:var(--muted)}
.shape-button::before{transition:background-color .22s,box-shadow .22s}
.shape-button:enabled:hover::before,.shape-button:focus-visible::before{box-shadow:inset 0 0 0 1px var(--line)}
.shape-button:active canvas{opacity:.88}

/* Project stories use the same typography, with space for the workings. */
.story-header{min-height:110px}
.story{max-width:1100px;padding-block:24px 0}
.breadcrumb{display:flex;gap:12px;align-items:center;font-size:14px;color:var(--muted);margin-bottom:34px}
.breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
.breadcrumb a:hover{color:var(--blue)}
.breadcrumb [aria-current]{color:var(--ink)}
.story-intro{max-width:850px;margin-bottom:42px}
.story-intro h1{font-size:clamp(48px,6vw,80px);letter-spacing:-.065em;line-height:1.08;margin-bottom:24px}
.story-intro>p{font-size:20px;line-height:1.7;color:var(--muted);max-width:680px;margin:0 0 26px}
.story-actions{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center}
.story-actions .text-link{margin-top:0}
.story-figure{margin:0 0 54px}
.story-image{padding:28px;background:#0c1422;border:1px solid var(--line);border-radius:12px}
.story-image img{display:block;width:100%;height:auto;border:1px solid #53617b66;border-radius:6px}
.story-figure figcaption{font-size:13px;line-height:1.6;color:var(--muted);padding-top:12px}
.story-section{display:grid;grid-template-columns:1fr 2fr;gap:50px;border-top:1px solid var(--line);padding-block:34px}
.story-section h2{font-size:24px;letter-spacing:-.7px;line-height:1.4;font-weight:600;margin:0}
.story-section p{font-size:17px;line-height:1.85;color:var(--muted);margin:0 0 16px;max-width:680px}
.story-section p:last-child{margin-bottom:0}
.story-section code{font-size:.91em;color:var(--ink);overflow-wrap:anywhere}
.example-table{width:100%;border-collapse:collapse;margin-top:22px;font-size:15px;text-align:left}
.example-table caption{text-align:left;font-size:13px;color:var(--muted);margin-bottom:10px}
.example-table th,.example-table td{padding:12px 16px;border-bottom:1px solid var(--line)}
.example-table th{font-weight:500;color:var(--muted);padding-left:0}
.example-table td{padding-right:0}
.story-next{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:24px;margin-top:12px;padding-block:24px}
@media(max-width:1100px){
  .featured-project{grid-template-columns:1.1fr 1fr}
  .featured-project .project-art{height:320px;padding:20px}
  .featured-project .project-body{padding:28px}
  .featured-project .project-body p{font-size:16px}
  .secondary-projects .project-body{padding:20px}
  .secondary-projects .project-art{height:200px;padding:14px}
  .other-projects{grid-template-columns:1fr 1fr}
  .other-projects>p{grid-column:1/-1}
}
@media(max-width:900px){
  .featured-project{grid-template-columns:1fr 1fr}
  .featured-project .project-body{padding:24px}
  .featured-project h3{font-size:28px}
  .secondary-projects{grid-template-columns:repeat(2,minmax(0,1fr))}
  .secondary-projects .project-ai{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
  .secondary-projects .project-ai .project-art{height:100%;min-height:235px}
  .story-section{grid-template-columns:1fr 2fr;gap:30px}
}
@media(max-width:760px){
  .featured-projects{gap:20px;margin-bottom:20px}
  .featured-project{grid-template-columns:1fr}
  .featured-project .project-art{height:228px;padding:18px}
  .featured-project .project-body{padding:24px}
  .featured-project h3{font-size:27px}
  .featured-project .project-body p{font-size:16px;max-width:none;margin-bottom:16px}
  .secondary-projects{grid-template-columns:1fr}
  .secondary-projects .project-art{height:220px;padding:18px}
  .secondary-projects .project-body{padding:24px}
  .secondary-projects .project-ai{grid-column:auto;display:flex}
  .secondary-projects .project-ai .project-art{height:220px;min-height:0}
  .other-projects{gap:20px;margin-top:26px;padding-top:24px}
  .other-project>div{display:grid;gap:3px;font-size:12px;overflow-wrap:anywhere}
  .story-header{padding-bottom:12px;min-height:0}
  .story{padding-top:12px}
  .breadcrumb{margin-bottom:24px}
  .story-intro h1{font-size:clamp(42px,9vw,64px)}
  .story-intro>p{font-size:18px}
  .story-intro{margin-bottom:32px}
  .story-actions{gap:12px 20px}
  .story-actions .button{white-space:normal;gap:12px;font-size:14px}
  .story-figure{margin-bottom:34px}
  .story-image{padding:12px}
  .story-section{grid-template-columns:1fr;gap:18px;padding-block:28px}
  .story-section h2 br{display:none}
  .story-section h2{font-size:23px}
  .story-section p{font-size:16px}
  .story-next{font-size:13px;gap:12px}
  .example-table th,.example-table td{padding:12px 8px;font-size:13px}
  .example-table th{padding-left:0}
  .example-table td{padding-right:0}
}
