:root {
	--gas-canvas: #F0EBE1;
	--gas-umber: #2C2416;
	--gas-umber-mid: #5A4A32;
	--gas-ochre: #8B6914;
	--gas-linen: #C4B49A;
	--gas-linen-light: #DDD3C4;
	--gas-font-d: 'Cormorant Garamond', Georgia, serif;
	--gas-font-b: 'Inter', system-ui, sans-serif;
	--gas-pad: 3rem;
}

.gas-gallery-wrap { padding: 2rem var(--gas-pad) 4rem; max-width: 1200px; margin: 0 auto; }

.gas-sort-bar { display: flex; align-items: center; gap: .75rem; margin-bottom: 3rem; }
.gas-sort-label { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gas-linen); }
.gas-sort-btn { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 3px; border: 1.5px solid var(--gas-linen-light); background: transparent; color: var(--gas-umber-mid); cursor: pointer; transition: all .15s; font-family: var(--gas-font-b); }
.gas-sort-btn.active { background: var(--gas-umber); color: var(--gas-canvas); border-color: var(--gas-umber); }

.gas-c-year { margin-bottom: 5rem; padding-top: 2rem; }
.gas-c-year-label { font-family: var(--gas-font-d); font-size: clamp(3rem, 7vw, 6rem); color: var(--gas-linen-light); line-height: 1; margin-bottom: 2rem; }

.gas-c-row { display: flex; gap: 2.5rem; flex-wrap: wrap; align-items: center; }

.gas-c-item { flex: 0 0 auto; cursor: pointer; position: relative; margin-bottom: 4rem; }
.gas-c-item img { width: var(--iw); height: auto; display: block; transition: opacity .15s; }
.gas-c-item:hover img { opacity: .82; }
.gas-g-meta { position: absolute; top: calc(100% + .5rem); left: 0; width: var(--iw); pointer-events: none; }

.gas-g-title { font-family: var(--gas-font-d); font-style: italic; font-size: .9rem; line-height: 1.15; color: var(--gas-umber); margin-bottom: .1rem; }
.gas-g-size  { font-size: .68rem; color: var(--gas-umber-mid); }
.gas-g-avail { display: inline-block; font-size: .58rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 2px; background: rgba(139,105,20,.12); color: var(--gas-ochre); margin-top: .25rem; }
.gas-g-sold  { display: inline-block; font-size: .58rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 2px; background: rgba(90,74,50,.12); color: var(--gas-umber-mid); margin-top: .25rem; }
/* "Collected" — an original that has sold. Understated, prestige: an outlined umber
   pill rather than a loud tag. Quiet social proof that pieces find homes. */
.gas-g-collected { display: inline-flex; align-items: center; gap: .4em; font-size: .58rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 2px; background: rgba(255,255,255,.3); border: none; color: var(--gas-umber-mid); margin-top: .25rem; }
/* Gallery red dot — the physical convention: a red sticker on the tag when a piece
   sells at a show. Kept small so it reads as a dot, not a bullet. */
.gas-g-collected::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #C62828; flex: none; }
.gas-g-onview{ display: inline-block; font-size: .58rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 2px; background: rgba(90,74,50,.08); color: var(--gas-umber-mid); font-style: italic; margin-top: .25rem; }

/* Lightbox */
.gas-lb { display: none; position: fixed; inset: 0; background: rgba(240,235,225,.97); z-index: 9999; align-items: center; justify-content: center; }
.gas-lb.open { display: flex; }
.gas-lb-inner { position: relative; display: flex; flex-direction: column; align-items: center; width: 92vw; max-height: 95vh; }
.gas-lb-img { width: 100%; max-height: 82vh; object-fit: contain; display: block; }
.gas-lb-meta { margin-top: .85rem; text-align: center; }
.gas-lb-title { font-family: var(--gas-font-d); font-style: italic; font-size: 1.15rem; color: var(--gas-umber); }
.gas-lb-info  { font-size: .72rem; color: var(--gas-umber-mid); margin-top: .2rem; }
.gas-lb-badge { display: inline-block; font-size: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 2px; margin-top: .4rem; }
.gas-lb-badge.avail  { background: rgba(44,36,22,.08); color: var(--gas-umber-mid); }
.gas-lb-badge.sold   { background: rgba(44,36,22,.06); color: var(--gas-umber-mid); }
.gas-lb-badge.onview { background: rgba(44,36,22,.05); color: var(--gas-umber-mid); font-style: italic; }
.gas-lb-badge.collected { display: inline-flex; align-items: center; gap: .4em; background: rgba(255,255,255,.3); border: none; color: var(--gas-umber-mid); }
.gas-lb-badge.collected::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #C62828; flex: none; }
.gas-lb-link { display: inline-block; vertical-align: middle; margin-left: 1.1rem; font-family: var(--gas-font-b); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gas-ochre); text-decoration: none; border-bottom: 1px solid rgba(139,105,20,.4); padding-bottom: 2px; transition: color .15s, border-color .15s; }
.gas-lb-link:hover { color: var(--gas-umber); border-color: var(--gas-umber); }
.gas-lb-counter { font-size: .65rem; color: var(--gas-linen); margin-top: .4rem; letter-spacing: .1em; }
.gas-lb-close { position: fixed; top: 1.25rem; right: 1.5rem; background: none; border: none; color: var(--gas-linen); font-size: 1.75rem; cursor: pointer; line-height: 1; padding: .4rem; transition: color .15s; z-index: 3; }
.gas-lb-close:hover { color: var(--gas-umber); }
/* z-index keeps the arrows above the image — otherwise a full-width mobile image
   covers them and taps never reach the buttons. */
.gas-lb-prev, .gas-lb-next { position: fixed; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--gas-linen); font-size: 3rem; cursor: pointer; padding: 1rem; line-height: 1; transition: color .15s; user-select: none; z-index: 3; }
.gas-lb-prev:hover, .gas-lb-next:hover { color: var(--gas-umber); }
.gas-lb-prev { left: .25rem; }
.gas-lb-next { right: .25rem; }

@media (max-width: 768px) {
	.gas-gallery-wrap { padding: 1.5rem 1.5rem 3rem; }
	.gas-c-year-label { font-size: clamp(2rem, 8vw, 4rem); }
	/* Solid, thumb-sized tap targets that read clearly over the artwork. */
	.gas-lb-prev, .gas-lb-next {
		width: 2.9rem; height: 2.9rem; padding: 0; font-size: 1.8rem;
		display: flex; align-items: center; justify-content: center;
		color: var(--gas-umber);
		background: rgba(240, 235, 225, .82);
		border-radius: 50%;
		box-shadow: 0 1px 6px rgba(44, 36, 22, .2);
		-webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
	}
	.gas-lb-prev { left: .5rem; }
	.gas-lb-next { right: .5rem; }
}
