/* Gallery: quiet image-first grid built from supplied work photographs. */
.gallery-main{max-width:1600px}
.gallery-opening{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding:66px 0 42px}
.gallery-opening h1{font-size:clamp(58px,7vw,92px);line-height:1}
.gallery-opening p{font-family:var(--serif);font-size:clamp(19px,2vw,26px);color:var(--muted)}
.art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:54px 28px;padding-bottom:70px}
.art-card{min-width:0}
.art-cover{display:block;background:#e7e4d6;overflow:hidden}
.art-cover img{width:100%;height:auto;aspect-ratio:1088/1445;object-fit:contain}
.art-card h2{font-family:var(--serif);font-size:clamp(22px,2vw,29px);font-weight:400;line-height:1.2;margin-top:16px}
.art-card h2 a:hover,.gallery-end a:hover,.art-heading a:hover{text-decoration:underline;text-underline-offset:5px}
.art-cover:focus-visible,.art-card h2 a:focus-visible,.art-heading a:focus-visible{outline:2px solid var(--green);outline-offset:5px}
.gallery-end{border-top:1px solid var(--line);padding:38px 0 75px;text-align:center}
.gallery-end a,.art-heading>a{text-decoration:underline;text-underline-offset:6px;min-height:44px;display:inline-flex;align-items:center}
.art-breadcrumb{padding:32px 0 28px;border-bottom:1px solid var(--line)}
.art-breadcrumb a{text-decoration:underline;text-underline-offset:5px;min-height:44px;display:inline-flex;align-items:center}
.art-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;padding:48px 0 35px}
.art-heading h1{font-size:clamp(38px,5vw,70px);line-height:1.08;max-width:18ch}
.art-detail-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:28px}
.art-detail-images figure{min-width:0}
.art-detail-images img{width:100%;height:auto}
.art-detail-images figcaption{padding:12px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.art-detail-images figcaption a{text-decoration:underline;text-underline-offset:4px;min-height:30px;display:inline-flex;align-items:center}
.art-pagination{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-top:64px;padding:30px 0 70px;border-top:1px solid var(--line)}
.art-pagination a{display:flex;flex-direction:column;gap:12px;max-width:420px}
.art-pagination a:last-child{text-align:right;justify-self:end}
.art-pagination span{font-size:13px;color:var(--muted)}
.art-pagination strong{font-family:var(--serif);font-size:24px;font-weight:400;line-height:1.2}
.art-pagination a:hover strong{text-decoration:underline;text-underline-offset:5px}
.home-gallery{display:grid;grid-template-columns:1.2fr 1fr;background:var(--green);color:var(--cream);align-items:center;margin:0;padding:0}
.home-gallery-picture{display:block;background:var(--paper)}
.home-gallery-picture img{width:100%;height:560px;object-fit:contain}
.home-gallery-copy{padding:56px clamp(26px,5vw,76px)}
.home-gallery h2{font-size:clamp(44px,5vw,72px);line-height:1.04}
.home-gallery p{font-size:17px;margin:26px 0;max-width:43ch}
.home-gallery a:focus-visible{outline-color:var(--lime);outline-offset:-5px}
.home-gallery .button{background:var(--cream);color:var(--green);border-color:var(--cream)}
@media(max-width:1000px){.art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 22px}.art-heading h1{font-size:clamp(36px,5vw,54px)}}
@media(max-width:700px){.gallery-opening{display:block;padding:38px 0 28px}.gallery-opening p{margin-top:10px}.art-grid{grid-template-columns:1fr;gap:34px;padding-bottom:48px}.art-card h2{margin-top:12px}.art-heading{display:block;padding:30px 0 25px}.art-heading>a{margin-top:14px}.art-detail-images{grid-template-columns:1fr;gap:28px}.art-pagination{gap:20px;margin-top:42px;padding-bottom:46px}.art-pagination strong{font-size:20px}.home-gallery{grid-template-columns:1fr}.home-gallery-picture img{height:auto;max-height:510px}.home-gallery-copy{padding:38px var(--gutter) 46px}.home-gallery h2{font-size:46px}}
@media(prefers-reduced-motion:reduce){.art-cover img{transition:none}}
