.project-gallery{position:relative;scroll-margin-top:5rem;padding-block:clamp(2.75rem,1.6rem + 4.4vw,4.75rem)}.project-gallery-head{display:grid;gap:clamp(1rem,2.2vw,1.6rem);align-items:end;margin-bottom:clamp(1.25rem,2.4vw,1.9rem)}@media (min-width:900px){.project-gallery-head{grid-template-columns:minmax(0,1fr) auto}}.project-gallery-title{font-size:var(--fs,clamp(2rem,1.4rem + 2.6vw,3rem));margin:.55rem 0 .7rem}.project-gallery-lede{max-width:40rem;color:var(--muted);font-size:clamp(.98rem,.94rem + .2vw,1.08rem);line-height:1.55}.project-gallery-metercard{display:flex;flex-direction:column;gap:.85rem;padding:1rem 1.1rem;min-width:min(100%,17rem)}.project-gallery-meter{display:flex;gap:1.4rem}.project-gallery-meter dt{font-family:var(--font-mono),ui-monospace,monospace;font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}.project-gallery-meter dd{margin:.2rem 0 0;font-family:var(--font-display),"Arial Narrow",sans-serif;font-weight:600;font-size:1.7rem;line-height:1;letter-spacing:-.02em;color:var(--fg)}.project-gallery-meter dd b{color:var(--brand);font-weight:600}.project-gallery-metercard .btn{width:100%}.project-gallery-filterbar{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:clamp(1.1rem,2vw,1.5rem)}.project-gallery-filterlabel{gap:.4rem;font-size:.66rem;letter-spacing:.16em;color:var(--muted);margin-right:.1rem}.project-gallery-filter,.project-gallery-filterlabel{display:inline-flex;align-items:center;font-family:var(--font-mono),ui-monospace,monospace;text-transform:uppercase}.project-gallery-filter{gap:.45rem;font-size:.72rem;font-weight:500;letter-spacing:.05em;padding:.44rem .8rem;border-radius:999px;border:1px solid var(--border);color:var(--fg);background:color-mix(in srgb,var(--fg) 3%,transparent);cursor:pointer;transition:color .2s var(--ease),background-color .2s var(--ease),border-color .2s var(--ease),transform .2s var(--ease)}.project-gallery-filter:hover{border-color:color-mix(in srgb,var(--fg) 34%,transparent);transform:translateY(-1px)}.project-gallery-filter .project-gallery-count{font-size:.66rem;color:var(--muted);transition:color .2s var(--ease)}.project-gallery-filter[aria-pressed=true]{background:var(--brand);border-color:var(--brand);color:#fafafa;box-shadow:0 2px 0 0 var(--btn-plate)}.project-gallery-filter[aria-pressed=true] .project-gallery-count{color:hsla(0,0%,100%,.72)}.project-gallery-grid{display:grid;grid-template-columns:1fr;gap:clamp(1rem,2vw,1.6rem)}@media (min-width:1024px){.project-gallery-grid{grid-template-columns:minmax(288px,340px) minmax(0,1fr);align-items:start}}.project-gallery-index{list-style:none;margin:0;padding:0 0 .35rem;display:flex;flex-direction:row;gap:.6rem;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin}@media (min-width:1024px){.project-gallery-index{flex-direction:column;overflow:visible;padding-bottom:0;gap:.5rem}}.project-gallery-row{scroll-snap-align:start;flex:0 0 15.5rem;position:relative;display:grid;grid-template-columns:auto 1fr;gap:.15rem .75rem;text-align:left;padding:.85rem .9rem .85rem .85rem;border-radius:13px;border:1px solid var(--card-border);background:var(--card);color:var(--fg);cursor:pointer;overflow:hidden;transition:border-color .22s var(--ease),transform .22s var(--ease),box-shadow .22s var(--ease),background-color .22s var(--ease)}@media (min-width:1024px){.project-gallery-row{flex:none;width:100%}}.project-gallery-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--accent);transform:scaleY(0);transform-origin:top center;transition:transform .28s var(--ease)}.project-gallery-row:hover{border-color:color-mix(in srgb,var(--fg) 24%,transparent);transform:translateY(-1px)}.project-gallery-row[aria-pressed=true]{border-color:color-mix(in srgb,var(--brand) 55%,transparent);background:color-mix(in srgb,var(--brand) 7%,var(--card));box-shadow:0 1px 0 0 rgba(20,22,63,.05),0 18px 34px -26px rgba(7,70,212,.7)}.project-gallery-row[aria-pressed=true]:before{transform:scaleY(1)}.project-gallery-rownum{font-family:var(--font-mono),ui-monospace,monospace;font-size:.72rem;font-weight:600;letter-spacing:.04em;color:var(--brand);padding-top:.15rem}.project-gallery-row[aria-pressed=true] .project-gallery-rownum{color:var(--accent-deep)}.project-gallery-rowtitle{font-family:var(--font-body),system-ui,sans-serif;font-weight:600;font-size:.95rem;line-height:1.22;letter-spacing:-.01em;color:var(--fg);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.project-gallery-rowmeta{grid-column:2;margin-top:.3rem;font-family:var(--font-mono),ui-monospace,monospace;font-size:.63rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.project-gallery-rowmeta .project-gallery-dot{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.6}.project-gallery-viewer{display:flex;flex-direction:column;gap:clamp(.75rem,1.5vw,1.05rem);min-width:0}.project-gallery-vhead{display:flex;flex-wrap:wrap;align-items:baseline;gap:.55rem .9rem}.project-gallery-vnum{letter-spacing:.16em;color:var(--brand)}.project-gallery-vloc,.project-gallery-vnum{font-family:var(--font-mono),ui-monospace,monospace;font-size:.7rem;text-transform:uppercase}.project-gallery-vloc{display:inline-flex;align-items:center;gap:.32rem;letter-spacing:.06em;color:var(--muted)}.project-gallery-vtitle{width:100%;font-size:clamp(1.35rem,1.05rem + 1.3vw,1.95rem);margin:.1rem 0 0;line-height:1.06}.project-gallery-tags{display:inline-flex;gap:.4rem;flex-wrap:wrap}.project-gallery-tag{font-family:var(--font-mono),ui-monospace,monospace;font-size:.62rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;padding:.24rem .55rem;border-radius:999px;border:1px solid var(--border);color:var(--muted);background:color-mix(in srgb,var(--fg) 3%,transparent)}.project-gallery-stage{position:relative;display:block;width:100%;aspect-ratio:4/3;max-height:50vh;border-radius:16px;overflow:hidden;border:1px solid var(--card-border);background:#0a0912;cursor:zoom-in;padding:0}@media (min-width:640px){.project-gallery-stage{aspect-ratio:16/10}}.project-gallery-stage-img{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block;transition:transform .5s var(--ease);animation:project-gallery-fade .5s var(--ease) both}.project-gallery-stage:hover .project-gallery-stage-img{transform:scale(1.035)}.project-gallery-stage-scrim{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(6,4,14,.32),transparent 24%,transparent 58%,rgba(6,4,14,.5))}.project-gallery-openbadge{position:absolute;top:.7rem;right:.7rem;display:inline-flex;align-items:center;gap:.36rem;font-family:var(--font-mono),ui-monospace,monospace;font-size:.63rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#f6f8fb;padding:.34rem .6rem;border-radius:999px;background:rgba(10,9,18,.98);backdrop-filter:blur(4px);border:1px solid hsla(0,0%,100%,.18);z-index:2}.project-gallery-stage-foot{position:absolute;left:.8rem;bottom:.7rem;right:.8rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;z-index:2}.project-gallery-stagecount{display:inline-flex;align-items:center;gap:.4rem;font-family:var(--font-mono),ui-monospace,monospace;font-size:.66rem;letter-spacing:.1em;color:#f6f8fb;padding:.28rem .55rem;border-radius:999px;background:rgba(10,9,18,.98);backdrop-filter:blur(4px);text-shadow:0 1px 8px rgba(6,4,14,.7)}.project-gallery-stage-ticks{display:flex;gap:4px;align-items:center}.project-gallery-stage-ticks i{width:14px;height:3px;border-radius:2px;background:hsla(0,0%,100%,.42);transition:background-color .25s var(--ease),width .25s var(--ease)}.project-gallery-stage-ticks i[data-on=true]{background:var(--accent);width:20px}@media (max-width:479px){.project-gallery-stage-ticks{display:none}}.project-gallery-caption{color:var(--muted);font-size:clamp(.94rem,.9rem + .2vw,1.02rem);line-height:1.55;max-width:46rem;margin:0}.project-gallery-strip{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.4rem;scrollbar-width:thin;scroll-snap-type:x proximity}.project-gallery-thumb{flex:0 0 auto;width:clamp(66px,8.5vw,92px);aspect-ratio:4/3;border-radius:9px;overflow:hidden;border:1px solid var(--card-border);padding:0;cursor:pointer;position:relative;scroll-snap-align:start;opacity:.62;transition:opacity .2s var(--ease),border-color .2s var(--ease),transform .2s var(--ease)}.project-gallery-thumb img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.project-gallery-thumb:hover{opacity:.9;transform:translateY(-1px)}.project-gallery-thumb[aria-current=true]{opacity:1;border-color:var(--brand);box-shadow:0 0 0 2px var(--brand)}.project-gallery-lightbox{position:fixed;inset:0;z-index:90;display:flex;flex-direction:column;background:rgba(6,4,14,.9);backdrop-filter:blur(6px);animation:project-gallery-fade .24s var(--ease) both;padding:clamp(.75rem,2vw,1.5rem);color:#f4f4f8}.project-gallery-lb-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:.75rem}.project-gallery-lb-meta{min-width:0}.project-gallery-lb-eyebrow{font-family:var(--font-mono),ui-monospace,monospace;font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:var(--amber-300);display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.project-gallery-lb-title{font-family:var(--font-display),"Arial Narrow",sans-serif;font-weight:600;font-size:clamp(1.1rem,.9rem + 1vw,1.55rem);line-height:1.1;letter-spacing:-.02em;margin:.35rem 0 0;color:#fafafa;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.project-gallery-lb-close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:2.6rem;height:2.6rem;border-radius:50%;border:1px solid hsla(0,0%,100%,.22);background:hsla(0,0%,100%,.06);color:#f4f4f8;cursor:pointer;transition:background-color .2s var(--ease),transform .2s var(--ease)}.project-gallery-lb-close:hover{background:hsla(0,0%,100%,.15);transform:rotate(90deg)}.project-gallery-lb-stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.project-gallery-lb-img{max-width:100%;max-height:100%;width:auto;height:auto;-o-object-fit:contain;object-fit:contain;border-radius:10px;box-shadow:0 30px 80px -30px rgba(0,0,0,.8);animation:project-gallery-pop .32s var(--ease) both}.project-gallery-lb-nav{position:absolute;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:50%;border:1px solid hsla(0,0%,100%,.24);background:rgba(10,9,18,.55);color:#f4f4f8;cursor:pointer;transition:background-color .2s var(--ease),transform .2s var(--ease)}.project-gallery-lb-nav:hover{background:var(--brand);border-color:var(--brand)}.project-gallery-lb-nav.is-prev{left:0}.project-gallery-lb-nav.is-next{right:0}@media (min-width:640px){.project-gallery-lb-nav.is-prev{left:.5rem}.project-gallery-lb-nav.is-next{right:.5rem}}.project-gallery-lb-foot{display:flex;flex-direction:column;gap:.7rem;padding-top:.85rem}.project-gallery-lb-cap{display:flex;align-items:flex-start;gap:.9rem;justify-content:space-between}.project-gallery-lb-captext{font-size:clamp(.86rem,.82rem + .2vw,.96rem);line-height:1.5;color:rgba(244,244,248,.82);margin:0;max-width:52rem}.project-gallery-lb-counter{flex:none;font-family:var(--font-mono),ui-monospace,monospace;font-size:.8rem;letter-spacing:.1em;color:#fafafa}.project-gallery-lb-counter b{color:var(--amber-300);font-weight:600}.project-gallery-lb-rail{display:flex;gap:.45rem;overflow-x:auto;padding-bottom:.3rem;scrollbar-width:thin}.project-gallery-lb-railthumb{flex:0 0 auto;width:clamp(52px,7vw,72px);aspect-ratio:4/3;border-radius:7px;overflow:hidden;border:1px solid hsla(0,0%,100%,.16);padding:0;cursor:pointer;opacity:.5;transition:opacity .2s var(--ease),border-color .2s var(--ease)}.project-gallery-lb-railthumb img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.project-gallery-lb-railthumb:hover{opacity:.85}.project-gallery-lb-railthumb[aria-current=true]{opacity:1;border-color:var(--amber-500);box-shadow:0 0 0 2px var(--amber-500)}.project-gallery-foot{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;margin-top:clamp(1.4rem,3vw,2.2rem);padding-top:1.2rem;border-top:1px solid var(--border)}.project-gallery-foot p{margin:0;color:var(--muted);font-size:.96rem}@keyframes project-gallery-fade{0%{opacity:0}to{opacity:1}}@keyframes project-gallery-pop{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.project-gallery-lb-img,.project-gallery-lightbox,.project-gallery-stage-img{animation:none}.project-gallery-lb-close:hover,.project-gallery-stage:hover .project-gallery-stage-img{transform:none}}