/* Photo gallery on the photography page: a coverflow carousel drawn by eim-gallery.js from gallery-data.json.
   The centre photo is in colour, the rest greyscale; clicking the centre photo shows it uncropped. */
.x-hero-in.solo{grid-template-columns:minmax(0,1fr)}
.eim-gal{padding:48px 0;overflow:hidden;text-align:center}
/* compact, centred heading and category buttons, so the whole gallery fits on a desktop screen */
.g-top{max-width:1328px;margin:0 auto;padding:0 var(--gut);display:flex;flex-direction:column;align-items:center;gap:20px}
.eim-gal .g-head{max-width:860px;display:flex;flex-direction:column;align-items:center;gap:10px}
.eim-gal .g-h{margin:0;font:700 clamp(40px,4.2vw,56px)/.95 var(--disp);text-transform:uppercase;color:var(--cream)}
.eim-gal .g-sub{max-width:860px;font:400 15px/1.6 var(--body);color:var(--sec)}
.g-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.g-tab{height:44px;padding:0 18px;border:0;cursor:pointer;font:800 12px/1 var(--body);letter-spacing:.08em;text-transform:uppercase;background:transparent;color:var(--cream);box-shadow:inset 0 0 0 1px rgba(207,185,131,.35);transition:background .2s,color .2s,box-shadow .2s}
.g-tab:hover{box-shadow:inset 0 0 0 1px var(--gold)}
.g-tab[aria-pressed="true"]{background:var(--btn);color:var(--bg);box-shadow:none}
.g-stage{position:relative;height:560px;margin-top:24px;touch-action:pan-y}
.g-card{position:absolute;top:50%;left:50%;padding:0;border:0;cursor:pointer;overflow:hidden;background:var(--card);transition:transform .55s var(--eout),width .55s var(--eout),height .55s var(--eout),opacity .4s,box-shadow .4s,filter .55s}
.g-card img{width:100%;height:100%;object-fit:cover;display:block}
.g-card.is-c{cursor:zoom-in;outline:1px solid rgba(207,185,131,.55);outline-offset:8px}
.g-card.is-open{cursor:zoom-out}
.g-hint{margin:8px 0 0;font:800 11px/1 var(--body);letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.g-ctrl{margin-top:16px;display:flex;justify-content:center;align-items:center;gap:20px}
.g-arrow{width:48px;height:48px;display:grid;place-items:center;border:0;cursor:pointer;background:transparent;color:var(--cream);box-shadow:inset 0 0 0 1px rgba(207,185,131,.4);transition:box-shadow .16s}
.g-arrow:hover{box-shadow:inset 0 0 0 1px var(--gold)}
.g-count{min-width:88px;font:400 20px/1 "Anton","Arial Narrow",sans-serif;letter-spacing:.04em;color:var(--sec)}
.g-book{margin-top:16px;display:flex;justify-content:center}
.eim-gal button:focus-visible,.eim-gal a:focus-visible{outline:2px solid var(--gold2);outline-offset:4px}
/* Without scripts: a plain grid of photos instead of the carousel */
.g-ns{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;max-width:1240px;margin:40px auto 0;padding:0 var(--gut)}
.g-ns img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}
html:not(.js) .g-tabs,html:not(.js) .g-stage,html:not(.js) .g-hint,html:not(.js) .g-ctrl{display:none}
@media (prefers-reduced-motion:reduce){.g-card{transition:none}}
