
/* ELIGUL PORTFOLIO V1 — Scoped styles; existing site styles stay unchanged. */
.eg-gallery{background:#f7f6f3;color:#1a2027;padding:clamp(68px,8vw,132px) 0;font-family:inherit}
.eg-gallery *{box-sizing:border-box}
.eg-gallery__inner{width:min(1450px,calc(100% - 48px));margin:0 auto}
.eg-gallery__heading{display:flex;align-items:end;justify-content:space-between;gap:48px;margin-bottom:38px}
.eg-gallery__eyebrow{display:flex;align-items:center;gap:11px;margin:0 0 20px;font-size:10px;font-weight:750;letter-spacing:.19em;color:#626b71}
.eg-gallery__dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b88658}
.eg-gallery__heading h2{font-size:clamp(35px,5vw,72px);font-weight:550;line-height:1.04;letter-spacing:-.055em;margin:0;max-width:750px}
.eg-gallery__description{max-width:270px;margin:0 0 6px;color:#68717a;line-height:1.7;font-size:14px}
.eg-gallery__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense;gap:12px}
.eg-gallery__item{position:relative;display:block;min-height:275px;aspect-ratio:4/5;overflow:hidden;background:#deded9;text-decoration:none;color:#fff;isolation:isolate}
.eg-gallery__item:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:auto;min-height:560px}
.eg-gallery__item:nth-child(7n){grid-column:span 2;aspect-ratio:8/5}
.eg-gallery__item img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;filter:grayscale(1) saturate(.65) contrast(1.02);transform:scale(1);transition:filter .7s ease,transform 1s cubic-bezier(.2,.8,.2,1)}
.eg-gallery__item:hover img,.eg-gallery__item:focus-visible img{filter:grayscale(0) saturate(1.08);transform:scale(1.065)}
.eg-gallery__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.30),transparent 26%,transparent 58%,rgba(0,0,0,.52));opacity:.75;transition:opacity .5s}
.eg-gallery__item:hover .eg-gallery__shade,.eg-gallery__item:focus-visible .eg-gallery__shade{opacity:1}
.eg-gallery__number{position:absolute;left:22px;top:20px;font-size:10px;letter-spacing:.18em;font-weight:700}
.eg-gallery__bottom{position:absolute;left:22px;right:20px;bottom:19px;display:flex;align-items:end;justify-content:space-between;gap:15px}
.eg-gallery__tag{font-size:10px;letter-spacing:.13em;font-weight:700;line-height:1.6}
.eg-gallery__arrow{display:grid;place-items:center;border:1px solid rgba(255,255,255,.65);border-radius:50%;width:38px;height:38px;font-size:22px;transform:translateY(6px);opacity:.65;transition:transform .3s,background .3s,opacity .3s}
.eg-gallery__item:hover .eg-gallery__arrow,.eg-gallery__item:focus-visible .eg-gallery__arrow{transform:translateY(0);opacity:1;background:rgba(255,255,255,.16)}
.eg-gallery__item:focus-visible{outline:3px solid #b88658;outline-offset:3px}
.eg-gallery__foot{display:flex;justify-content:space-between;gap:20px;padding-top:23px;font-size:10px;letter-spacing:.12em;font-weight:650;color:#7b8187}
@media(max-width:1100px){.eg-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.eg-gallery__item:first-child{min-height:560px}.eg-gallery__item:nth-child(7n){grid-column:span 1;aspect-ratio:4/5}}
@media(max-width:720px){.eg-gallery{padding:62px 0}.eg-gallery__inner{width:min(100% - 30px,600px)}.eg-gallery__heading{display:block;margin-bottom:28px}.eg-gallery__description{margin-top:17px;max-width:430px}.eg-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.eg-gallery__item{min-height:0;aspect-ratio:3/4}.eg-gallery__item:first-child{grid-column:span 2;grid-row:span 1;aspect-ratio:5/4;min-height:0}.eg-gallery__item:nth-child(7n){aspect-ratio:3/4}.eg-gallery__number{left:12px;top:12px}.eg-gallery__bottom{left:12px;right:12px;bottom:12px}.eg-gallery__tag{font-size:9px}.eg-gallery__arrow{width:30px;height:30px;font-size:19px}.eg-gallery__foot{font-size:9px}}
@media(hover:none){.eg-gallery__item img{filter:none}.eg-gallery__arrow{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.eg-gallery__item img,.eg-gallery__arrow,.eg-gallery__shade{transition:none}}

/* ELIGUL_COLLECTION_PAGE_LINK_V1 */
.eg-gallery__all-wrap{display:flex;justify-content:center;padding:37px 10px 0}
.eg-gallery__all-button{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;min-width:255px;padding:16px 22px;border:1px solid #272d30;color:#242a2e;background:transparent;font-size:12px;font-weight:750;letter-spacing:.035em;transition:background .25s,color .25s,transform .25s;text-decoration:none}
.eg-gallery__all-button:hover,.eg-gallery__all-button:focus-visible{background:#222a2f;color:#fff;transform:translateY(-2px)}
.eg-gallery__all-button span:last-child{font-size:20px}