/* Photography-led additions. Shared cream/silver palette and outlined CTAs. */
.story-images-triple { padding: 30px 28px 35px 38px; }
.story-images-triple .story-main img { height: 410px; }
.story-images-triple .story-detail { width: 35%; z-index: 2; }
.story-secondary { position: absolute; top: 0; right: 0; width: 30%; border: 7px solid var(--white); }
.story-secondary img { width: 100%; height: 155px; object-fit: cover; }
.story-images-triple .story-main figcaption { max-width: 74%; margin-left: auto; }
.approach-photo-collage { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.approach-photo-collage figure { overflow: hidden; background: var(--cream); }
.approach-photo-collage img { width: 100%; height: 235px; object-fit: cover; }
.approach-photo-collage figure:first-child { grid-row: span 2; }
.approach-photo-collage figure:first-child img { height: 484px; }
.approach-photo-collage.collage-count-1 { grid-template-columns: 1fr; }
.approach-photo-collage.collage-count-2 figure { grid-row: auto; }
.approach-photo-collage.collage-count-2 img { height: 450px; }
.collage-caption { grid-column: 1 / -1; color: var(--muted); font-size: 9px; letter-spacing: .025em; }
.middle-banner { position: relative; min-height: 490px; isolation: isolate; background: var(--paper); overflow: hidden; }
.middle-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.middle-banner-inner { min-height: inherit; display: flex; align-items: flex-end; padding-top: 60px; padding-bottom: 40px; }
.middle-banner-note { width: 330px; padding: 28px 30px; background: rgba(249,248,244,.96); border: 1px solid rgba(255,255,255,.7); }
.middle-banner-note h2 { font-size: 27px; line-height: 1.3; margin: 14px 0 22px; }
.middle-banner-note .eyebrow { font-size: 8px; }
.middle-banner-note .btn { font-size: 10px; }
.projects-opening { background: var(--cream); padding: 40px 0 60px; }
.projects-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin: 30px 0 38px; }
.projects-heading h1 { font-size: clamp(28px,3.1vw,43px); margin-top: 16px; }
.project-total { font-size: 10px; color: var(--muted); white-space: nowrap; padding-bottom: 4px; }
.project-total strong { font-size: 18px; font-weight: 400; color: var(--ink); margin-right: 5px; }
.project-photo { min-width: 0; margin: 0; }
.project-photo-link { display: block; position: relative; overflow: hidden; background: #e3e5de; aspect-ratio: 4 / 3; }
.project-photo-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.project-photo-link:hover img { transform: scale(1.025); }
.project-photo-link:focus-visible { outline-offset: 5px; }
.photo-expand { position: absolute; right: 20px; bottom: 20px; width: 42px; height: 42px; display: grid; place-items: center; background: rgba(249,248,244,.94); color: var(--ink); border: 1px solid rgba(255,255,255,.7); }
.photo-expand svg { width: 22px; height: 22px; }
.project-photo figcaption { display: flex; align-items: baseline; gap: 15px; padding: 18px 0 5px; }
.project-photo-number { font-size: 9px; color: #7c8376; flex-shrink: 0; }
.project-photo h2 { font-size: 14px; line-height: 1.6; letter-spacing: -.015em; }
.photo-caption-hint { margin-left: auto; color: #747c6d; font-size: 9px; white-space: nowrap; }
.project-photo-lead .project-photo-link { aspect-ratio: 2.02; }
.project-photo-lead h2 { font-size: 17px; }
.project-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 28px; }
.projects-opening .project-photo-grid { margin-top: 42px; }
.project-photo-grid .photo-caption-hint { display: none; }
.project-grid-odd .project-photo:last-child { grid-column: 1 / -1; }
.project-grid-odd .project-photo:last-child .project-photo-link { aspect-ratio: 2.05; }
.projects-continuation { padding: 64px 0 80px; }
.project-middle-banner { min-height: 460px; }
.project-middle-banner .middle-banner-inner { justify-content: flex-end; }
.project-middle-banner .middle-banner-note { width: 300px; }
.project-middle-banner .middle-banner-note h2 { font-size: 25px; }
.project-photo-missing { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper); color: var(--muted); padding: 25px; text-align: center; font-size: 12px; }
.project-photo-lead .project-photo-missing { aspect-ratio: 2.02; }
.portfolio-pagination { display: flex; justify-content: center; align-items: center; gap: 28px; margin: 0 0 60px; font-size: 11px; }
.pagination-disabled { color: #94998e; }
/* Full-screen photographs; names stay short, descriptions are optional. */
body.photo-viewer-open { overflow: hidden; }
.photo-viewer { width: min(1440px,calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 32px); padding: 22px 28px; background: var(--cream); color: var(--ink); border: 1px solid var(--line); overflow: auto; overscroll-behavior: contain; }
.photo-viewer::backdrop { background: rgba(22,28,25,.87); }
.photo-viewer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.photo-viewer-top>span { font-size: 10px; letter-spacing: .1em; }
.photo-viewer-close { display: grid; place-items: center; width: 42px; height: 42px; background: transparent; border: 1px solid #b9c0b3; }
.photo-viewer-close svg { width: 21px; height: 21px; }
.photo-viewer-stage { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 14px; min-height: 190px; touch-action: pan-y pinch-zoom; }
.photo-viewer-stage>img { grid-column: 2; width: 100%; height: min(67dvh,780px); object-fit: contain; background: #eceee7; }
.photo-viewer-nav { width: 44px; height: 52px; border: 1px solid #c3c8bd; display: grid; place-items: center; background: transparent; }
.photo-viewer-nav svg { width: 22px; height: 22px; }
.photo-viewer-nav[data-photo-next] { grid-column: 3; }
.photo-load-message { position: absolute; left: 60px; right: 60px; top: 45%; padding: 12px; text-align: center; background: var(--cream); font-size: 12px; }
.photo-viewer-bottom { padding: 22px 58px 8px; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 15px 35px; }
.photo-viewer-bottom>h2 { font-size: 18px; line-height: 1.5; }
.photo-viewer-bottom>.btn { grid-column: 2; grid-row: 1 / span 2; font-size: 10px; }
.photo-details { grid-column: 1; font-size: 11px; }
.photo-details summary { display: inline-flex; align-items: center; gap: 20px; cursor: pointer; border-bottom: 1px solid #c9cec1; padding-bottom: 5px; list-style: none; }
.photo-details summary::-webkit-details-marker { display: none; }
.photo-details>p { color: var(--muted); line-height: 1.9; margin-top: 15px; white-space: pre-line; max-width: 720px; }
.photo-details[open] summary span { transform: rotate(45deg); }
@media(max-width:980px) {
    .story-images-triple .story-main img { height: 350px; }
    .story-secondary img { height: 125px; }
    .middle-banner { min-height: 440px; }
    .approach-photo-collage img { height: 205px; }
    .approach-photo-collage figure:first-child img { height: 424px; }
    .photo-caption-hint { display: none; }
    .project-photo-lead .project-photo-link { aspect-ratio: 1.65; }
    .photo-viewer { padding: 18px; }
    .photo-viewer-bottom { padding-inline: 0; }
}
@media(max-width:700px) {
    .story-images-triple { padding: 20px 20px 25px 25px; }
    .story-images-triple .story-main img { height: 320px; }
    .story-images-triple .story-detail { width: 34%; }
    .story-secondary { width: 33%; border-width: 6px; }
    .story-secondary img { height: 120px; }
    .story-images-triple .story-main figcaption { max-width: 70%; }
    .approach-photo-collage { gap: 10px; }
    .approach-photo-collage img { height: 155px; }
    .approach-photo-collage figure:first-child img { height: 320px; }
    .approach-photo-collage.collage-count-2 img { height: 300px; }
    .middle-banner { min-height: 440px; }
    .middle-banner-inner { padding: 180px 0 25px; align-items: flex-end; }
    .middle-banner-image { object-position: center; }
    .middle-banner-note { width: 265px; padding: 22px; }
    .middle-banner-note h2 { font-size: 25px; margin: 12px 0 18px; }
    .projects-opening { padding: 26px 0 40px; }
    .projects-heading { align-items: start; gap: 15px; margin: 25px 0; }
    .projects-heading h1 { font-size: 29px; max-width: 280px; margin-top: 13px; }
    .project-total { padding-top: 4px; font-size: 9px; }
    .project-total strong { display: block; font-size: 18px; }
    .project-photo-lead .project-photo-link { aspect-ratio: 1.05; }
    .project-photo-lead h2 { font-size: 14px; }
    .project-photo figcaption { gap: 12px; padding-top: 13px; }
    .project-photo h2 { font-size: 13px; }
    .project-photo-grid { grid-template-columns: 1fr; gap: 29px; }
    .project-photo-grid .project-photo-link { aspect-ratio: 1.22; }
    .project-grid-odd .project-photo:last-child { grid-column: auto; }
    .project-grid-odd .project-photo:last-child .project-photo-link { aspect-ratio: 1.22; }
    .projects-opening .project-photo-grid { margin-top: 30px; }
    .projects-continuation { padding: 40px 0 50px; }
    .photo-expand { width: 37px; height: 37px; right: 13px; bottom: 13px; }
    .photo-expand svg { width: 20px; height: 20px; }
    .project-middle-banner .middle-banner-inner { justify-content: flex-start; }
    .project-middle-banner .middle-banner-note { width: 265px; }
    .project-middle-banner .middle-banner-note h2 { font-size: 24px; }
    .photo-viewer { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); padding: 14px; }
    .photo-viewer-stage { display: block; }
    .photo-viewer-stage>img { height: 50dvh; }
    .photo-viewer-nav { position: absolute; bottom: 10px; z-index: 1; width: 36px; height: 40px; background: var(--cream); }
    .photo-viewer-nav[data-photo-prev] { left: 10px; }
    .photo-viewer-nav[data-photo-next] { right: 10px; }
    .photo-viewer-bottom { display: flex; flex-direction: column; padding-top: 19px; gap: 14px; }
    .photo-viewer-bottom>h2 { font-size: 16px; }
    .photo-load-message { left: 43px; right: 43px; }
    .portfolio-pagination { gap: 15px; margin-bottom: 40px; }
}
@media(prefers-reduced-motion:reduce) {
    .project-photo-link img { transition: none; }
}
