/* Integration states only. Preserve the approved site's original styles. */
#enquiry-status{margin-top:20px;overflow-wrap:anywhere}
#enquiry-status:empty{display:none}
#send-enquiry:disabled{cursor:wait;opacity:.7;transform:none}
#review.sent #summary,#review.sent .review-note{display:none}
#review.sent #enquiry-status{font-size:16px}
@media(max-width:1023px){#send-enquiry{min-height:48px;font-size:16px}}
/* A single, responsive gallery. All items follow the same rules, regardless of count. */
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start}
.gallery .work,.gallery .work:nth-child(n){margin:0;width:100%;grid-column:auto;min-width:0;position:relative;background:transparent;border:0;padding:0;text-align:left;color:var(--ink)}
.gallery .work img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:3px;transition:filter .25s,transform .4s}
.gallery .work>span{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0 12px;border-bottom:1px solid var(--line);min-height:56px;font-size:16px;overflow-wrap:anywhere}
.gallery .work b{font-weight:400}.gallery .work>span>span{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid var(--line);border-radius:50%}
.gallery .work:focus-visible{outline:3px solid var(--green);outline-offset:6px}.gallery .work:active img{filter:brightness(.9)}
@media(hover:hover){.gallery .work:hover img{filter:brightness(1.05)}.gallery .work:hover>span>span{background:var(--green);color:var(--paper)}}
@media(max-width:1023px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}}
@media(max-width:600px){.gallery{grid-template-columns:1fr;gap:28px}.gallery .work img{aspect-ratio:4/5;max-height:580px}.gallery .work>span{font-size:16px}}
.lightbox{width:min(1040px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}.lightbox img{width:100%;height:auto;max-height:76dvh;object-fit:contain}.lightbox .dialog-close{width:48px;height:48px}
@media(prefers-reduced-motion:reduce){.gallery .work img{transition:none}}
