.gallery-page main{max-width:1280px;padding-top:32px}
.gallery-heading{max-width:810px;margin:0 0 32px}
.gallery-heading p{max-width:720px;margin:0;color:#526254;font-size:18px;line-height:1.6}
.gallery-feature{margin:0 0 68px;background:#e8ece5;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.7fr);min-height:460px}
.gallery-feature img{display:block;width:100%;height:100%;min-height:460px;object-fit:cover}
.gallery-feature figcaption{padding:clamp(28px,4vw,55px);display:flex;flex-direction:column;justify-content:end;gap:15px;color:#233b29}
.gallery-feature figcaption span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:700}
.gallery-feature figcaption strong{font:400 clamp(29px,3vw,43px)/1.16 Georgia,serif}
.gallery-feature figcaption small{font-size:13px;color:#58685a;line-height:1.5}
.gallery-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}
.gallery-section-heading h2{margin:7px 0 0}
.gallery-section-heading p{margin:0 0 5px;color:#526254;line-height:1.5}
.gallery-controls{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:0 0 21px;border-bottom:1px solid #d8dfd4}
.gallery-filter{display:flex;gap:8px;flex-wrap:wrap}
.gallery-filter button{border:1px solid #cad6c8;background:#fff;color:#293a2e;border-radius:30px;padding:10px 16px;cursor:pointer;font:600 13px/1.2 Arial,sans-serif}
.gallery-filter button[aria-pressed="true"]{background:#24432d;border-color:#24432d;color:#fff}
.gallery-filter button:hover:not([aria-pressed="true"]){background:#edf2eb}
.gallery-project-select{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600}
.gallery-project-select select{min-width:215px;border:1px solid #bacab8;background:#fff;color:#293a2e;padding:10px 35px 10px 12px;font:inherit}
.gallery-count{margin:20px 0 18px;color:#5b695b;font-size:14px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.gallery-card{min-width:0;background:#fff;border:1px solid #d9e0d6;display:flex;flex-direction:column}
.gallery-card[hidden]{display:none}
.gallery-open{display:block;width:100%;padding:0;border:0;background:#e9ede7;cursor:zoom-in;overflow:hidden}
.gallery-open img{display:block;width:100%;height:270px;object-fit:cover;transition:transform .3s ease}
.gallery-open:hover img{transform:scale(1.025)}
.gallery-card-copy{padding:20px 22px 23px;display:flex;flex-direction:column;flex:1}
.gallery-card-copy span{color:#5d715f;font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;line-height:1.5}
.gallery-card-copy h3{font:400 26px/1.19 Georgia,serif;margin:10px 0}
.gallery-card-copy p{color:#566657;line-height:1.55;margin:0 0 20px;flex:1}
.gallery-card-copy a{color:#2b603b;font-weight:600;text-underline-offset:4px}
.gallery-empty{padding:26px;background:#edf1eb}
.gallery-project-register{margin:76px 0 0;padding-top:36px;border-top:1px solid #d8dfd4}
.gallery-project-register>p{color:#526254;line-height:1.6;margin:0 0 25px;max-width:730px}
.gallery-project-register h2{margin:7px 0 12px}
.gallery-sector-filter{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 12px}
.gallery-sector-filter button{border:1px solid #cad6c8;background:#fff;color:#293a2e;border-radius:30px;padding:10px 16px;cursor:pointer;font:600 13px/1.2 Arial,sans-serif}
.gallery-sector-filter button[aria-pressed="true"]{background:#24432d;border-color:#24432d;color:#fff}
.gallery-sector-filter button:hover:not([aria-pressed="true"]){background:#edf2eb}
.gallery-project-count{color:#5b695b;font-size:14px;margin:16px 0!important}
.gallery-project-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.gallery-project-tile{min-width:0;background:#fff;border:1px solid #d9e0d6;display:flex;flex-direction:column}
.gallery-project-tile[hidden]{display:none}
.gallery-project-media,.gallery-project-main{position:relative}
.gallery-project-tile .gallery-open img{height:auto;aspect-ratio:1 / 1;object-fit:cover}
.gallery-project-thumbs{position:absolute;right:10px;bottom:10px;display:flex;gap:7px}
.gallery-project-thumbs .gallery-open{width:68px;border:2px solid #fff;box-shadow:0 2px 10px #0005}
.gallery-project-thumbs .gallery-open img{height:auto;aspect-ratio:1 / 1}
.gallery-image-status{position:absolute;top:10px;left:10px;background:#fff;color:#334a39;padding:6px 9px;font-size:11px;font-weight:700;letter-spacing:.02em;box-shadow:0 1px 7px #0003;pointer-events:none}
.gallery-image-status.is-photo{background:#24432d;color:#fff}
.gallery-project-copy{padding:18px 20px 22px;display:flex;flex-direction:column;flex:1}
.gallery-project-sector{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;line-height:1.5;color:#5d715f}
.gallery-project-copy h3{font:400 24px/1.2 Georgia,serif;margin:10px 0}
.gallery-project-copy>p{color:#566657;line-height:1.5;margin:0 0 18px;flex:1}
.gallery-project-foot{border-top:1px solid #d8dfd4;padding-top:12px;color:#526254;font-size:13px}
.gallery-project-foot:empty{display:none}
.gallery-project-qty{display:block;margin:0 0 8px}
.gallery-project-foot summary{cursor:pointer;color:#2b603b;font-weight:600}
.gallery-project-foot details p{line-height:1.5;margin:9px 0 0}
.gallery-project-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 34px}
.gallery-project-list p{display:flex;justify-content:space-between;gap:16px;line-height:1.45;border-top:1px solid #d8dfd4;padding:17px 0;margin:0}
.gallery-project-list strong{flex:0 0 40%;font-weight:600}
.gallery-project-list span{color:#526254;flex:1}
.gallery-cta{margin-top:65px;padding:34px 40px;background:#213b2a;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}
.gallery-cta h2{margin:6px 0 9px}.gallery-cta p{margin:0;color:#dce9dc;line-height:1.55}
.gallery-cta .eyebrow{color:#c5d9bf}.gallery-cta>div:last-child{display:flex;gap:12px;flex-wrap:wrap}
.gallery-cta a{display:inline-block;background:#fff;color:#213b2a;text-decoration:none;font-weight:600;padding:13px 17px;white-space:nowrap}
.gallery-cta a+a{background:transparent;border:1px solid #e9f0e7;color:#fff}
.gallery-dialog{width:min(94vw,1060px);max-height:92vh;border:0;padding:0;background:#fff;color:#293a2e;box-shadow:0 25px 80px #0005}
.gallery-dialog::backdrop{background:#0b180fd9}
.gallery-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 22px}
.gallery-dialog-head h2{font:400 23px/1.2 Georgia,serif;margin:0}
.gallery-dialog-head button{border:1px solid #c9d3c8;background:#fff;color:#293a2e;padding:9px 13px;cursor:pointer;font:600 14px Arial,sans-serif}
.gallery-dialog img{display:block;max-width:100%;max-height:calc(92vh - 137px);margin:auto;object-fit:contain}
.gallery-dialog p{font-size:13px;color:#536254;line-height:1.45;margin:0;padding:12px 22px 17px}
@media(max-width:900px){.gallery-feature{grid-template-columns:1fr}.gallery-feature img{height:400px;min-height:0}.gallery-feature figcaption{padding:25px}.gallery-grid,.gallery-project-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-section-heading{display:block}.gallery-section-heading p{margin-top:10px}}
@media(max-width:650px){.gallery-feature{margin-bottom:48px}.gallery-feature img{height:290px}.gallery-grid,.gallery-project-tiles,.gallery-project-list{grid-template-columns:1fr}.gallery-open img{height:240px}.gallery-project-list p{display:block}.gallery-project-list span{display:block;margin-top:6px}.gallery-cta{display:block;padding:27px}.gallery-cta>div:last-child{margin-top:22px}.gallery-dialog-head h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.gallery-open img{transition:none}}
