/* Visual reconciliation of the existing portfolio with its reference. */
:root{--green:#87ff7e;--font:Manrope,Arial,sans-serif}
.top .brandname{font:500 16px/1 var(--font);letter-spacing:-.045em}
.top .brandname span{font-weight:600}
.top .menu-toggle{width:84px;border-left:0;opacity:.65}
.top .menu-toggle span,.top .menu-toggle i{display:none}
.top .menu-toggle::before{content:'−  □  ×';font:18px/1 var(--font);letter-spacing:.03em;white-space:nowrap;color:#8e918e}
.side-nav a.active::before{display:none}
.side-nav svg{width:17px;height:17px;stroke-width:1.8}
.bottom{font:12px/1 var(--font);color:#a6aaa6}
.bottom-left #page-label,.bottom-right .bottom-github{display:none}
.bottom-center{font:12px/1 var(--font);color:#a6aaa6}
.bottom-contact{min-width:177px;height:29px;align-self:center;margin-right:16px;border:1px solid #434643;border-radius:4px;padding:0 12px;font:12px/1 var(--mono);color:#eceeeb}
#frame-content .home-flow{background:#0e0e0e}
#frame-content .flow-backdrop{background:#0e0e0e}
#frame-content .flow-light-a{background:radial-gradient(ellipse,rgba(101,209,94,.95),rgba(53,123,52,.35) 45%,transparent 73%)}
#frame-content .flow-light-b{background:radial-gradient(ellipse,rgba(90,182,83,.82),rgba(49,105,46,.31) 43%,transparent 75%)}
#frame-content .flow-backdrop-grid{opacity:.025}
#frame-content .home-flow #three-canvas,#frame-content .home-flow #css-objects{opacity:.72}
#frame-content .hero-bg-word{color:rgba(255,255,255,.008)}
#frame-content .hero h1{letter-spacing:-.055em}
#frame-content .hero h1 em{color:#87ff7e}
#frame-content .hero p{font-size:15px;color:#a3a3a3;line-height:1.55}
#frame-content .hero .label{font-size:12px;text-transform:uppercase;color:#9b9b9b;font-family:var(--font)}
#frame-content .home-flow #about .section-heading h2 em{color:#87ff7e}
#frame-content .home-flow .about-cards{transform:translateX(-115px)}
#frame-content .home-flow .about-main .window-header,#frame-content .home-flow .about-place .window-header,#frame-content .home-flow .about-portrait .window-header{font:13px/1 var(--font);height:40px;padding:0 16px}
#frame-content .home-flow .about-main .window-content{padding:17px 17px 16px}
#frame-content .home-flow .about-code p{font:400 15px/1.57 var(--font);letter-spacing:-.015em;color:#f1f1f1;margin:0 0 5px}
#frame-content .home-flow .about-code .code-bullet{color:#a5aaa5}
#frame-content .home-flow .about-place .window-content h3{font:400 15px/1.5 var(--font)}
#frame-content .home-flow .about-place .window-content p{font:400 14px/1.5 var(--font)}
#frame-content .home-flow .window{background:rgba(12,13,12,.86);border-color:#424642}
#frame-content #work .section-heading h2 em{color:#87ff7e}
#frame-content #work .work-rows{width:min(1040px,100%)}
#frame-content #work .work-row{width:100%;padding-left:31px;background:rgba(13,15,13,.47);border-color:#454b45}
#frame-content #work .work-row:hover{border-color:#87ff7e;background:rgba(27,50,27,.55)}
#frame-content #work .work-name strong{font-size:48px}
#frame-content #work .work-num,#frame-content #work .work-row time{font-size:13px;color:#9a9d9a}
#frame-content #work .chips span{font-size:11px;padding:6px 11px}
#frame-content #contact{align-items:center;justify-content:flex-start;padding-left:25px;padding-right:25px}
#frame-content #contact .collaboration-panel{position:relative;z-index:3;flex:none;width:min(1040px,100%);height:380px;margin-top:130px;background:rgba(12,13,12,.78);border-color:#4a4f4a;overflow:hidden}
#frame-content #contact .collaboration-panel .window-header{height:41px;font:13px/1 var(--font);padding:0 16px}
#frame-content #contact .collaboration-content{display:flex;align-items:center;gap:42px;padding:30px 36px;height:calc(100% - 41px)}
#frame-content #contact .collaboration-avatar{position:relative;flex:none;width:150px;height:150px;border-radius:50%;background:#87ff7e;overflow:hidden;align-self:center}
#frame-content #contact .collaboration-avatar::before{content:'';position:absolute;width:65px;height:86px;border-radius:48% 48% 45% 45%;background:#213126;left:42px;top:21px}
#frame-content #contact .collaboration-avatar::after{content:'';position:absolute;width:170px;height:94px;border-radius:50% 50% 0 0;background:#213126;left:-10px;top:107px}
#frame-content #contact .collaboration-copy{min-width:0}
#frame-content #contact .collaboration-copy .wave{display:block;font-size:27px;margin:0 0 10px}
#frame-content #contact .collaboration-copy h2{font:400 clamp(40px,4.5vw,65px)/1.12 var(--font);letter-spacing:-.06em;margin:0;max-width:790px}
#frame-content #contact .collaboration-copy h2 em{font-style:normal;color:#87ff7e}
#frame-content #contact .collaboration-copy .contact-cta{margin-top:28px;border-radius:4px}
@media(max-width:900px){#frame-content .home-flow .about-cards{transform:none}#frame-content .home-flow .about-code p{font-size:13px}#frame-content #contact .collaboration-content{gap:20px}}
@media(max-width:600px){.top .brandname{font-size:12px}.top .menu-toggle{width:50px}.top .menu-toggle::before{font-size:13px}.bottom-center{display:none}.bottom-contact{min-width:130px;font-size:9px;height:25px;margin-right:6px}#frame-content .home-flow .about-cards{transform:none}#frame-content .home-flow .about-code p{font-size:12px;line-height:1.8}#frame-content .home-flow .about-main .window-content{padding:20px}#frame-content #contact .collaboration-panel{margin-top:70px;height:500px}#frame-content #contact .collaboration-content{flex-direction:column;justify-content:center;text-align:center;padding:24px;gap:14px}#frame-content #contact .collaboration-avatar{width:105px;height:105px}#frame-content #contact .collaboration-avatar::before{left:29px;top:13px;width:47px;height:64px}#frame-content #contact .collaboration-avatar::after{width:130px;left:-12px;top:73px}#frame-content #contact .collaboration-copy h2{font-size:36px}}
@media(min-width:601px){
 #frame-content #contact .collaboration-content{align-items:flex-start;padding-top:46px}
 #frame-content #contact .collaboration-avatar{align-self:flex-start}
 #frame-content #contact .collaboration-copy .wave{display:none}
}
#frame-content #contact::before{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse 48% 75% at 1% 25%,rgba(68,145,67,.37),transparent 80%),radial-gradient(ellipse 40% 62% at 97% 65%,rgba(74,151,75,.32),transparent 80%)}
/* Geometry and palette measured against the live reference at 1440px. */
:root{--green:#8fff86;--white:#fff;--bg:#0f0f0f}
#frame-content .hero h1 em,
#frame-content .home-flow #about .section-heading h2 em,
#frame-content #work .section-heading h2 em,
#frame-content #contact .collaboration-copy h2 em{color:#8fff86}
#frame-content #work .work-rows{gap:16px}
#frame-content #work .work-row{height:257px;border-radius:4px}
#frame-content #experiments .notes-carousel{margin-top:42px}
#frame-content #experiments .notes-stage{min-height:334px}
#frame-content #experiments .note-card{width:min(768px,88vw);height:334px;border-radius:4px;background:rgba(14,16,14,.79);border-color:#494949}
#frame-content #experiments .note-card .window-header{height:40px;padding:0 16px;font:13px/1 var(--font);color:#ddd;border-color:#494949}
#frame-content #experiments .note-card .note-content{padding:24px 30px}
#frame-content #experiments .note-top strong{font-size:16px}
#frame-content #experiments .note-top small{font-size:11px}
#frame-content #experiments .note-content p{font-size:16px;line-height:1.55;color:#eee;margin:19px 0 16px}
#frame-content #experiments .note-meta{font-size:11px}
#frame-content #experiments .note-card[data-position="left"]{transform:translateX(-154%) scale(.96) rotateY(0);opacity:.35}
#frame-content #experiments .note-card[data-position="right"]{transform:translateX(54%) scale(.96) rotateY(0);opacity:.35}
#frame-content #experiments .notes-controls{width:min(512px,90%);height:40px;margin:33px auto 0;gap:0;border:1px solid #494949;border-radius:4px;color:#8fff86;background:rgba(10,11,10,.85)}
#frame-content #experiments .notes-controls button{flex:none;width:52px;height:38px;border:0;border-radius:0;background:transparent;color:#aaa;font-size:20px}
#frame-content #experiments .notes-controls button:first-child{border-right:1px solid #494949}
#frame-content #experiments .notes-controls button:last-child{border-left:1px solid #494949}
#frame-content #experiments .notes-controls #notes-counter{font-size:0;flex:1;height:1px;margin:0 20px;background:linear-gradient(90deg,#8fff86 0 var(--carousel-progress,33.333%),#363a36 var(--carousel-progress,33.333%) 100%)}
#frame-content #contact .collaboration-panel{height:368px;border-radius:4px}
#frame-content #contact .collaboration-panel .window-header{height:40px}
#frame-content #contact .collaboration-content{height:calc(100% - 40px)}
@media(max-width:900px){
 #frame-content #experiments .note-card{width:min(600px,88vw)}
 #frame-content #experiments .note-content p{font-size:14px}
}
@media(max-width:600px){
 #frame-content #work .work-row{height:244px}
 #frame-content #experiments .notes-carousel{margin-top:65px}
 #frame-content #experiments .notes-stage{min-height:338px}
 #frame-content #experiments .note-card{width:min(360px,88vw);height:338px}
 #frame-content #experiments .note-card .note-content{padding:18px 19px}
 #frame-content #experiments .note-content p{font-size:12px;line-height:1.65}
 #frame-content #experiments .notes-controls{width:min(360px,95%);margin-top:17px}
 #frame-content #contact .collaboration-panel{height:500px}
}
@media(max-width:600px){
 .top .brandname{font-size:16px}
 .top .menu-toggle{width:48px;opacity:1}
 .top .menu-toggle::before{content:'☰';font:22px/1 Arial,sans-serif;color:#b6bbb6;letter-spacing:0}
 .bottom-left .quick-open{width:40px;background:transparent;border-right:1px solid #494949}
 .bottom-left .quick-open svg{display:none}
 .bottom-left .quick-open::before{content:'';width:8px;height:8px;border-radius:50%;background:#8fff86}
 .bottom-contact{min-width:177px;height:30px;margin-right:16px;padding:0 10px;font-size:12px}
 #frame-content .flow-light-a{left:-111%;top:39%;opacity:.8!important}
 #frame-content .flow-light-b{right:-69%;top:-25%;opacity:.8!important}
 #frame-content .hero-content{transform:translateY(-8px)}
 #frame-content .hero p{font:400 14px/1.55 "DM Mono",monospace;max-width:290px;color:#aaa}
 #frame-content .home-flow #about .about-cards{margin-top:96px}
 #frame-content .home-flow #about .about-main .window-header{font-size:14px}
 #frame-content .home-flow #about .about-main .window-content{padding:15px 17px}
 #frame-content .home-flow #about .about-code p{font:400 16px/1.55 var(--font);margin-bottom:11px;letter-spacing:0}
}

#frame-content #experiments .notes-carousel{transform:translateX(-18px)}
#frame-content #experiments .notes-stage{touch-action:pan-y}
@media(min-width:901px) and (max-height:800px){#frame-content #experiments .notes-carousel{margin-top:-7px}}
@media(max-width:600px){#frame-content #experiments .notes-carousel{transform:none}}
/* Search launcher mirrors the reference's framed, searchable page palette. */
.site-search{position:fixed;z-index:88;top:49px;bottom:49px;left:48px;width:min(922px,calc(100vw - 56px));padding:62px 45px 40px;background:rgba(12,12,12,.985);border-right:1px solid #494949;opacity:0;visibility:hidden;transform:translateX(-22px);pointer-events:none;transition:opacity .28s,transform .28s,visibility .28s;overflow-y:auto;backdrop-filter:blur(18px)}
.site-search.open{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.site-search-close{position:absolute;top:15px;right:20px;border:0;background:none;color:#a1a1a1;font:24px/1 var(--font);padding:2px 5px}
.site-search-close:hover{color:#8fff86}
.site-search h2{text-align:center;font:400 clamp(45px,4.5vw,64px)/1.1 var(--font);letter-spacing:-.055em;color:#fff;margin:3px 0 62px}
.site-search h2 em{font-style:normal;color:#8fff86}
.site-search-box{display:flex;align-items:center;gap:12px;width:min(384px,100%);height:48px;margin:0 auto 64px;border:1px solid #8fff86;border-radius:4px;padding:0 16px;background:#0f0f0f;color:#9d9d9d}
.site-search-box span{font:25px/1 Arial,sans-serif}
.site-search-box input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#fff;font:18px/1.2 var(--font)}
.site-search-box input::placeholder{color:#9d9d9d}
.site-search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.site-search-card{min-height:132px;border:1px solid #494949;border-radius:4px;background:rgba(14,14,14,.5);padding:20px 24px;display:flex;flex-direction:column;gap:21px;transition:background .2s,border-color .2s}
.site-search-card:hover,.site-search-card:focus-visible{background:rgba(52,80,50,.26);border-color:#8fff86}
.site-search-card[hidden]{display:none}
.site-search-card-title{display:flex;align-items:center;gap:18px;color:#dedede}
.site-search-card-title svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.site-search-card-title strong{font:400 23px/1 var(--font);letter-spacing:-.045em}
.site-search-card-description{font:400 15px/1.5 var(--font);color:#999}
.site-search-empty{margin:20px 0;color:#aaa;font:15px var(--font);text-align:center}
@media(max-width:900px){.site-search{width:calc(100vw - 56px);padding:55px 26px 35px}.site-search-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.site-search{left:8px;right:8px;top:49px;bottom:49px;width:auto;padding:45px 18px 35px;border-right:0}.site-search h2{font-size:43px;margin-bottom:40px}.site-search-box{margin-bottom:40px}.site-search-results{grid-template-columns:1fr}.site-search-card{min-height:100px;gap:12px;padding:16px 19px}.site-search-card-title strong{font-size:21px}.site-search-card-description{font-size:13px}}
@media(prefers-reduced-motion:reduce){.site-search{transition:none}}
.site-search.has-query .site-search-results{display:none}
.site-search-matches{display:flex;flex-direction:column;gap:16px;max-height:calc(100% - 290px);overflow-y:auto;padding-right:7px}
.site-search-matches[hidden]{display:none}
.site-search-result{display:flex;align-items:center;gap:18px;min-height:66px;padding:0 24px;border:1px solid #494949;border-radius:4px;background:rgba(11,12,11,.65);color:#d4d4d4;transition:border-color .2s,background .2s}
.site-search-result:hover,.site-search-result:focus-visible{border-color:#8fff86;background:rgba(37,64,39,.46)}
.site-search-result small{font:12px 'DM Mono',monospace;color:#8f948f}
.site-search-result strong{font:400 23px/1.2 var(--font);letter-spacing:-.045em;text-transform:lowercase}
.site-search-result span{margin-left:auto;border:1px solid #454545;border-radius:20px;padding:5px 12px;color:#999;font:12px 'DM Mono',monospace;white-space:nowrap}
@media(max-width:600px){.site-search-matches{max-height:calc(100% - 220px);gap:10px}.site-search-result{min-height:60px;padding:0 13px;gap:10px}.site-search-result strong{font-size:17px}.site-search-result span{font-size:9px;padding:4px 6px}}
/* Separate desktop window controls and the reference's window states. */
@media(min-width:601px){
 .top .menu-toggle{display:none}
 .window-controls{position:absolute;right:12px;top:0;height:40px;display:flex;align-items:center;gap:7px}
 .window-controls button{display:grid;place-items:center;width:16px;height:25px;padding:0;border:0;background:transparent;color:#777;font:18px/1 Arial,sans-serif}
 .window-controls button:hover{color:#8fff86}

}
.leave-popover,.share-popover{position:fixed;z-index:96;background:rgba(14,17,14,.96);border:1px solid #555;border-radius:4px;box-shadow:0 20px 50px rgba(0,0,0,.35);color:#a4a4a4}
.leave-popover[hidden],.share-popover[hidden]{display:none}
.leave-popover{right:calc(10vw + 40px);top:74px;width:384px;min-height:176px;padding:28px 32px;border-top:2px solid #8fff86;font:15px/1.6 var(--font)}
.leave-popover p{margin:0 0 8px}.leave-close{position:absolute;right:12px;top:6px;border:0;background:transparent;color:#aaa;font-size:20px}
.leave-links{display:flex;gap:20px;margin-top:18px}.leave-links a{font:12px 'DM Mono',monospace;color:#d4e7d2}.leave-links a:hover{color:#8fff86}
.share-popover{right:8px;bottom:8px;width:min(572px,calc(100vw - 16px));height:235px}
.share-head{height:40px;border-bottom:1px solid #494949;display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:#fff;font:12px 'DM Mono',monospace}.share-head button{border:0;background:transparent;font-size:20px;color:#aaa}
.share-actions{display:flex;align-items:center;justify-content:center;gap:32px;height:150px;font:15px var(--font)}.share-actions button{border:0;background:transparent;color:#aaa}.share-actions a{color:#aaa}.share-actions button:hover,.share-actions a:hover{color:#8fff86}.share-status{position:absolute;bottom:10px;left:20px;margin:0;font:10px 'DM Mono',monospace;color:#8fff86}
@media(max-width:600px){.window-controls{display:none}.leave-popover{right:16px;left:16px;top:65px;width:auto}.share-popover{right:8px;bottom:8px;height:180px}.share-actions{gap:14px;height:110px;font-size:12px}}
