/* Scoped to the gallery: shared navigation and other pages stay unchanged. */
.project-gallery { --pg-gap: 24px; background: #f7f7f0; color: #171815; }
.pg-hero { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 48px; align-items: center; padding: 54px max(24px, calc((100% - 1200px) / 2)); background: #090909; color: #fff; }
.pg-hero .eyebrow { margin: 0 0 22px; }
.pg-hero h1 { margin: 0; max-width: 780px; font-family: var(--font-display); font-size: clamp(36px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.06em; }
.pg-hero h1 em { color: var(--yellow, #fff04a); font-style: normal; }
.pg-intro { max-width: 680px; margin: 20px 0 0; color: #b8b9b1; font-size: 15px; line-height: 1.7; }
.pg-brand { display: block; width: 190px; height: auto; background: transparent; border: 0; padding: 0; }
.pg-collection, .pg-closing { max-width: 1248px; margin: 0 auto; padding: 40px 24px; }
.pg-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 24px; }
.pg-heading h2, .pg-closing h2 { font-family: var(--font-display); font-size: 26px; line-height: 1.2; letter-spacing: -.045em; margin: 0; }
.pg-heading p { margin: 0; color: #60615a; font-size: 12px; }
.pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px var(--pg-gap); }
.pg-card { min-width: 0; margin: 0; }
.pg-open { display: block; position: relative; overflow: hidden; background: #dfe0d7; color: #fff; }
.pg-thumbnail { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
video.pg-thumbnail { background: #171815; object-fit: contain; }
.pg-expand { position: absolute; right: 12px; bottom: 12px; background: #0a0a0a; color: #fff; padding: 8px 11px; font-size: 11px; line-height: 1.3; }
.pg-open:hover .pg-expand, .pg-open:focus-visible .pg-expand { background: #fff04a; color: #111; }
.pg-open:focus-visible, .pg-lightbox button:focus-visible, .pg-lightbox a:focus-visible { outline: 3px solid #dfbd00; outline-offset: 4px; }
.pg-card figcaption { padding: 14px 0 16px; border-bottom: 1px solid #cccfc2; }
.pg-card figcaption span { display: block; font: 10px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .035em; color: #66685e; margin-bottom: 7px; }
.pg-card figcaption strong { display: block; font-size: 16px; line-height: 1.45; font-weight: 700; overflow-wrap: anywhere; }
.pg-closing { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; padding-top: 20px; padding-bottom: 48px; }
.pg-closing p { margin: 0 0 18px; color: #60615a; font-size: 14px; line-height: 1.75; }
.pg-closing a { font-size: 13px; font-weight: 800; text-underline-offset: 5px; }
.pg-closing a span { margin-left: 12px; }
.pg-lightbox:not([open]) { display: none; }
.pg-lightbox { width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 18px; background: #151611; color: #fff; border: 1px solid #64675b; box-sizing: border-box; }
.pg-lightbox::backdrop { background: rgb(0 0 0 / .92); }
.pg-lightbox__bar, .pg-lightbox__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pg-lightbox__bar { margin-bottom: 12px; }
.pg-lightbox__bar span { font: 12px/1.4 var(--font-mono); }
.pg-lightbox button, .pg-lightbox a { padding: 10px 13px; min-height: 44px; background: #fff04a; color: #111; border: 0; font: 700 12px/1.4 var(--font-body, sans-serif); cursor: pointer; text-decoration: none; }
.pg-lightbox button:disabled { opacity: .4; cursor: default; }
.pg-lightbox figure { margin: 0; }
.pg-lightbox figure img { display: block; width: 100%; height: min(65dvh, 690px); object-fit: contain; }
.pg-lightbox figcaption { padding: 16px 0; font-size: 14px; line-height: 1.5; }
.pg-lightbox__nav a { background: transparent; color: #fff; }
@media (max-width: 950px) { .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pg-hero { grid-template-columns: minmax(0, 1fr) 145px; gap: 24px; } .pg-brand { width: 145px; } }
@media (max-width: 600px) { .pg-hero { display: block; padding: 32px 24px; } .pg-brand { display: none; } .pg-hero h1 { font-size: 36px; } .pg-hero .eyebrow { font-size: 9px; } .pg-intro { font-size: 14px; } .pg-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .pg-heading { display: block; } .pg-heading h2 { font-size: 23px; } .pg-heading p { margin-top: 8px; } .pg-collection { padding-top: 28px; padding-bottom: 28px; } .pg-closing { grid-template-columns: 1fr; gap: 16px; } .pg-closing h2 { font-size: 24px; } .pg-lightbox { width: calc(100% - 16px); padding: 12px; max-height: calc(100dvh - 16px); } .pg-lightbox figure img { height: 54dvh; } .pg-lightbox__nav { gap: 4px; } .pg-lightbox__nav a, .pg-lightbox__nav button { font-size: 11px; padding: 10px 8px; } }
