/* Portfolio shares the R5 shell; all content is server rendered. */
.portfolio-page,.project-page{padding-top:calc(var(--header-offset) + 34px);padding-bottom:100px}
.breadcrumbs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:14px;line-height:1.5;margin-bottom:32px}.breadcrumbs a:hover{color:var(--green)}
.portfolio-intro{margin-bottom:34px}.portfolio-intro h1,.project-intro h1{font-size:clamp(38px,4.4vw,68px);line-height:1.08;letter-spacing:-.035em;text-wrap:balance;font-weight:400}.portfolio-intro-copy{font-size:20px;color:var(--muted);margin-top:18px;max-width:720px}.portfolio-intro-copy p{margin:0}
.portfolio-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:32px}.portfolio-filters a{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 20px;border:1px solid #dce5d7;border-radius:100px;background:white;font-size:16px;line-height:1.4;transition:background .2s,color .2s}.portfolio-filters a span{font-size:13px;opacity:.7}.portfolio-filters a[aria-current]{background:var(--green);border-color:var(--green);color:white}.portfolio-filters a:hover{border-color:var(--green)}
#project-catalog{scroll-margin-top:var(--header-offset)}.portfolio-list-meta{display:flex;justify-content:space-between;gap:18px;font-size:14px;color:var(--muted);padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:25px}
.portfolio-list-meta p{margin:0}.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 26px}.portfolio-card{min-width:0}.portfolio-card>a{display:block;border-radius:24px}.portfolio-card-photo{aspect-ratio:4/3;background:var(--sage);border-radius:24px;overflow:hidden;position:relative}.portfolio-card-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--crop-x,50%) var(--crop-y,50%);transition:transform .6s ease}.portfolio-card-copy{padding:18px 2px 0;display:flex;gap:16px;justify-content:space-between;align-items:center}.portfolio-category{font-size:14px;line-height:1.5;color:var(--muted);margin-bottom:6px}.portfolio-card h2{font-size:24px;line-height:1.22;font-weight:400;letter-spacing:-.015em}.portfolio-card-arrow{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #d8e2d2;border-radius:50%;color:var(--green);font-size:22px;transition:background .2s,color .2s}
@media(hover:hover){.portfolio-card a:hover img{transform:scale(1.025)}.portfolio-card a:hover .portfolio-card-arrow{background:var(--green);color:white}}
.portfolio-pagination{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:44px}.portfolio-pagination a{display:grid;place-items:center;min-width:46px;min-height:46px;border:1px solid var(--line);border-radius:50%;background:white;font-size:16px}.portfolio-pagination a[aria-current]{background:var(--green);color:white;border-color:var(--green)}.portfolio-pagination .pagination-arrow{border-radius:100px;padding-inline:20px}.portfolio-empty{padding:30px 0}
.project-intro{margin-bottom:32px}.project-intro>.text-link{font-size:15px;margin-bottom:30px}.project-intro .eyebrow{margin-bottom:14px}.project-intro h1{max-width:1150px}.project-main-photo{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:28px;background:var(--sage)}.project-main-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--crop-x,50%) var(--crop-y,50%)}.photo-open-hint{position:absolute;right:22px;bottom:22px;padding:10px 16px;background:#fffffff2;color:var(--ink);border-radius:100px;font-size:14px;display:flex;gap:20px}
.project-information{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;padding:46px 0;border-bottom:1px solid var(--line);margin-bottom:58px}.project-information h2{font-size:32px;margin-bottom:20px}.project-short,.project-description{color:var(--muted);font-size:18px;line-height:1.65;max-width:700px}.project-description p+p{margin-top:15px}.project-description p:empty{display:none}.project-short{margin-bottom:15px}.project-facts-list{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-content:start}.project-facts-list dt{font-size:14px;color:var(--muted);margin-bottom:6px}.project-facts-list dd{margin:0;font-size:22px;line-height:1.4}.project-information .text-link{margin-top:16px}
.project-photos{margin-top:55px}.project-photos .section-heading{align-items:end;margin-bottom:26px}.project-photos h2,.related-projects>.section-heading h2{font-size:clamp(29px,3vw,44px)}.project-photos .section-heading p{max-width:420px;font-size:16px;color:var(--muted)}.project-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:26px}.project-gallery-photo{display:block;overflow:hidden;border-radius:24px;background:var(--sage)}.project-gallery-photo img{width:100%;height:auto;display:block}.project-gallery-photo.is-landscape{grid-column:1/-1}.project-gallery-photo:focus-visible,.project-main-photo:focus-visible{outline-offset:5px}
.project-inquiry{margin-top:65px;margin-bottom:70px;background:#eaf1e5;border-radius:26px;padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:30px}.project-inquiry h2{font-size:34px;line-height:1.2}.project-inquiry .eyebrow{margin-bottom:12px}.project-inquiry .button{flex-shrink:0;font-size:16px}.related-projects>.section-heading{align-items:center;margin-bottom:30px}
.photo-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#17201b;color:white;overscroll-behavior:contain}.photo-viewer::backdrop{background:#17201b}.photo-viewer[open]{display:flex;flex-direction:column}.viewer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 24px;flex-shrink:0;height:72px}.viewer-counter{font-size:16px;color:#fff}.photo-viewer button{color:white;background:#ffffff12;border:1px solid #ffffff4d;border-radius:50%;width:48px;height:48px;font-size:25px;display:grid;place-items:center;cursor:pointer;flex-shrink:0}.viewer-stage{display:flex;align-items:center;gap:24px;min-height:0;flex:1;padding:0 24px;touch-action:pan-y;user-select:none}.viewer-stage img{display:block;min-width:0;width:100%;height:100%;object-fit:contain;flex:1}.viewer-help{font-size:13px;text-align:center;color:#d5ddd7;padding:14px 20px}.photo-viewer button:focus-visible{outline:3px solid white}.photo-viewer button:disabled{visibility:hidden}
.chosen-project{padding:12px 16px;border-radius:14px;background:var(--sage);font-size:16px;color:var(--green-dark);margin-block:12px}.chosen-project strong{display:block}.chosen-project span{display:block;font-size:12px;margin-top:4px}
@media(max-width:1100px){.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}.project-information{gap:35px}.project-inquiry{padding:30px}.portfolio-filters a{padding:12px 17px}.related-projects .portfolio-card:last-child{display:none}}
@media(max-width:700px){.portfolio-page,.project-page{padding-top:calc(var(--header-offset) + 22px);padding-bottom:60px}.breadcrumbs{font-size:12px;gap:8px;margin-bottom:25px}.portfolio-intro{margin-bottom:26px}.portfolio-intro h1,.project-intro h1{font-size:39px}.portfolio-intro-copy{font-size:17px;line-height:1.6;margin-top:16px}.portfolio-filters{gap:8px;margin-bottom:26px}.portfolio-filters a{font-size:15px;padding:10px 15px;min-height:46px;gap:10px}.portfolio-filters a span{font-size:12px}.portfolio-list-meta{font-size:12px;align-items:flex-end;gap:15px;margin-bottom:22px;padding-bottom:16px}.portfolio-list-meta p:last-child{text-align:right}.portfolio-card h2{font-size:23px}.portfolio-card-photo{border-radius:22px}.portfolio-card-copy{padding-top:15px}.portfolio-category{font-size:13px}.portfolio-pagination{gap:8px;margin-top:32px}.portfolio-pagination a{min-width:44px;min-height:44px}.portfolio-pagination .pagination-arrow{padding-inline:14px;font-size:14px}.project-intro>.text-link{margin-bottom:25px}.project-intro{margin-bottom:25px}.project-main-photo{aspect-ratio:4/3;border-radius:22px}.photo-open-hint{right:13px;bottom:13px;padding:8px 12px;font-size:12px;gap:15px}.project-information{grid-template-columns:1fr;gap:24px;padding-top:30px;padding-bottom:30px;margin-bottom:36px}.project-information h2{font-size:28px;margin-bottom:16px}.project-short,.project-description{font-size:16px;line-height:1.65}.project-facts-list{gap:20px 14px}.project-facts-list dt{font-size:12px}.project-facts-list dd{font-size:19px}.project-photos{margin-top:35px}.project-photos .section-heading p{margin-top:13px;font-size:14px}.project-gallery-grid{gap:16px}.project-gallery-photo{border-radius:18px}.project-inquiry{display:block;padding:26px 23px;margin-block:38px 44px;border-radius:22px}.project-inquiry h2{font-size:29px}.project-inquiry .button{margin-top:24px;width:100%;font-size:15px}.related-projects>.section-heading{display:block}.related-projects>.section-heading .text-link{margin-top:15px}.viewer-toolbar{padding:10px 14px;height:65px}.viewer-stage{position:relative;padding:0 8px;gap:0}.viewer-stage button{position:absolute;bottom:0;width:44px;height:44px;z-index:1;background:#17201bd9}.viewer-prev{left:16px}.viewer-next{right:16px}.viewer-help{font-size:12px;padding:15px 8px}.photo-viewer button{width:44px;height:44px}.viewer-counter{font-size:14px}}
@media(max-width:600px){.portfolio-grid{grid-template-columns:1fr;gap:28px}.project-gallery-grid{grid-template-columns:1fr}.project-gallery-photo.is-landscape{grid-column:auto}.related-projects .portfolio-card:last-child{display:block}}
@media(max-width:360px){.portfolio-intro h1,.project-intro h1{font-size:33px}.portfolio-filters a{font-size:15px;padding-inline:14px}.portfolio-card h2{font-size:22px}.project-facts-list{grid-template-columns:1fr 1fr}.project-inquiry{padding:24px 20px}.project-inquiry h2{font-size:27px}.portfolio-pagination{gap:6px}}
@media(prefers-reduced-motion:reduce){.portfolio-card-photo img,.portfolio-card-arrow,.portfolio-filters a{transition:none}.portfolio-card a:hover img{transform:none}}
html:not(.js) .portfolio-page,html:not(.js) .project-page{padding-top:25px}
/* R1: reference composition, DAHAUSE typography and rounded surfaces. */
.portfolio-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:22px}.portfolio-card{position:relative;grid-column:span 4;overflow:hidden;border-radius:26px}.portfolio-card:nth-child(6n+1){grid-column:span 5}.portfolio-card:nth-child(6n+2),.portfolio-card:nth-child(6n+4){grid-column:span 3}.portfolio-card:nth-child(6n+5){grid-column:span 5}.portfolio-card>a{position:relative;height:100%;min-height:440px;border-radius:inherit;overflow:hidden;color:white;isolation:isolate}.portfolio-card:nth-child(6n+1)>a,.portfolio-card:nth-child(6n+2)>a,.portfolio-card:nth-child(6n+3)>a{min-height:600px}.portfolio-card-photo{position:absolute;inset:0;aspect-ratio:auto;border-radius:inherit}.portfolio-card-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,#15291a1a 55%,#122319db 100%);pointer-events:none}.portfolio-card-copy{position:absolute;bottom:28px;inset-inline:26px;padding:0;gap:14px;z-index:1;transition:transform .3s}.portfolio-card h2{font-size:clamp(24px,2.3vw,34px);color:white}.portfolio-category{color:#f1f4ee;margin-bottom:9px}.portfolio-card-arrow{border-color:#ffffff66;color:white;background:#ffffff0d;flex-basis:40px}.portfolio-card-more{position:absolute;bottom:22px;left:26px;font-size:13px;letter-spacing:.03em;opacity:0;transform:translateY(8px);transition:opacity .3s,transform .3s}.portfolio-card:focus-within{outline:3px solid var(--green);outline-offset:4px}.portfolio-card a:focus-visible{outline-offset:-5px}
@media(hover:hover){.portfolio-card a:hover .portfolio-card-copy,.portfolio-card a:focus-visible .portfolio-card-copy{transform:translateY(-26px)}.portfolio-card a:hover .portfolio-card-more,.portfolio-card a:focus-visible .portfolio-card-more{opacity:1;transform:none}}
.portfolio-card:only-child,.portfolio-card:last-child:nth-child(3n+1){grid-column:span 12}.portfolio-card:last-child:nth-child(3n+2){grid-column:span 7}
.project-hero{display:grid;grid-template-columns:minmax(0,40fr) minmax(0,60fr);gap:50px;align-items:center;margin-bottom:52px}.project-hero-copy{min-width:0}.project-hero .breadcrumbs{margin-bottom:26px}.project-hero .project-intro{margin:0}.project-hero .project-intro>.text-link{margin-bottom:25px}.project-hero h1{font-size:clamp(34px,3.7vw,57px);max-width:100%;line-height:1.08;overflow-wrap:anywhere}.project-hero .project-main-photo{aspect-ratio:1.12;min-width:0}.project-hero-summary{font-size:19px;line-height:1.6;color:var(--muted);margin-top:24px;max-width:470px}.project-hero-facts{margin-top:26px;display:flex;gap:26px;flex-wrap:wrap}.project-hero-facts dt{font-size:13px;color:var(--muted);margin-bottom:6px}.project-hero-facts dd{margin:0;font-size:18px}.project-hero-action{margin-top:30px;max-width:100%;font-size:16px;padding-inline:24px}.project-information{margin-top:0;padding-top:0}.project-gallery-grid{display:flex;flex-direction:column;gap:22px}.project-gallery-row{display:flex;gap:22px;align-items:start}.project-gallery-photo{position:relative;flex:var(--photo-ratio) 1 0;min-width:0;aspect-ratio:var(--photo-ratio);border-radius:24px}.project-gallery-photo img{width:100%;height:100%;object-fit:contain}.gallery-open{position:absolute;right:18px;bottom:18px;width:40px;height:40px;border-radius:50%;background:#fffffff0;display:grid;place-items:center;color:var(--green-dark);opacity:0;transition:opacity .2s}.project-gallery-photo:hover .gallery-open,.project-gallery-photo:focus-visible .gallery-open{opacity:1}.related-projects .portfolio-card>a{min-height:380px}.related-projects .portfolio-card{grid-column:span 4!important}
@media(max-width:1100px){.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-card:nth-child(n){grid-column:auto}.portfolio-card:nth-child(n)>a{min-height:440px}.portfolio-card:last-child:nth-child(odd){grid-column:1/-1}.project-hero{gap:28px;grid-template-columns:minmax(0,40fr) minmax(0,60fr);align-items:start}.project-hero .project-main-photo{aspect-ratio:.82}.project-hero h1{font-size:38px}.project-hero-summary{font-size:17px}.project-hero-action{font-size:14px;padding-inline:18px}.project-gallery-row,.project-gallery-grid{gap:18px}.related-projects .portfolio-card{grid-column:auto!important}.related-projects .portfolio-card:nth-child(n)>a{min-height:380px}}
@media(max-width:700px){.portfolio-grid{grid-template-columns:1fr;gap:16px}.portfolio-card:nth-child(n){grid-column:auto}.portfolio-card:nth-child(n)>a{min-height:0;aspect-ratio:.94}.portfolio-card-copy{bottom:24px;inset-inline:22px}.portfolio-card h2{font-size:27px}.portfolio-card-more{display:none}.project-hero{grid-template-columns:1fr;gap:28px;margin-bottom:34px}.project-hero h1{font-size:39px}.project-hero .project-main-photo{aspect-ratio:1.15}.project-hero-action{font-size:16px;min-height:52px;margin-top:24px}.project-hero-summary{margin-top:20px}.project-hero-facts{margin-top:20px}.project-gallery-row{display:contents}.project-gallery-grid{gap:16px}.project-gallery-photo{flex:none;width:100%;border-radius:20px}.gallery-open{opacity:1;right:12px;bottom:12px;width:36px;height:36px}.project-photos .section-heading{display:block}.related-projects .portfolio-card:nth-child(n)>a{min-height:0}.photo-open-hint{gap:10px}}
@media(max-width:360px){.project-hero h1{font-size:34px}.project-hero-action{font-size:14px;width:100%;padding-inline:15px}.portfolio-card h2{font-size:25px}.portfolio-card-copy{inset-inline:18px}.project-hero-facts dd{font-size:16px}}
@media(prefers-reduced-motion:reduce){.portfolio-card-copy,.portfolio-card-more,.gallery-open{transition:none}.portfolio-card a:hover .portfolio-card-copy,.portfolio-card a:focus-visible .portfolio-card-copy{transform:none}.portfolio-card-more{display:none}}

@media(min-width:1101px){.portfolio-card:last-child:nth-child(6n+5){grid-column:span 9}}
.portfolio-preview{position:absolute;top:18px;right:18px;z-index:2;width:46px;height:46px;border-radius:50%;border:1px solid #ffffff80;background:#ffffffed;color:var(--green-dark);padding:12px;cursor:pointer}.js .portfolio-preview{display:grid;place-items:center}.portfolio-preview:hover{background:white}.viewer-body{display:flex;flex:1;min-height:0}.viewer-body>.viewer-stage{width:100%;min-width:0}.photo-viewer.is-preview{background:#f4f6f0;color:var(--ink)}.is-preview .viewer-toolbar,.is-preview .viewer-help{background:#203328}.is-preview .viewer-body{display:grid;grid-template-columns:minmax(0,60fr) minmax(0,40fr);overflow:auto}.is-preview .viewer-stage{min-height:300px;background:#203328;padding:0 18px}.viewer-info{padding:48px 40px;overflow-y:auto;align-self:stretch}.viewer-info h2{font-size:clamp(32px,3.4vw,50px);line-height:1.08}.viewer-description{font-size:18px;line-height:1.6;color:var(--muted);margin-top:24px}.viewer-description:empty{display:none}.viewer-info .button{margin-top:32px;font-size:16px}
@media(max-width:1100px){.viewer-info{padding:32px 24px}.viewer-info h2{font-size:34px}}
@media(max-width:700px){.portfolio-preview{top:14px;right:14px;width:44px;height:44px}.is-preview .viewer-body{display:block}.is-preview .viewer-stage{height:48svh;min-height:250px;padding:0 8px}.viewer-info{padding:28px 24px}.viewer-info h2{font-size:32px}.viewer-description{font-size:16px;margin-top:20px}.viewer-info .button{margin-top:24px}.photo-viewer.is-preview .viewer-help{padding-block:10px}}
/* Keep the reserved frame independent of image decoding and broken-image intrinsic sizes. */
.project-gallery-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.project-gallery-photo{aspect-ratio:auto}.project-gallery-photo:before{content:"";display:block;padding-top:calc(100% / var(--photo-ratio))}
.project-gallery-grid{align-items:stretch}.project-gallery-row{width:100%}
