/* Nilly project files: native sticky scroll with visible colour-coded spines. */
#nilly-home .ng-file-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:28px;color:#bac6b0;font:11px/1.4 Arial,sans-serif;letter-spacing:.08em}
#nilly-home .ng-file-tools>div{display:flex;align-items:center;gap:8px}
#nilly-home [data-file-status]{margin-right:12px;min-width:50px;font-variant-numeric:tabular-nums}
#nilly-home [data-file-step]{width:34px;height:34px;border:1px solid #68755a80;border-radius:50%;background:transparent;color:var(--paper);font:18px/1 Arial,sans-serif;cursor:pointer;padding:0;transition:background .2s,color .2s}
#nilly-home [data-file-step][hidden]{display:none}
#nilly-home [data-file-step]:hover{background:var(--lime);color:#14210f}
#nilly-home .ng-file-drawer{position:relative;isolation:isolate;--file-top:118px;--file-peek:30px;--file-height:clamp(430px,calc(100svh - 442px),720px);padding-bottom:20px}
#nilly-home .ng-file-anchor{height:clamp(100px,20vh,220px);margin:0;pointer-events:none}
#nilly-home .ng-file-anchor:first-child{height:1px}
#nilly-home .ng-file{position:sticky;top:calc(var(--file-top) + var(--file-i)*var(--file-peek));margin:0;min-width:0;overflow:visible}
#nilly-home .ng-file:last-child{margin-bottom:0}
#nilly-home .ng-file-face{height:var(--file-height);display:flex;flex-direction:column;min-width:0;background:#232922;border:1px solid #61744d;box-shadow:0 20px 45px #0003;border-radius:3px 3px 0 0;overflow:clip;--file-lift:0px;--file-grow:0;transform:perspective(1800px) translateY(var(--file-lift)) rotateX(calc(var(--file-depth,0)*-.28deg)) scale(calc(1 - var(--file-depth,0)*.014 + var(--file-grow)));transition:transform .95s cubic-bezier(.22,1,.36,1),box-shadow .95s cubic-bezier(.22,1,.36,1);transform-origin:50% 0;backface-visibility:hidden}
#nilly-home button.ng-file-tab{position:relative;flex:0 0 44px;display:grid;grid-template-columns:145px minmax(0,1fr) auto 18px;align-items:start;gap:18px;width:100%;height:44px;padding:5px 22px 10px;margin:0;border:0;border-radius:0;background:var(--swatch);color:#14210f;text-align:left;cursor:pointer;font:12px/17px Arial,sans-serif;letter-spacing:0;text-transform:none;touch-action:manipulation}
#nilly-home .ng-file[data-ink=light] .ng-file-tab{color:#f3f6e9}
#nilly-home .ng-file-code{white-space:nowrap;font-size:10px;line-height:17px}
#nilly-home .ng-file-code b{font-size:13px;font-weight:800;letter-spacing:-.025em;margin-right:7px}
#nilly-home .ng-file-name{font-size:13px;line-height:17px;font-weight:500;letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#nilly-home .ng-file-hex{font:10px/17px Arial,sans-serif;font-variant-numeric:tabular-nums}
#nilly-home .ng-file-tab>span:last-child{font-size:18px;line-height:17px;opacity:.7;transition:transform .45s cubic-bezier(.16,1,.3,1)}
#nilly-home .ng-file.is-active .ng-file-tab>span:last-child{transform:rotate(45deg);opacity:1}
#nilly-home .ng-file-body{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);flex:1;min-height:0;min-width:0;background:#232922}
#nilly-home .ng-file .project-info{min-height:0;min-width:0;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:20px;padding:clamp(22px,3.5vw,48px);color:var(--paper)}
#nilly-home .ng-file .project-meta{display:flex;justify-content:space-between;gap:14px;width:100%;font:10px/1.5 Arial,sans-serif;color:#b5c0ab;letter-spacing:.035em}
#nilly-home .ng-file .project-title{font:400 clamp(38px,4vw,60px)/.95 VT323,'Courier New',monospace;letter-spacing:-.025em;margin:0 0 16px;color:var(--paper)}
#nilly-home .ng-file .project-title.greek-title{font:600 clamp(25px,2.8vw,38px)/1.08 Arial,sans-serif;letter-spacing:-.04em}
#nilly-home .ng-file .project-desc{font:14px/1.7 Arial,sans-serif;color:#c2ccb8;margin:0;max-width:36ch}
#nilly-home .ng-file .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}
#nilly-home .ng-file .tags span{border:1px solid #d2e5ba35;color:#c8d8b9;padding:5px 8px;font:10px/1.4 Arial,sans-serif}
#nilly-home .ng-file .project-link{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--lime);border-top:1px solid #c5ff4130;min-height:44px;padding-top:14px;font:13px/1.4 Arial,sans-serif}
#nilly-home .ng-file .project-link:after{display:none}
#nilly-home .ng-file .project-link>span:last-child{font-size:24px}
#nilly-home .ng-file .project-visual{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;height:auto;border:0;border-left:1px solid #cfedab20;background:#1d271d;background:color-mix(in srgb,var(--swatch) 12%,#171e17);padding:24px;overflow:clip}
#nilly-home .ng-file .project-visual img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 15px 20px #0004);transform:none!important;will-change:auto;scale:1;transition:scale .85s cubic-bezier(.16,1,.3,1)}
#nilly-home .ng-file .project-corner{position:absolute;top:14px;right:14px;padding:6px 8px;background:#172017e8;color:#d4e2c7;font:10px/1.4 Arial,sans-serif;letter-spacing:.06em;max-width:calc(100% - 28px)}
#nilly-home button.ng-file-tab:focus-visible{outline:2px solid #f4f3ec;outline-offset:-4px}
#nilly-home .ng-file:focus-within{scroll-margin-top:calc(var(--file-top) + var(--file-i)*var(--file-peek))}
#nilly-home .ng-file.is-covered:focus-within>.ng-file-face{--file-lift:-24px;--file-grow:.012;box-shadow:0 30px 65px #0006}
#nilly-home .ng-file-caption{display:flex;justify-content:space-between;gap:20px;margin-top:20px;padding-bottom:60px;font:12px/1.5 Arial,sans-serif;color:#aebba3}
#nilly-home .ng-file-caption>a{color:var(--lime);border-bottom:1px solid #c5ff4150;white-space:nowrap}
@media(hover:hover) and (pointer:fine){#nilly-home .ng-file.is-covered:hover>.ng-file-face{--file-lift:-32px;--file-grow:.02;box-shadow:0 34px 70px #0007}#nilly-home .ng-file .project-visual:hover img{scale:1.02}}
@media(min-width:1600px){#nilly-home .ng-file-drawer{--file-top:118px;--file-peek:34px;--file-height:clamp(460px,calc(100svh - 480px),760px)}}
@media(max-width:1000px){#nilly-home .ng-file-drawer{--file-top:108px;--file-peek:28px;--file-height:clamp(400px,calc(100svh - 410px),680px)}#nilly-home .ng-file .project-info{padding:24px;gap:16px}#nilly-home .ng-file .project-title{font-size:44px}#nilly-home .ng-file .project-desc{font-size:13px}#nilly-home .ng-file .project-meta{font-size:9px}#nilly-home button.ng-file-tab{grid-template-columns:125px minmax(0,1fr) auto 16px;gap:12px;padding-inline:16px}}
@media(max-width:760px),(max-height:650px){#nilly-home .ng-file{position:relative;top:auto;margin-bottom:28px}#nilly-home .ng-file-face{height:auto;min-height:0;transform:none!important}#nilly-home .ng-file-body{grid-template-columns:minmax(0,1fr)}#nilly-home .ng-file .project-info{min-height:300px;padding:24px;gap:22px}#nilly-home .ng-file .project-visual{height:360px;border-left:0;border-top:1px solid #cfedab20;padding:20px}#nilly-home button.ng-file-tab{grid-template-columns:110px minmax(0,1fr) 16px;padding:8px 12px;min-height:46px;height:46px;flex-basis:46px;align-items:center;gap:8px}#nilly-home .ng-file-hex{display:none}#nilly-home .ng-file-name{font-size:12px}#nilly-home .ng-file-code{font-size:9px}#nilly-home .ng-file-code b{font-size:12px;margin-right:3px}#nilly-home .ng-file-tools{font-size:10px;margin-bottom:20px}#nilly-home .ng-file-caption{font-size:11px;padding-bottom:30px}#nilly-home .ng-file.is-covered:focus-within>.ng-file-face{transform:none}}
@media(max-width:480px){#nilly-home .about-layout>*{min-width:0}#nilly-home .metrics{gap:20px;flex-wrap:wrap}#nilly-home .metric{min-width:0;flex:1 1 100px}#nilly-home .metric strong{font-size:64px}#nilly-home .metric span{font-size:14px}}
@media(prefers-reduced-motion:reduce){#nilly-home .ng-file-drawer *,#nilly-home [data-file-step]{transition:none!important;animation:none!important}#nilly-home .ng-file-face{transform:none!important}#nilly-home .ng-file .project-visual img{scale:1!important}}
body.ng-motion-off #nilly-home .ng-file-drawer *,body.ng-motion-off #nilly-home [data-file-step]{transition:none!important;animation:none!important}
body.ng-motion-off #nilly-home .ng-file-face{transform:none!important}
body.ng-motion-off #nilly-home .ng-file .project-visual img{scale:1!important}
html:has(body.ng-motion-off #nilly-home .ng-file-drawer){scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){html:has(#nilly-home .ng-file-drawer){scroll-behavior:auto!important}}
@media(max-width:760px),(max-height:650px){#nilly-home .ng-file-drawer{padding-bottom:0}#nilly-home .ng-file-anchor{height:1px}}

/* Only the newly added block is styled. No selector can match an existing section. */
#nilly-home-product-proof{--hp-ease:cubic-bezier(.16,1,.3,1)}
#nilly-home-product-proof .hp-proof-devices{display:block;position:relative;padding:10px 30px 65px 0;perspective:1200px}
#nilly-home-product-proof .hp-proof-desktop{background:#f1f4eb;border:1px solid #d9e2cc;box-shadow:0 28px 45px #0b150970;transform:rotateY(-8deg) rotateX(3deg);transform-origin:left center;transition:transform 1s var(--hp-ease)}
#nilly-home-product-proof .hp-proof-bar{display:flex;align-items:center;gap:5px;padding:10px;background:#e5ebde;color:#38452c}
#nilly-home-product-proof .hp-proof-bar i{width:5px;height:5px;border:1px solid #738663;border-radius:50%}
#nilly-home-product-proof .hp-proof-bar span{margin-left:7px}
#nilly-home-product-proof .hp-proof-desktop>img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;background:#f2f5ed}
#nilly-home-product-proof .hp-proof-phone{position:absolute;bottom:10px;right:0;width:24%;max-width:160px;border:5px solid #f4f5ef;border-radius:17px;overflow:hidden;background:#f4f5ef;box-shadow:0 18px 35px #0b150a80;transform:rotate(5deg);transition:transform 1s var(--hp-ease)}
#nilly-home-product-proof .hp-proof-phone img{display:block;width:100%;height:auto;aspect-ratio:.48;object-fit:cover;object-position:top}
@media(hover:hover) and (pointer:fine){#nilly-home-product-proof .hp-proof-devices:hover .hp-proof-desktop{transform:rotateY(-1deg) rotateX(0deg) translateY(-9px)}#nilly-home-product-proof .hp-proof-devices:hover .hp-proof-phone{transform:rotate(1deg) translateY(-14px)}}


@media(max-width:700px){
 #nilly-home-product-proof .hp-proof-devices{padding-right:20px;padding-bottom:45px}
 #nilly-home-product-proof .hp-proof-phone{border-width:4px;border-radius:12px}
 #nilly-home-product-proof .hp-proof-bar{padding:7px}
}
@media(prefers-reduced-motion:reduce){#nilly-home-product-proof .hp-proof-devices :is(.hp-proof-desktop,.hp-proof-phone){transform:none!important;transition:none!important}}
body.ng-motion-off #nilly-home-product-proof .hp-proof-devices :is(.hp-proof-desktop,.hp-proof-phone){transform:none!important;transition:none!important}
@media(max-width:360px){#nilly-home .metrics{column-gap:12px}#nilly-home .metric{min-width:min-content}}

#nilly-home #work .ng-file-face {
    transition: transform .56s cubic-bezier(.22,.68,.32,1), box-shadow .46s ease-out;
}
#nilly-home #work .ng-file-tab > span:last-child {
    transition: transform .32s cubic-bezier(.22,.68,.32,1), opacity .24s ease-out;
}
#nilly-home #work .ng-file .project-visual img {
    transition-duration: .55s;
}
#nilly-home #work .ng-file .project-visual:where([href*="/product/nillyhub/"], [href*="/revolt-energy/"]) {
    container-type: size;
}
#nilly-home #work .ng-file .project-visual:where([href*="/product/nillyhub/"], [href*="/revolt-energy/"]) img {
    box-sizing: border-box;
    width: min(100%, 100cqh);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border: clamp(12px, 1.6vw, 25px) solid #fff;
    background: #fff;
}
#nilly-home #work .ng-file-sound {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 .7rem;
    border: 1px solid #68755a80;
    border-radius: 999px;
    background: transparent;
    color: var(--paper);
    font: 11px/1.3 Arial, sans-serif;
    white-space: nowrap;
    cursor: pointer;
}
#nilly-home #work .ng-file-sound[aria-pressed="true"] {
    border-color: var(--lime);
    color: var(--lime);
}
#nilly-home #work :is(.ng-file-sound, [data-file-step]):focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}
@media (max-width: 760px) {
    #nilly-home #work .ng-file-tools { flex-wrap: wrap; gap: 10px; }
    #nilly-home #work .ng-file-sound { min-height: 44px; }
    #nilly-home #work [data-file-step] { width: 44px; height: 44px; }
}
