
.praxis-gallery-page { overflow-x: clip; }
.praxis-gallery-page #contentwrapper { overflow-x: clip; }
.praxis-gallery-page #main > .inside { max-width: none; padding: 0; }
.pg { --pg-ink: #3b3935; --pg-muted: #716c64; --pg-accent: #a5622e; --pg-line: #dedbd5; color: var(--pg-ink); max-width: 1440px; margin: auto; padding: 68px 5% 0; }
.pg *, .pg-viewer * { box-sizing: border-box; }
.pg p, .pg figure { margin: 0; }
.pg-intro { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; padding-bottom: 48px; }
.pg .pg-eyebrow { font-size: 13px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--pg-accent); margin-bottom: 24px; }
.pg h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6.3vw, 88px); font-weight: 300; line-height: 1.03; letter-spacing: -.045em; margin: 0; color: var(--pg-ink); }
.pg h1 em { font-style: normal; color: var(--pg-accent); }
.pg-intro-copy { padding: 0 0 5px; max-width: 320px; justify-self: end; }
.pg-intro-copy p { font-size: 20px; line-height: 1.6; color: var(--pg-muted); }
.pg .pg-text-link { display: inline-flex; align-items: center; gap: 28px; color: var(--pg-ink); border-bottom: 1px solid var(--pg-accent); padding: 0 0 9px; margin-top: 28px; font-size: 16px; text-decoration: none; transition: color .2s, gap .2s; }
.pg .pg-text-link:hover { color: var(--pg-accent); gap: 36px; }
.pg-open { display: block; position: relative; overflow: hidden; background: #eae7e1; color: inherit; }
.pg .pg-open img { display: block; width: 100%; height: auto; transition: transform .7s cubic-bezier(.2,.65,.3,1); }
.pg .pg-open:hover img { transform: scale(1.025); }
.pg a:focus-visible, .pg summary:focus-visible { outline: 3px solid var(--pg-accent); outline-offset: 5px; }
.pg-zoom { position: absolute; bottom: 20px; right: 20px; width: 42px; height: 42px; display: grid; place-items: center; background: #fffefaed; color: #3b3935; font-size: 25px; border-radius: 50%; transition: transform .25s, background .25s; }
.pg-open:hover .pg-zoom { transform: rotate(45deg); background: #fff; }
.pg .pg-photo figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0 0; font-size: 14px; line-height: 1.4; color: var(--pg-muted); }
.pg-number, .pg-index { font-variant-numeric: tabular-nums; }
.pg-number { color: var(--pg-accent); }
.pg .pg-hero img { aspect-ratio: 1.95; object-fit: cover; object-position: center; }
.pg-chapter { margin-top: 110px; scroll-margin-top: 35px; }
.pg-chapter-heading { display: flex; gap: 36px; align-items: start; padding-top: 30px; margin-bottom: 42px; border-top: 1px solid var(--pg-line); }
.pg-index { font-size: 15px; padding-top: 9px; color: var(--pg-accent); }
.pg h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px,4vw,54px); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; margin: 0 0 12px; color: var(--pg-ink); }
.pg-chapter-heading p { font-size: 17px; color: var(--pg-muted); line-height: 1.55; }
.pg-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-items: start; column-gap: 32px; row-gap: 48px; }
.pg-grid .pg-landscape { grid-column: span 4; }
.pg-grid .pg-portrait { grid-column: span 2; }
.pg-grid .pg-photo:nth-child(4n+2) { padding-top: 62px; }
.pg-grid .pg-landscape .pg-open img { aspect-ratio: 1.5; object-fit: cover; }
.pg-grid .pg-portrait .pg-open img { aspect-ratio: .72; object-fit: cover; }
.pg-grid .pg-landscape + .pg-landscape, .pg-grid .pg-landscape:has(+ .pg-landscape) { grid-column: span 3; }
.pg-grid .pg-photo:last-child:nth-child(odd) { grid-column: 3 / 7; max-width: 100%; }
.pg-grid .pg-photo:last-child:nth-child(odd) img { aspect-ratio: 1.5; }
.pg-archive { border-top: 1px solid var(--pg-line); border-bottom: 1px solid var(--pg-line); margin-top: 100px; }
.pg-archive summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 28px 0; font-size: 28px; font-weight: 300; list-style: none; }
.pg-archive summary::-webkit-details-marker { display: none; }
.pg-archive summary small { display: block; font-size: 15px; color: var(--pg-muted); margin-top: 4px; }
.pg-archive-plus { color: var(--pg-accent); font-size: 32px; transition: transform .2s; }
.pg-archive[open] .pg-archive-plus { transform: rotate(45deg); }
.pg-archive-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding-bottom: 30px; }
.pg-archive-grid img { width: 100%; height: auto; display: block; }
.pg-outro { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 65px 0 85px; }
.pg-outro p { font-size: clamp(24px,3vw,36px); font-weight: 300; }
.pg-outro .pg-text-link { margin-top: 0; flex-shrink: 0; }
.pg-viewer:not([open]) { display: none; }
.pg-viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 24px 4%; background: #242321; color: #f5f3ee; overflow: auto; }
.pg-viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 18px; }
.pg-viewer::backdrop { background: #242321; }
.pg-viewer-top, .pg-viewer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.pg-viewer-label { font-size: 14px; letter-spacing: .08em; }
.pg-viewer button { appearance: none; background: transparent; color: inherit; border: 1px solid #78746c; font: inherit; cursor: pointer; min-width: 48px; min-height: 48px; padding: 8px 16px; transition: background .2s; }
.pg-viewer button:hover { background: #49463f; }
.pg-viewer button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.pg-viewer .pg-close { display: flex; gap: 20px; align-items: center; border: none; }
.pg-close span { font-size: 30px; }
.pg-stage { min-height: 0; display: grid; place-items: center; position: relative; }
.pg-stage img { max-width: 100%; width: auto; height: 100%; object-fit: contain; min-height: 0; }
.pg-image-error { position: absolute; background: #242321; padding: 24px; }
.pg-viewer-caption { margin: 0; font-size: 16px; line-height: 1.4; }
.pg-viewer-controls { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.pg-counter { min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; font-size: 14px; }
.pg-modal-open { overflow: hidden; }
@media (max-width: 900px) {
 .pg { padding-top: 45px; }
 .pg-intro { gap: 25px; }
 .pg-intro-copy p { font-size: 17px; }
 .pg-grid { gap: 30px 22px; }
 .pg-chapter { margin-top: 75px; }
}
@media (max-width: 600px) {
 .pg { padding: 35px 6% 0; }
 .pg-intro { grid-template-columns: 1fr; gap: 24px; padding-bottom: 30px; }
 .pg .pg-eyebrow { font-size: 11px; margin-bottom: 18px; }
 .pg h1 { font-size: 53px; }
 .pg-intro-copy { justify-self: start; max-width: none; }
 .pg-intro-copy p { font-size: 17px; }
 .pg .pg-text-link { margin-top: 18px; }
 .pg .pg-hero img { aspect-ratio: 1.2; }
 .pg-chapter-heading { gap: 20px; margin-bottom: 28px; }
 .pg-chapter-heading p { font-size: 16px; }
 .pg-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 16px; }
 .pg-grid .pg-photo, .pg-grid .pg-landscape + .pg-landscape, .pg-grid .pg-photo:last-child:nth-child(odd) { grid-column: 1 / -1; padding-top: 0; }
 .pg-grid .pg-portrait { grid-column: span 1; }
 .pg-grid .pg-portrait:last-child:nth-child(odd) { grid-column: 1 / -1; width: 78%; justify-self: end; }
 .pg-grid .pg-portrait:last-child:nth-child(odd) img { aspect-ratio: .72; }
 .pg .pg-photo figcaption { font-size: 12px; gap: 10px; padding-top: 10px; }
 .pg-zoom { width: 34px; height: 34px; bottom: 12px; right: 12px; font-size: 21px; }
 .pg-archive { margin-top: 65px; }
 .pg-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .pg-outro { display: block; padding: 40px 0 55px; }
 .pg-viewer { padding: 12px 16px 24px; }
 .pg-viewer-bottom { flex-direction: column; align-items: stretch; gap: 15px; }
 .pg-viewer-controls { justify-content: center; }
 .pg-viewer-caption { font-size: 14px; text-align: center; }
 .pg-viewer-label { font-size: 12px; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
 .pg *, .pg-viewer * { transition: none !important; scroll-behavior: auto !important; }
}
