/* An unhurried, photographic portfolio. All images come from published projects. */
.ypg-index,.ypg-detail{background:#f8f7f3;color:#30362c}
.ypg-container{width:calc(100% - 96px);max-width:1520px;margin-inline:auto}
.ypg-index{padding:80px 0 110px;min-height:70vh}
.ypg-index>.ypg-container{width:calc(100% - 80px);max-width:none}
.ypg-intro{position:relative;padding-bottom:58px}
.ypg-intro .eyebrow{font-size:10px;letter-spacing:.15em;color:#858675}
.ypg-intro h1{font-size:clamp(42px,5.8vw,80px);line-height:1.2;letter-spacing:-.055em;margin:16px 0 0}
.ypg-intro p{font-size:13px;line-height:1.9;color:#7b7f72}
.ypg-toolbar{position:relative;z-index:3;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:20px}
.ypg-views{display:flex;align-items:center;gap:22px;min-width:0;min-height:42px;padding-bottom:8px}
.ypg-views button,.ypg-reset{border:0;background:none;padding:7px 0;color:#939487;font-size:12px;cursor:pointer;border-radius:0}
.ypg-views button[aria-pressed="true"]{color:#30362c;box-shadow:0 1px currentColor}
.ypg-filters{display:block;margin:0}
.ypg-filters label{display:block;min-width:0}
.ypg-filters label>span{display:block;font-size:9px;color:#888d7b;letter-spacing:.04em;margin-bottom:5px}
.ypg-filters select,.ypg-filters input{font:inherit;font-size:12px;color:#454b3e;border:0;border-radius:0;background:transparent;padding:10px 24px 10px 0;width:100%;min-width:0;max-width:none}
.ypg-filters select{min-height:39px;cursor:pointer}
.ypg-filters select:focus-visible{outline:2px solid #6e795e;outline-offset:3px}
.ypg-search input:focus,.ypg-search input:focus-visible{outline:none;box-shadow:none}
.ypg-filter{position:relative;min-width:0}
.ypg-filter-native[hidden]{display:none!important}
.ypg-filter-label{display:block;font-size:9px;letter-spacing:.04em;color:#858d78;margin:0 0 8px 2px}
.ypg-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:44px;padding:11px 13px;border:1px solid #d5d9ca;border-radius:11px;background:#fffdf7;color:#49563d;font:inherit;font-size:12px;text-align:left;cursor:pointer;transition:background-color .18s,border-color .18s,box-shadow .18s}
.ypg-select-value{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ypg-select-trigger>svg{display:block;width:17px;height:17px;flex:none;color:#82916f;transition:transform .18s}
.ypg-select-trigger:hover,.ypg-filter.is-open .ypg-select-trigger{background:#f0f3e8;border-color:#a5b395;box-shadow:0 2px 7px #3e4b2e08}
.ypg-filter.is-open .ypg-select-trigger>svg{transform:rotate(180deg)}
.ypg-select-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:20;width:100%;max-height:var(--ypg-menu-height,280px);overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid #d2d9c6;border-radius:12px;background:#fffef8;box-shadow:0 12px 28px #303b241c;scrollbar-width:thin;scrollbar-color:#bbc6a8 transparent;opacity:0;transform:translateY(-6px) scale(.985);transform-origin:top center;pointer-events:none;transition:opacity .18s,transform .18s}
.ypg-select-menu[hidden]{display:none}
.ypg-filter.is-above .ypg-select-menu{top:auto;bottom:calc(100% + 8px);transform:translateY(6px) scale(.985);transform-origin:bottom center}
.ypg-filter.is-open .ypg-select-menu{opacity:1;transform:none;pointer-events:auto}
.ypg-select-option{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:41px;padding:10px;border-radius:7px;color:#6d785f;font-size:12px;line-height:1.55;cursor:pointer;word-break:keep-all;overflow-wrap:anywhere}
.ypg-select-option>span{min-width:0}
.ypg-select-option>svg{display:block;flex:none;width:16px;height:16px;color:#526d3b;visibility:hidden}
.ypg-select-option[aria-selected="true"]{color:#3d522e;background:#f0f4e8}
.ypg-select-option[aria-selected="true"]>svg{visibility:visible}
.ypg-select-option.is-active{color:#314328;background:#e2ead6}
.ypg-search{display:flex;align-items:center;flex:0 1 250px;min-width:0;border-bottom:1px solid #c9cebd;padding-bottom:1px}
.ypg-search:focus-within{border-bottom-color:#526941}
.ypg-search label{flex:1;min-width:0}.ypg-search input{padding:9px 4px 9px 0;font-size:11px}
.ypg-search button{display:grid;place-items:center;flex:none;width:32px;height:36px;padding:0;background:none;border:0;cursor:pointer;color:#5c6950}
.ypg-search svg{width:15px;height:15px}
.ypg-result-line{display:flex;justify-content:space-between;gap:24px;align-items:center;min-height:62px;margin:16px 0 25px;font-size:11px;color:#7e8273}
.ypg-result-summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;min-width:0}
.ypg-result-line p{margin:0}.ypg-reset{color:#656d58;font-size:10px}
.ypg-reset[hidden]{display:none}
.ypg-results{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:38px 20px}
.ypg-project{display:block;min-width:0;position:relative;opacity:1!important}
.ypg-project:focus-visible{outline:2px solid #7b8b67;outline-offset:6px;border-radius:16px}
.ypg-project-image{position:relative;overflow:hidden;aspect-ratio:321/448;background:#e7e5dc;border-radius:16px;isolation:isolate}
.ypg-project-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.6,.3,1)}
.ypg-project:hover img,.ypg-project:focus-visible img{transform:scale(1.035)}
.ypg-project-title{padding-top:13px}
.ypg-project h2{margin:0;font-size:clamp(14px,1.05vw,17px);line-height:1.5;letter-spacing:-.02em;word-break:keep-all;overflow-wrap:anywhere}
.ypg-project-arrow{display:none}
.ypg-results[data-view="list"]{display:block;border-top:1px solid #d4d7cb}
.ypg-results[data-view="list"] .ypg-project{display:grid;grid-template-columns:76px minmax(0,1fr) 32px;gap:25px;align-items:center;padding:20px 3px;border-bottom:1px solid #d4d7cb}
.ypg-results[data-view="list"] .ypg-project-image{aspect-ratio:321/448;border-radius:12px}
.ypg-results[data-view="list"] .ypg-project-title{padding:0}
.ypg-results[data-view="list"] .ypg-project h2{font-size:clamp(17px,1.7vw,24px)}
.ypg-results[data-view="list"] .ypg-project-arrow{display:grid;place-items:center;grid-column:3;width:32px;height:32px;border:1px solid #c9cfbb;border-radius:50%;color:#66765a;transition:background .25s,color .25s}
.ypg-project-arrow svg{display:block;width:17px;height:17px;transition:transform .25s}
.ypg-results[data-view="list"] .ypg-project:is(:hover,:focus-visible) .ypg-project-arrow{background:#e6eadf;color:#34482f}
.ypg-project:is(:hover,:focus-visible) .ypg-project-arrow svg{transform:translate(2px,-2px)}
.ypg-load{text-align:center;margin-top:50px;padding-top:22px;border-top:1px solid #c9cebf}.ypg-load[hidden]{display:none}
.ypg-empty button{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:52px;max-width:100%;border:1px solid #b4b8a7;background:#efeee6;border-radius:999px;color:#45513a;font:inherit;font-size:12px;padding:12px 23px;cursor:pointer;transition:background .25s,border-color .25s,transform .25s}
.ypg-more{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:46px;max-width:100%;padding:10px 22px;background:transparent;border:0;border-radius:0;color:#536248;font:inherit;font-size:12px;letter-spacing:.12em;cursor:pointer;transition:color .25s}
.ypg-more svg{width:17px;height:17px;flex:none;transition:transform .25s}
.ypg-more:hover:not(:disabled){color:#263d1c}
.ypg-empty button:hover{background:#e5e7da;border-color:#7c896d;transform:translateY(-2px)}
.ypg-more:hover:not(:disabled) svg{transform:rotate(90deg)}
.ypg-more:disabled{opacity:.48;cursor:default}
.ypg-results[aria-busy="true"]+.ypg-load .ypg-more{cursor:wait}
.ypg-more[hidden]{display:none}
.ypg-load-state{font-size:10px;line-height:1.8;color:#8c9480;margin:6px 0 0}.ypg-load-state:empty{display:none}
.ypg-empty{grid-column:1/-1;text-align:center;padding:80px 24px;color:#6d7462}.ypg-empty h2{font-size:22px}.ypg-empty h1{font-size:30px}.ypg-empty p{font-size:13px;margin:20px 0;line-height:1.8}
.ypg-loading{min-height:55vh;display:grid;place-items:center;font-size:13px;color:#828874}
.ypg-no-photo{display:grid;place-items:center;width:100%;height:100%;font-size:12px;color:#818775}
/* The project opens with a continuous photographic ribbon, independent of scrolling. */
.ypg-detail{position:relative;isolation:isolate}
.ypg-photo-gallery{--ribbon-height:min(clamp(330px,62svh,760px),calc(100svh - var(--header-height)));position:sticky;top:var(--header-height);z-index:0;isolation:isolate;padding:0;background:#e7e5dc}
.ypg-detail-content{position:relative;z-index:1;background:#f8f7f3}
.ypg-photo-viewport{height:var(--ribbon-height);overflow:clip;touch-action:pan-y}
.ypg-photo-track{display:flex;width:max-content;height:100%;will-change:transform}
.ypg-photo-group{display:flex;flex:none;height:100%;gap:0}
.ypg-ribbon-photo{position:relative;display:block;flex:none;width:calc(var(--ribbon-height) * var(--photo-ratio,1.6));height:100%;padding:0;border:0;border-radius:0;background:#e7e5dc;cursor:zoom-in;overflow:hidden}
.ypg-ribbon-photo img{display:block;width:100%;height:100%;object-fit:cover}
.ypg-photo-zoom{position:absolute;right:20px;bottom:20px;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff80;border-radius:50%;background:#1d271c4d;color:#fff;opacity:0;transform:scale(.88);transition:opacity .25s,transform .25s}
.ypg-photo-zoom svg{width:20px;height:20px}
.ypg-ribbon-photo:hover .ypg-photo-zoom,.ypg-ribbon-photo:focus-visible .ypg-photo-zoom{opacity:1;transform:none}
.ypg-detail .ypg-ribbon-photo:focus-visible{outline:2px solid #fff;outline-offset:-5px}
.ypg-photo-gallery.is-single .ypg-photo-track,.ypg-photo-gallery.is-single .ypg-photo-group,.ypg-photo-gallery.is-single .ypg-ribbon-photo{width:100%;transform:none!important}
.ypg-ribbon-empty{width:100vw;height:100%;display:grid;place-items:center;color:#747b6b;font-size:13px}
.ypg-detail-container{width:85%;max-width:1600px}
.ypg-detail-heading{padding:clamp(32px,3.5vw,56px) 0 54px}
.ypg-back{display:inline-flex;align-items:center;gap:11px;min-height:42px;margin-bottom:28px;padding:5px 17px 5px 6px;border:1px solid #d0d4c7;border-radius:999px;background:#fffdf7;color:#59634e;font-size:11px;line-height:1.5;transition:background .25s,border-color .25s,color .25s}
.ypg-back-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#e9ecdf}
.ypg-back svg{display:block;width:17px;height:17px;transition:transform .25s}
.ypg-back:is(:hover,:focus-visible){opacity:1;background:#eeefe5;border-color:#a7b19a;color:#34442e}
.ypg-back:is(:hover,:focus-visible) svg{transform:translateX(-3px)}
.ypg-detail-heading h1{max-width:80%;margin:0;font-size:clamp(34px,3.7vw,58px);font-weight:400;line-height:1.22;letter-spacing:-.055em;word-break:keep-all;overflow-wrap:anywhere}
.ypg-detail-heading p{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:30px 0 0;font-size:11px;line-height:1.8;color:#747b6a}
.ypg-detail-heading p>span:first-child{color:#404a37}.ypg-meta-divider{color:#a2a894}
.ypg-detail-info{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7%;align-items:start;padding:0 0 68px}
.ypg-story{max-width:520px}.ypg-story h2{margin:0 0 22px;font-size:clamp(20px,1.8vw,25px);font-weight:400;line-height:1.55;letter-spacing:-.035em;word-break:keep-all;overflow-wrap:anywhere}
.ypg-story p{margin:0;white-space:pre-line;font-size:14px;line-height:2.15;color:#777e6d;word-break:keep-all;overflow-wrap:anywhere}
.ypg-specification h2{margin:0;padding:9px 0 13px;border-bottom:1px solid #77816b;font-size:12px;font-weight:400;line-height:1.5;letter-spacing:.035em}
.ypg-specification dl{margin:0}.ypg-specification dl>div{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:24px;padding:12px 0;border-bottom:1px dotted #b7bead;font-size:12px;line-height:1.8}
.ypg-specification dt{color:#8b9380;overflow-wrap:anywhere}.ypg-specification dd{margin:0;text-align:right;color:#46523d;white-space:pre-line;overflow-wrap:anywhere}.ypg-specification .ypg-unspecified{color:#a0a693}
.ypg-return{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:54px;max-width:100%;padding:10px 11px 10px 23px;border:1px solid #b9bfac;border-radius:999px;background:#fffdf7;color:#48543c;font-size:12px;line-height:1.6;text-align:left;transition:background .25s,border-color .25s,box-shadow .25s,transform .25s}
.ypg-return-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:#e9ecdf;color:inherit;transition:background .25s}
.ypg-return svg{display:block;width:17px;height:17px;transition:transform .25s}
.ypg-return:hover,.ypg-return:focus-visible{opacity:1;background:#eeefe5;border-color:#8e9a7e;box-shadow:0 5px 16px #37442e0a;transform:translateY(-2px)}
.ypg-return:hover svg,.ypg-return:focus-visible svg{transform:translate(2px,-2px)}
.ypg-return--consult{border-radius:12px;background:#3b4938;border-color:#3b4938;color:#fffdf6;padding-left:22px}
.ypg-return--consult .ypg-return-icon{background:#ffffff16}
.ypg-return--consult:hover,.ypg-return--consult:focus-visible{background:#2e3e2c;border-color:#2e3e2c;box-shadow:0 6px 18px #303c3114}
.ypg-return:focus-visible,.ypg-back:focus-visible{outline:2px solid #788b62;outline-offset:4px}
.dialog.ypg-lightbox{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:25px 35px;background:transparent;color:#fff;border:0;border-radius:0;box-shadow:none;overflow:hidden}
.ypg-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px}.ypg-lightbox::backdrop{background:rgb(0 0 0 / .72)}
.ypg-lightbox-top{display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:13px}
.ypg-lightbox button{background:#0002;color:inherit;border:1px solid #ffffff60;display:grid;place-items:center;padding:0;width:42px;height:42px;flex:none;border-radius:50%;cursor:pointer;line-height:1;transition:background .2s,border-color .2s}.ypg-lightbox button:hover{background:#ffffff20;border-color:#ffffffa0}.ypg-lightbox button:disabled{opacity:.2;cursor:default}.ypg-lightbox svg{display:block;width:18px;height:18px}
.ypg-lightbox-stage{min-height:0;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:24px}
.ypg-lightbox-stage .ypg-lightbox-viewport{position:relative;height:100%;min-width:0;min-height:0;margin:0;overflow:hidden}
.ypg-lightbox-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;user-select:none}
.ypg-lightbox-bottom{text-align:center;font-size:11px;letter-spacing:.14em;color:#ffffffe0}
.ypg-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ypg-index button:focus-visible,.ypg-detail button:focus-visible,.ypg-lightbox button:focus-visible{outline:2px solid #899777;outline-offset:4px}
@media(max-width:1200px){.ypg-index>.ypg-container{width:calc(100% - 64px)}.ypg-toolbar{gap:18px}.ypg-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 18px}.ypg-project h2{font-size:16px}}

@media(max-width:760px){
 .ypg-container{width:calc(100% - 40px)}.ypg-index>.ypg-container{width:calc(100% - 32px)}.ypg-index{padding:48px 0 70px}.ypg-intro{padding-bottom:35px}.ypg-intro h1{font-size:42px}.ypg-intro p{font-size:12px}.ypg-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px}.ypg-views{grid-column:1/-1;min-height:35px;padding-bottom:0}.ypg-result-line{min-height:52px;margin:16px 0 24px;gap:18px}.ypg-result-summary{gap:3px 12px}.ypg-search{flex-basis:225px}.ypg-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 14px}.ypg-project-image{border-radius:14px}.ypg-project-title{padding-top:11px}.ypg-project h2{font-size:15px}
 .ypg-results[data-view="list"] .ypg-project{grid-template-columns:64px minmax(0,1fr) 28px;gap:16px;padding:17px 0}.ypg-results[data-view="list"] .ypg-project-arrow{width:28px;height:28px}.ypg-project-arrow svg{width:15px;height:15px}
 .ypg-select-trigger{font-size:11px;padding-inline:11px;min-height:45px}.ypg-select-option{min-height:44px;font-size:11px}.ypg-load{margin-top:38px;padding-top:17px}
 .ypg-photo-gallery{--ribbon-height:min(clamp(300px,54svh,500px),calc(100svh - var(--header-height)))}.ypg-photo-zoom{width:30px;height:30px;right:14px;bottom:14px}.ypg-photo-zoom svg{width:17px;height:17px}
 .ypg-detail-container{width:calc(100% - 40px)}.ypg-detail-heading{padding:28px 0 38px}.ypg-back{margin-bottom:24px}.ypg-detail-heading h1{max-width:none;font-size:clamp(28px,7.2vw,36px)}.ypg-detail-heading p{margin-top:22px;font-size:10px;gap:13px}.ypg-detail-info{grid-template-columns:1fr;gap:40px;padding-bottom:38px}.ypg-story{max-width:none}.ypg-story h2{font-size:20px;margin-bottom:17px}.ypg-story p{font-size:13px;line-height:2}.ypg-specification h2{font-size:12px}.ypg-specification dl>div{grid-template-columns:minmax(85px,1fr) minmax(0,2fr);gap:18px;padding:11px 0;font-size:11px}.ypg-return{font-size:11px}.dialog.ypg-lightbox{padding:16px}.ypg-lightbox-top{font-size:11px}.ypg-lightbox-stage{grid-template-columns:28px minmax(0,1fr) 28px;gap:8px}.ypg-lightbox button{width:32px;height:32px}.ypg-lightbox-stage button{width:28px;height:28px}.ypg-lightbox-stage svg{width:14px}
}
@media(max-width:480px){.ypg-result-line{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:26px}.ypg-search{flex-basis:auto;width:100%}.ypg-result-summary{min-height:30px}}
@media(max-width:360px){.ypg-results{gap:28px 12px}.ypg-project h2{font-size:14px}.ypg-results[data-view="list"] .ypg-project{grid-template-columns:55px minmax(0,1fr) 27px;gap:12px}}
@media(max-width:480px){.ypg-return{gap:18px;padding-left:19px}}
@media(prefers-reduced-motion:reduce){.ypg-index *,.ypg-detail *,.ypg-return,.ypg-return *,.ypg-lightbox button{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

