/* Home only: retain Studio geometry and source photographs. */
.pdf-gallery {padding-bottom:0}
.pdf-gallery .pdf-gallery-page {margin-bottom:72px}
.pdf-gallery .project-figure {overflow:visible}
.home-project-caption {position:absolute;top:100%;left:0;width:100%;padding-top:12px;text-align:center;font-family:Arial,sans-serif;font-size:10px;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;color:#666}
.home-project-caption a {color:inherit;text-decoration:none;display:inline-block;padding:3px 0;max-width:100%;overflow-wrap:anywhere}
.home-project-caption a:hover,.home-project-caption a:focus-visible {text-decoration:underline;text-underline-offset:4px}
.home-contact-link {font-size:14px;text-decoration:none;color:inherit;white-space:nowrap}
.home-contact-link[hidden] {display:none}
.home-contact-end {text-align:center;padding:65px 24px 90px;border-top:1px solid #e9e9e7;margin:0 auto;width:84%;color:#555}
.home-all-projects {display:inline-block;font-style:italic;font-size:25px;color:inherit;text-decoration:none;margin-bottom:50px}
.home-contact-end p {font-family:Arial,sans-serif;font-size:11px;letter-spacing:.09em;text-transform:uppercase;margin:0 0 14px}
.home-email {font-size:clamp(23px,4vw,38px);color:inherit;text-decoration:none}
.home-email:hover,.home-all-projects:hover {text-decoration:underline;text-underline-offset:6px}
@media(max-width:760px){
 .pdf-gallery .pdf-gallery-page {display:flex;flex-direction:column;align-items:center;gap:36px;width:100%;aspect-ratio:auto;padding:20px 20px;margin-bottom:32px}
 .pdf-gallery .pdf-gallery-page > .project-figure,#selected-works-pdf .pdf-gallery-page.pdf-reference-page > .project-figure {position:static;width:min(100%,460px)!important;height:auto!important;margin:0!important;transform:none!important}
 .pdf-gallery .pdf-gallery-page .photo-button {height:auto}
 .pdf-gallery .pdf-gallery-page .hero-photo {width:100%;height:auto;max-height:none;object-fit:contain!important}
 .home-project-caption {position:static;padding-top:12px;font-size:10px}
 .home-contact-end {padding:42px 12px 65px;width:calc(100% - 40px)}
 .home-contact-link {font-size:12px}
 .site-header .header-tools {gap:16px}
}
body:has(.pdf-gallery) .site-header {background:rgba(255,255,255,.97)}

/* A quieter editorial transition from the opening triptych into a full story. */
.home-featured-story{width:84%;max-width:1180px;margin:15px auto 100px;padding:65px 0;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8%;align-items:center;border-top:1px solid #e5e5e1;border-bottom:1px solid #e5e5e1}
.home-featured-photo{display:block;text-align:center}.home-featured-photo img{display:block;width:100%;height:clamp(340px,44vw,680px);object-fit:contain;max-width:100%}
.home-featured-eyebrow{font:10px Arial,sans-serif;letter-spacing:.15em;color:#73736c;margin:0 0 25px}
.home-featured-copy h2{font-family:var(--font-editorial,Georgia,serif);font-weight:400;font-size:clamp(26px,3.2vw,48px);line-height:1.2;margin:0 0 30px;overflow-wrap:anywhere}
.home-featured-copy a{color:inherit;text-decoration:none}.home-featured-open{font-style:italic;font-size:18px;display:inline-block;padding:12px 0}.home-featured-copy a:hover,.home-featured-copy a:focus-visible{text-decoration:underline;text-underline-offset:5px}
@media(max-width:760px){.home-featured-story{width:calc(100% - 40px);grid-template-columns:1fr;gap:28px;padding:35px 0;margin:15px auto 65px}.home-featured-photo img{height:auto;max-height:65vh;object-fit:contain}.home-featured-copy{text-align:center}.home-featured-eyebrow{margin-bottom:16px}.home-featured-copy h2{font-size:29px;margin-bottom:12px}.home-featured-open{font-size:17px}}
