*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f4e9d8;color:#171717;font-family:"Space Grotesk",sans-serif;overflow-x:hidden}.noise{position:fixed;inset:0;pointer-events:none;opacity:.055;z-index:20;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")}.nav{height:72px;border-bottom:2px solid #171717;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;position:sticky;top:0;background:#f4e9d8ee;backdrop-filter:blur(10px);z-index:10}.brand{font-weight:700;letter-spacing:-.04em;color:inherit;text-decoration:none}.dim{font-weight:400;opacity:.45}.brand-mark{display:inline-grid;place-items:center;width:28px;height:28px;background:#171717;color:#f4e9d8;margin-right:7px}.nav nav{display:flex;gap:30px}.nav a{font-size:12px;text-decoration:none;color:inherit;font-family:"DM Mono",monospace}.nav nav a:hover{text-decoration:line-through}.nav-status{font-size:11px!important}.nav-status i{display:inline-block;width:7px;height:7px;background:#8fe000;border:1px solid #171717;border-radius:50%;margin-right:5px}.hero{min-height:calc(100vh - 72px);padding:8vh 5vw 5vh;position:relative;display:flex;flex-direction:column;justify-content:space-between;border-bottom:2px solid #171717;overflow:hidden}.hero-grid{position:absolute;inset:0;background-image:linear-gradient(#17171710 1px,transparent 1px),linear-gradient(90deg,#17171710 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,black,transparent 85%)}.eyebrow,.section-label,.mono,.tags,.terminal,.project-no,footer{font-family:"DM Mono",monospace}.eyebrow{font-size:11px;position:relative}.hero h1{font-size:clamp(90px,19vw,260px);line-height:.78;letter-spacing:-.09em;margin:0;position:relative;font-weight:700}.hero h1 span{color:transparent;-webkit-text-stroke:3px #171717}.hero-bottom{position:relative;display:flex;align-items:flex-end;justify-content:space-between;max-width:900px}.hero-bottom p{font-size:17px;line-height:1.35;max-width:430px;margin:0}.button{display:inline-flex;gap:25px;align-items:center;border:2px solid #171717;background:#d9ff55;padding:15px 18px;color:#171717;text-decoration:none;font-family:"DM Mono",monospace;font-size:11px;box-shadow:5px 5px 0 #171717;transition:.15s}.button:hover{transform:translate(3px,3px);box-shadow:2px 2px 0 #171717}.sticker{position:absolute;right:7vw;top:12%;background:#9d7cff;border:2px solid #171717;padding:18px 16px;font-family:"DM Mono",monospace;font-size:13px;line-height:1.05;transform:rotate(8deg);box-shadow:6px 6px 0 #171717}.ticker{border-bottom:2px solid #171717;background:#ff6338;overflow:hidden;white-space:nowrap;font-family:"DM Mono",monospace;font-size:13px;padding:10px}.ticker div{display:inline-block;animation:marquee 22s linear infinite}@keyframes marquee{to{transform:translateX(-50%)}}.section{padding:110px 5vw;border-bottom:2px solid #171717}.intro{display:grid;grid-template-columns:25% 75%;gap:5vw}.section-label{font-size:11px}.intro h2,.contact h2{font-size:clamp(48px,7.5vw,105px);line-height:.94;letter-spacing:-.07em;margin:0 0 35px}.intro h2 em{display:inline-block;font-size:.78em;line-height:.95;padding:4px 10px;margin-top:10px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.intro h2 em,.contact em{font-style:normal;background:#9d7cff;padding:0 8px}.contact h2 em{display:inline-block;font-size:.62em;line-height:.95;padding:3px 8px;margin-top:10px;position:relative;z-index:1}.lead{font-size:clamp(20px,2.3vw,31px);line-height:1.15;max-width:800px}.section-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:40px}.mono{font-size:11px}.project{display:grid;grid-template-columns:70px 1fr 37%;min-height:300px;border-top:2px solid #171717;position:relative}.project:last-child{border-bottom:2px solid #171717}.project-no{padding-top:25px;font-size:12px}.project-copy{padding:25px 30px 30px 0}.tags{display:flex;gap:7px;flex-wrap:wrap}.tags span{border:1px solid #171717;padding:4px 7px;font-size:9px}.project h3{font-size:clamp(35px,5vw,70px);letter-spacing:-.06em;margin:35px 0 10px;line-height:.85}.project p{max-width:430px}.project a{color:#171717;font-family:"DM Mono",monospace;font-size:11px;text-underline-offset:5px}.project-art{border-left:2px solid #171717;display:flex;align-items:center;justify-content:center;position:relative;font-size:100px;font-weight:700;overflow:hidden;text-align:center}.project-art img{width:min(72%,220px);height:min(72%,220px);max-width:none;max-height:none;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto;flex:0 0 auto}.project-art>span{display:block;margin:auto;text-align:center}.art-one,.art-two,.art-three{background:transparent}.project-art span{transition:.3s}.project:hover .project-art span{transform:scale(1.3) rotate(-8deg)}.lab{background:#171717;color:#f4e9d8}.lab-card{margin-top:40px;border:2px solid #f4e9d8;display:grid;grid-template-columns:1fr 1fr;box-shadow:8px 8px 0 #ff6338}.terminal-top{font-family:"DM Mono",monospace;font-size:11px;border-bottom:1px solid #f4e9d8;padding-bottom:12px}.terminal-top span{color:#d9ff55}.lab-card>div:first-child{padding:45px}.lab h2{font-size:clamp(50px,8vw,110px);line-height:.8;letter-spacing:-.07em;margin:55px 0 30px}.lab h2 span{color:#d9ff55}.lab p{max-width:470px;font-size:18px}.terminal{border-left:2px solid #f4e9d8;padding:45px;font-size:13px;line-height:2.4;display:flex;flex-direction:column;justify-content:center}.ok{color:#d9ff55}.blink{animation:blink 1s steps(2) infinite}@keyframes blink{50%{opacity:0}}.progress{height:10px;border:1px solid #f4e9d8;margin-top:20px}.progress span{display:block;width:78%;height:100%;background:#9d7cff}.stats{display:grid;grid-template-columns:25% 75%;gap:5vw}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:2px solid #171717}.stat-grid>div{padding:25px;border-right:2px solid #171717;min-height:220px}.stat-grid>div:last-child{border-right:0}.stat-grid strong{font-size:70px;letter-spacing:-.07em}.stat-grid span{display:block;font:11px "DM Mono",monospace;margin-top:10px}.stat-grid p{font-size:14px;font-family:"DM Mono",monospace}.contact{display:grid;grid-template-columns:25% 75%;gap:5vw}.contact p{font-size:20px;max-width:600px}.big-link{display:inline-block;margin-top:25px;color:#171717;font:600 clamp(16px,2.5vw,30px) "DM Mono",monospace;border-bottom:3px solid #171717;text-decoration:none;padding-bottom:7px}.big-link:hover{background:#d9ff55}footer{display:flex;justify-content:space-between;gap:20px;padding:25px 5vw;font-size:10px}footer .online{color:#428a00}.small{width:22px;height:22px;font-size:12px}@media(max-width:760px){.nav{padding:0 20px}.nav nav{display:none}.hero{padding:55px 20px 35px;min-height:calc(100vh - 72px)}.hero h1{font-size:25vw}.hero h1 span{-webkit-text-stroke:2px #171717}.hero-bottom{display:block}.hero-bottom p{font-size:16px;margin-bottom:25px}.sticker{right:20px;top:5%;transform:rotate(5deg);padding:12px 11px;font-size:11px}.section{padding:75px 20px}.intro,.stats,.contact{grid-template-columns:1fr;gap:30px}.intro h2,.contact h2{font-size:13vw;line-height:1.08;margin-bottom:28px}.intro h2 em,.contact h2 em{display:block;width:max-content;max-width:100%;font-size:.62em;line-height:1.05;padding:5px 8px;margin-top:14px;position:relative;z-index:0}.section-head{display:block}.section-head .mono{margin-top:12px}.project{grid-template-columns:40px 1fr}.project-art{grid-column:1/3;height:180px;border-left:0;border-top:2px solid #171717}.project-copy{padding-right:10px}.project h3{font-size:12vw}.lab-card{grid-template-columns:1fr}.lab-card>div:first-child,.terminal{padding:28px}.terminal{border-left:0;border-top:2px solid #f4e9d8}.stat-grid{grid-template-columns:1fr 1fr}.stat-grid>div{min-height:170px}.stat-grid>div:nth-child(2){border-right:0}.stat-grid strong{font-size:55px}footer{display:block;line-height:2.2}}
.contact-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:25px}.contact-links .big-link{margin-top:0}.secondary-link{background:#6ee7ff}.secondary-link:hover{background:#d9ff55}@media(max-width:760px){.contact-links{display:block}.contact-links .big-link{display:block;margin-bottom:14px;font-size:15px}}

.project-art img{filter:none}
.project-state,.project-loading{grid-column:1/-1;border-top:2px solid #171717;padding:40px 0;font-family:"DM Mono",monospace;font-size:12px;line-height:1.8}
.project-state small{opacity:.65}
.project-state.error{background:#ff6338;padding:25px}
.project-loading{display:flex;align-items:center;gap:12px}
.loading-dot{width:9px;height:9px;background:#d9ff55;border:1px solid #171717;border-radius:50%;animation:blink .8s steps(2) infinite}
@media(max-width:760px){.project-state,.project-loading{padding:30px 0}.project-state.error{padding:20px}}

/* Mobile letter-spacing readability fix */
@media (max-width: 600px){.hero-title,.about-title,.contact-title,.hero-title span,.about-title span,.contact-title span{letter-spacing:0.01em!important;word-spacing:0.12em!important}.contact-title,.about-title{line-height:1.12!important}}

/* Final mobile readability: prevent the I/D in highlighted words from touching */
.intro h2 em,
.contact h2 em{
  letter-spacing:0.035em !important;
  word-spacing:0.08em !important;
}
@media(max-width:760px){
  .intro h2 em,
  .contact h2 em{
    letter-spacing:0.045em !important;
    word-spacing:0.10em !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }
}

.project-disabled-link{display:inline-block;color:#171717;font-family:"DM Mono",monospace;font-size:11px;text-decoration:line-through;text-underline-offset:5px;opacity:.42;cursor:not-allowed;user-select:none;pointer-events:none}.project .tags span:last-child{transition:.15s}.project:has(.project-disabled-link) .tags span:last-child{background:#171717;color:#f4e9d8;border-color:#171717}@media(max-width:760px){.project-disabled-link{font-size:11px;opacity:.42}}

/* Desktop compact layout: reduce unused vertical space without changing mobile */
@media (min-width: 761px){
  .hero{
    min-height:78vh;
    padding-top:5vh;
    padding-bottom:3.5vh;
  }
  .section{padding-top:72px;padding-bottom:72px}
  .section-head{margin-bottom:28px}
  .project{min-height:240px}
  .project-copy{padding-top:20px;padding-bottom:22px}
  .project h3{margin-top:24px;margin-bottom:8px}
  .lab-card{margin-top:28px}
  .lab-card>div:first-child,.terminal{padding:34px}
  .lab h2{margin-top:35px;margin-bottom:24px}
  .stats .stat-grid>div{min-height:180px;padding:20px}
  .contact p{margin-top:0}
}

/* Ultra compact desktop layout */
@media (min-width: 761px){
  .hero{
    min-height:64vh !important;
    padding:38px 5vw 26px !important;
  }
  .hero h1{font-size:clamp(76px,16vw,220px)}
  .hero-bottom{max-width:820px}
  .section{
    padding-top:48px !important;
    padding-bottom:48px !important;
  }
  .section-head{
    margin-bottom:20px !important;
  }
  .about-title,.contact-title{
    margin-top:12px !important;
    margin-bottom:16px !important;
  }
  .project{
    min-height:190px !important;
  }
  .project-copy{
    padding-top:14px !important;
    padding-bottom:16px !important;
  }
  .project h3{
    margin-top:16px !important;
    margin-bottom:6px !important;
  }
  .project-art{
    min-height:190px !important;
  }
  .lab-card{margin-top:18px !important}
  .lab h2{
    margin-top:22px !important;
    margin-bottom:16px !important;
  }
  .lab-card>div:first-child,.terminal{padding:24px !important}
  .stats .stat-grid>div{
    min-height:135px !important;
    padding:16px !important;
  }
  .contact-links{
    margin-top:16px !important;
    gap:12px !important;
  }
  footer{padding-top:24px !important;padding-bottom:24px !important}
}

/* Hero ultra-compact desktop */
@media (min-width: 761px){
  .hero{
    min-height:52vh !important;
    height:auto !important;
    padding:28px 5vw 24px !important;
    justify-content:flex-start !important;
  }
  .hero h1{
    font-size:clamp(70px,13vw,180px) !important;
    line-height:.76 !important;
    margin-top:10px !important;
  }
  .hero-bottom{
    margin-top:24px !important;
    max-width:820px !important;
  }
  .sticker{
    top:7% !important;
    right:7vw !important;
    transform:rotate(7deg) scale(.9) !important;
  }
}

/* Final desktop hero compact: remove forced viewport height and excess whitespace */
@media (min-width: 761px){
  .hero{
    min-height:0 !important;
    padding:22px 5vw 22px !important;
    justify-content:flex-start !important;
  }
  .hero h1{
    margin-top:8px !important;
    margin-bottom:0 !important;
  }
  .hero-bottom{
    margin-top:18px !important;
  }
}

/* Final mobile hero compact: let hero height follow content */
@media (max-width:760px){
  .hero{
    min-height:0 !important;
    height:auto !important;
    padding:34px 20px 24px !important;
    justify-content:flex-start !important;
  }
  .hero h1{
    font-size:23vw !important;
    line-height:.82 !important;
    margin:14px 0 0 !important;
  }
  .hero-bottom{
    margin-top:22px !important;
  }
  .hero-bottom p{
    margin-bottom:18px !important;
  }
  .sticker{
    top:18px !important;
    right:20px !important;
    transform:rotate(5deg) scale(.82) !important;
    transform-origin:top right !important;
  }
}

/* Symmetric logo sizing: every project gets the same visual logo box. */
.project-art img{
  width:150px !important;
  height:150px !important;
  max-width:150px !important;
  max-height:150px !important;
  min-width:150px !important;
  min-height:150px !important;
  object-fit:contain !important;
  object-position:center !important;
  display:block !important;
  margin:auto !important;
}
@media(max-width:760px){
  .project-art img{
    width:120px !important;
    height:120px !important;
    max-width:120px !important;
    max-height:120px !important;
    min-width:120px !important;
    min-height:120px !important;
  }
}
