.work-gallery{padding:80px 0;background:var(--surface,#f5eaf0);color:#151218}.gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:32px}.gallery-heading h2{font:700 clamp(38px,4.3vw,66px)/1.04 Barlow,sans-serif;margin-top:12px}.gallery-heading>p{color:#75616f;max-width:300px;font-size:15px}.gallery-grid{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:290px 290px;gap:18px}.gallery-card{position:relative;display:block;border-radius:14px;overflow:hidden;background:#dfd3d9;isolation:isolate}.gallery-card.wide{grid-column:span 2}.gallery-card.tall{grid-column:3;grid-row:1 / span 2}.gallery-card img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.gallery-card:hover img{transform:scale(1.025)}.gallery-card:focus-visible{outline:3px solid #9c2858;outline-offset:5px}.gallery-caption{position:absolute;inset:auto 0 0;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:48px 22px 20px;background:linear-gradient(transparent,rgba(15,12,16,.85));color:#fff;font-weight:700}.gallery-caption>span:last-child{font-size:24px}.gallery-note{font-size:12px;color:#75616f;margin-top:18px}.gallery-dialog{border:0;border-radius:15px;padding:24px;background:#19151c;color:#fff;width:min(1100px,94vw);max-height:94dvh;overflow:auto}.gallery-dialog::backdrop{background:rgba(10,8,12,.9)}.gallery-dialog figure{margin:24px 0 0}.gallery-full{width:100%;height:70dvh;object-fit:contain}.gallery-dialog figcaption{text-align:center;margin-top:14px;font-size:15px}.gallery-close{position:absolute;right:12px;top:6px;color:white;background:transparent;font-size:34px;width:44px;height:44px}.gallery-controls{display:flex;justify-content:center;align-items:center;gap:24px;margin-top:14px}.gallery-controls button{width:48px;height:44px;border-radius:8px;background:#ed82ad;color:#151218;font-size:24px}.gallery-count{font-size:13px;min-width:44px;text-align:center}@media(max-width:760px){.work-gallery{padding:48px 0}.gallery-heading{display:block}.gallery-heading>p{margin-top:18px}.gallery-grid{grid-template-columns:1fr 1fr;grid-template-rows:220px 270px;gap:12px}.gallery-card.wide{grid-column:auto}.gallery-card.tall{grid-column:auto;grid-row:auto}.gallery-caption{padding:35px 12px 12px;font-size:13px;line-height:1.3}.gallery-full{height:65dvh}.gallery-dialog{padding:16px}.gallery-note{line-height:1.6}}@media(prefers-reduced-motion:reduce){.gallery-card img{transition:none}}
@media(max-width:760px){.gallery-grid{grid-template-rows:200px 300px 240px}.gallery-card.wide{grid-column:1 / -1;grid-row:1}.gallery-card.tall{grid-column:1;grid-row:2}.gallery-card:nth-child(3){grid-column:1 / -1;grid-row:3}.gallery-card:nth-child(4){grid-column:2;grid-row:2}}
