.portfolio-main{max-width:1240px;margin:0 auto;padding:48px 5% 90px;box-sizing:border-box}.portfolio-intro{max-width:760px}.portfolio-lede{font-size:16px;line-height:1.65;color:#655f52;margin:20px 0 30px}.portfolio-tabs{display:flex;gap:28px;border-bottom:1px solid #ded7c5;margin:0 0 38px;overflow-x:auto;white-space:nowrap}.portfolio-tabs a{font-size:14px;padding:16px 0;color:#746d5d;border-bottom:3px solid transparent}.portfolio-tabs a[aria-current=page]{color:#191912;border-color:#c59830;font-weight:600}.portfolio-tabs a:hover{color:#000}.portfolio-tabs span{font-size:11px;margin-left:5px;color:#837756}.portfolio-shelf{margin:0 0 44px}.shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.shelf-heading h2{font-size:22px;font-weight:550;margin:0 0 5px}.shelf-heading p{font-size:13px;color:#797160;margin:0;line-height:1.5}.shelf-tools{display:flex;gap:8px;align-items:center;flex-shrink:0}.shelf-tools button,.catalog-filters button,.panel-top button,#close-image{background:none;border:1px solid #ddd4bd;border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:17px}.shelf-tools .view-shelf{border:0;border-radius:0;width:auto;font-size:12px;color:#746d5d;padding:8px}.portfolio-row{display:grid;grid-auto-columns:calc((100% - 40px)/3);grid-auto-flow:column;gap:20px;overflow-x:auto;padding:0 0 16px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#d8c78f transparent}.portfolio-row.featured{grid-auto-columns:calc(35% - 7px)}.work-card{min-width:0;scroll-snap-align:start}.work-media{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/10;border:1px solid #e3ddcf;background:#f6f4ef;border-radius:7px;overflow:hidden;padding:12px;box-sizing:border-box;cursor:pointer;position:relative;transition:background .2s}.work-media img{width:100%;height:100%;object-fit:contain;margin:0;transition:transform .25s}.work-media video{width:100%;height:100%;object-fit:contain}.work-media:hover img{transform:scale(1.025)}.media-caption{position:absolute;bottom:7px;right:8px;background:#fffdf7e8;font-size:9px;padding:3px 6px;border-radius:3px;color:#6e6655}.text-preview{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:15px;width:100%;height:100%;padding:22px;box-sizing:border-box;text-align:left}.text-preview strong{font-size:30px;letter-spacing:-1px;font-weight:550}.text-preview small{font-size:12px;color:#6f6859}.work-context{font-size:10px;letter-spacing:.06em;color:#82755a;margin:15px 0 7px;text-transform:uppercase}.work-title{font-size:18px;font-weight:600;background:none;border:0;padding:0;text-align:left;cursor:pointer}.work-title:hover{text-decoration:underline;text-decoration-color:#d8b34f;text-underline-offset:5px}.work-description{font-size:13px;line-height:1.55;color:#655f52;margin:7px 0 10px}.work-tags{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.work-tags span{font-size:10px;color:#766b54;background:#f8f4e8;border-radius:3px;padding:4px 6px}.artifact-links{display:flex;flex-wrap:wrap;gap:13px;font-size:12px;margin-top:12px}.artifact-links a{border-bottom:1px solid #d4af52;padding-bottom:2px}.artifact-links a:hover{background:#fff1c8}.catalog-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:20px}.catalog-controls input,.catalog-controls select{font-size:13px;padding:12px;border:1px solid #d8d1c0;background:#fff;border-radius:5px;box-sizing:border-box}.catalog-controls input{flex:1;min-width:190px}.catalog-controls select{max-width:100%}.catalog-count{font-size:12px;color:#797160;margin:0 0 22px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 20px}.empty-catalog{padding:50px 0;color:#655f52}.empty-catalog button{border:0;border-bottom:1px solid #b28c31;background:none;cursor:pointer}.catalog-label{font-size:25px;font-weight:550;margin:0 0 20px}.view-intro{color:#756d5d;font-size:13px;margin:-15px 0 30px;line-height:1.6}
#project-panel{position:fixed;inset:0 0 0 auto;margin:0;width:min(720px,90vw);height:100dvh;max-height:100dvh;max-width:none;border:0;border-left:1px solid #d9d0bb;padding:0;background:#fffdf8;box-sizing:border-box;box-shadow:-12px 0 60px #302b2020;overflow-y:auto;overscroll-behavior:contain}#project-panel::backdrop{background:#211f1b66;backdrop-filter:blur(2px)}.panel-top{display:flex;justify-content:space-between;align-items:center;padding:18px 28px;border-bottom:1px solid #e3ddcf;position:sticky;top:0;background:#fffdf8f5;z-index:2}.panel-top .eyebrow{margin:0}.panel-top button,#close-image{border-radius:4px;width:auto;padding:7px 12px;height:auto;font-size:13px}.panel-body{padding:26px 32px 60px}.panel-body h2{font-size:34px;line-height:1.2;font-weight:550;letter-spacing:-1px;margin:12px 0}.panel-body .panel-description{font-size:17px;line-height:1.6;color:#655f52}.panel-body h3{font-size:15px;margin:30px 0 10px}.panel-body p{font-size:14px;line-height:1.75}.panel-gallery{display:grid;gap:16px;margin:28px 0}.panel-gallery button{padding:12px;background:#f4f1e9;border:1px solid #e3ddcf;border-radius:5px;cursor:zoom-in}.panel-gallery img{width:100%;max-height:520px;object-fit:contain}.panel-gallery video{width:100%;max-height:520px}.panel-source{font-size:11px!important;color:#7e7563}.panel-case-link{display:inline-block;border-bottom:1px solid #c6a243;font-size:13px;margin-top:24px}.case-reading{max-width:800px;margin:auto}.case-reading .panel-body{padding:0}.case-back{display:inline-block;margin-bottom:30px;font-size:13px;border-bottom:1px solid #c6a243}#image-viewer{background:#fffdf8;border:0;border-radius:6px;max-width:94vw;max-height:94dvh;padding:18px;box-sizing:border-box}#image-viewer::backdrop{background:#171611db}#image-viewer img{max-width:88vw;max-height:80dvh;object-fit:contain}#close-image{display:block;margin:0 0 12px auto}body:has(dialog[open]){overflow:hidden}.projects-page :focus-visible{outline:2px solid #9a7520;outline-offset:4px}
@media(min-width:1500px){.portfolio-main{max-width:1420px}.portfolio-row{grid-auto-columns:calc((100% - 60px)/4)}}
@media(max-width:800px){.portfolio-main{padding:38px 7% 60px}.portfolio-tabs{gap:23px;margin-bottom:30px}.portfolio-row{grid-auto-columns:75%}.portfolio-row.featured{grid-auto-columns:60.2%}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shelf-heading h2{font-size:20px}.shelf-heading p{max-width:300px}.shelf-tools button:not(.view-shelf){display:none}}
@media(max-width:520px){.portfolio-main{padding-left:22px;padding-right:22px}.portfolio-intro .title{font-size:30px}.portfolio-lede{font-size:14px}.portfolio-tabs{gap:21px}.portfolio-tabs a{font-size:12px}.portfolio-tabs span{display:none}.portfolio-row{grid-auto-columns:85%;gap:14px}.portfolio-row.featured{grid-auto-columns:64.4%}.catalog-grid{grid-template-columns:1fr;gap:28px}.catalog-controls input{flex-basis:100%}.catalog-controls select{flex:1;min-width:0}.shelf-heading h2{font-size:19px}.shelf-heading p{font-size:12px}.shelf-tools .view-shelf{font-size:11px}#project-panel{width:100%;border:0}.panel-body{padding:22px 22px 50px}.panel-top{padding:16px 22px}.panel-body h2{font-size:29px}.case-reading .panel-body{padding:0}}
.portfolio-tabs[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.work-media img{transition:none}}

.panel-gallery figure{margin:0}.panel-gallery figure button{width:100%}.panel-gallery figcaption{font-size:12px;line-height:1.5;color:#796f5b;margin:8px 0 4px}.work-media:has(img[src*=hophacks]){background:#f0eee8}

.work-year{color:#82755a;text-transform:none;white-space:nowrap}.catalog-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.catalog-shortcuts button{font-size:12px;border:1px solid #ddd3bd;border-radius:20px;padding:8px 12px;background:#fffdf7;cursor:pointer}.catalog-shortcuts button[aria-pressed=true]{background:#fbe9ae;border-color:#b89b4b}.catalog-shortcuts button:hover{background:#fff1ca}

.project-scene{margin:28px 0}.project-scene iframe{display:block;width:100%;height:440px;border:1px solid #e3ddcf;border-radius:6px;background:#faf8f0}.post-gallery{border-top:1px solid #ded7c5;padding-top:8px;margin-top:30px}.post-gallery .panel-case-link{margin-top:0}.post-gallery .panel-gallery{margin-top:16px}
@media(max-width:520px){.project-scene iframe{height:360px}}

.work-tags .award-tag{background:#fff0bd;color:#6d510d;border:1px solid #e6cd78;font-weight:500;line-height:1.35}

[hidden]{display:none!important}.portfolio-gate{max-width:480px;margin:3rem 0 6rem}.portfolio-password-row{display:flex;gap:.65rem;align-items:stretch}.portfolio-password-row input{width:0;min-width:0;flex:1;padding:.8rem;border:1px solid #b9ac8f;border-radius:6px;font:inherit}.portfolio-password-row button,.portfolio-lock{padding:.7rem 1rem;background:#fff0bd;border:1px solid #c9ad60;border-radius:6px;font:inherit;cursor:pointer}.portfolio-password-row button:disabled{opacity:.6;cursor:wait}.portfolio-auth-status{min-height:1.5em}.portfolio-lock{font-size:.8rem;margin-top:1rem}

.portfolio-password-row button{white-space:nowrap}

.portfolio-intro{max-width:none}.portfolio-intro .title{display:flex;align-items:center;justify-content:space-between;gap:16px}.portfolio-intro .heading-highlight{min-width:0}.portfolio-lede{max-width:760px}.portfolio-intro .portfolio-lock{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#746d5d;cursor:pointer}.portfolio-intro .portfolio-lock:hover{background:#fff4d3;color:#191912}.portfolio-lock:focus-visible{outline:2px solid #a9790c;outline-offset:3px}

/* Compact all-work collection. */
.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px}
.catalog-grid .work-media{padding:8px}
.catalog-grid .work-context{font-size:10px;margin:10px 0 5px}
.catalog-grid .work-title{font-size:15px;line-height:1.3}
.catalog-grid .work-description{font-size:12px;line-height:1.45;margin:6px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.catalog-grid .work-tags{margin:8px 0;gap:4px}
.catalog-grid .artifact-links{font-size:11px;gap:8px;margin-top:8px}
.catalog-grid .text-preview{padding:10px;gap:8px}
.catalog-grid .text-preview strong{font-size:20px}
.catalog-grid .text-preview small{font-size:11px}
@media(min-width:1500px){.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:900px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.catalog-grid .work-media{padding:5px}.catalog-grid .work-title{font-size:14px}.catalog-grid .text-preview strong{font-size:17px}}

.portfolio-main,.portfolio-shelf,.portfolio-row{min-width:0}.portfolio-shelf,.portfolio-row{max-width:100%}

.panel-gallery button[data-image-theme]{box-sizing:border-box;padding:20px;background:#faf9fc}.panel-gallery button[data-image-theme=dark]{background:#201d29}#image-viewer[data-theme=dark] #full-image{background:#201d29}#image-viewer[data-theme=light] #full-image{background:#faf9fc}
.collection-nav{display:flex;flex-wrap:wrap;gap:10px 18px;margin:24px 0;padding:14px 0;border-block:1px solid #e2dac7}.collection-nav a{font-size:13px;color:#76694a;text-decoration:underline;text-underline-offset:4px}.collection-section{scroll-margin-top:28px;margin:30px 0}.collection-section>h3{font-size:20px}.collection-section>p{color:#716b60}.artifact-links button{background:none;border:0;border-bottom:1px solid #c7a643;padding:0;font:inherit;color:inherit;cursor:pointer}
/* Compact image previews shared by project pages and the side panel. */
.project-photos{margin:26px 0 34px;min-width:0}.photo-tabs{display:flex;gap:8px;overflow-x:auto;padding:0 0 14px;scrollbar-width:thin}.photo-tabs button{flex-shrink:0;border:1px solid #ddd4bd;border-radius:20px;background:transparent;padding:8px 12px;font:inherit;font-size:12px;color:#71664d;cursor:pointer}.photo-tabs button[aria-pressed=true]{background:#f5e7b3;border-color:#ccb462;color:#292719}.photo-tabs span{margin-left:5px;font-size:10px}.photo-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,145px);gap:10px;min-width:0}.bento-tile{position:relative;min-width:0;min-height:0;overflow:hidden;border:1px solid #e2dccf;border-radius:7px;background:#f3f0e8;padding:8px;cursor:zoom-in}.bento-tile:first-child{grid-column:span 2;grid-row:span 2}.bento-tile img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;margin:0;transition:transform .2s ease}.bento-tile:hover img{transform:scale(1.035)}.bento-tile[data-image-theme=dark]{background:#201d29}.photo-bento[data-count="1"]{display:block;height:310px}.photo-bento[data-count="1"] button{width:100%;height:100%}.photo-bento[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:280px}.photo-bento[data-count="2"] .bento-tile:first-child{grid-column:auto;grid-row:auto}.photo-bento[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-bento[data-count="4"] .bento-tile:last-child{grid-column:span 2}.bento-more{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#28251dd9;color:#fff;font-size:17px;font-weight:550;gap:7px}.bento-more span{font-size:12px;font-weight:400;color:#e7dfcc}.gallery-open{display:block;margin:12px 0 0 auto;background:none;border:0;border-bottom:1px solid #c7a643;padding:4px 0;font:inherit;font-size:12px;cursor:pointer;color:#756342}.gallery-video{display:block;width:100%;max-height:320px;margin-top:18px}.project-photos .artifact-links{font-size:11px}
#image-viewer{width:min(1280px,96vw);height:94dvh;max-width:96vw;max-height:94dvh;margin:auto;padding:16px 20px;overflow:hidden;background:#fffdf8;box-sizing:border-box}#image-viewer[open]{display:flex;flex-direction:column;gap:10px}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:#766b54}.gallery-toolbar>div{display:flex;gap:10px;align-items:center}#close-image{margin:0}#gallery-zoom{border:1px solid #ddd4bd;border-radius:4px;padding:7px 12px;background:none;font:inherit;cursor:pointer}.gallery-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;border-radius:5px;background:#f3f0e8;touch-action:pan-y pinch-zoom}#image-viewer .gallery-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;margin:auto}#image-viewer[data-theme=dark] .gallery-stage{background:#201d29}#image-viewer.is-zoomed .gallery-stage{display:block;touch-action:auto}#image-viewer.is-zoomed .gallery-stage img{max-width:none;max-height:none;width:auto;height:auto}.gallery-navigation{display:flex;align-items:center;gap:14px;justify-content:space-between}.gallery-navigation button{flex-shrink:0;border:1px solid #d9d0bc;background:none;border-radius:50%;width:36px;height:36px;font-size:20px;cursor:pointer}.gallery-navigation button:disabled{opacity:.3;cursor:default}#gallery-caption{font-size:12px;line-height:1.5;color:#6c624e;text-align:center;margin:0;max-height:4.5em;overflow:auto}#gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;flex-shrink:0;padding:4px 0;scrollbar-width:thin}#gallery-thumbnails button{flex:0 0 62px;width:62px;height:54px;padding:3px;border:2px solid transparent;border-radius:4px;background:#eee9dc;cursor:pointer}#gallery-thumbnails button[aria-current=true]{border-color:#ad8524;background:#f9edc5}#gallery-thumbnails button[data-image-theme=dark]{background:#201d29}#image-viewer #gallery-thumbnails img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0}
#project-panel .photo-bento{grid-template-rows:repeat(2,110px)}#project-panel .photo-bento[data-count="1"]{height:250px}#project-panel .photo-bento[data-count="2"]{grid-template-rows:220px}
@media(max-width:600px){.photo-bento,#project-panel .photo-bento{grid-template-rows:repeat(2,85px);gap:6px}.bento-tile{padding:4px}.bento-more{font-size:13px}.bento-more span{font-size:10px}.photo-bento[data-count="1"],#project-panel .photo-bento[data-count="1"]{height:230px}.photo-bento[data-count="2"],#project-panel .photo-bento[data-count="2"]{grid-template-rows:180px}#image-viewer{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border-radius:0;padding:12px}#gallery-thumbnails button{flex-basis:52px;width:52px;height:46px}.photo-tabs button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.bento-tile img{transition:none}}
