/* Mobile editorial corrections. Desktop compositions remain in their original stylesheets. */
@media (max-width:800px) {
 body .header:has(>.header-wordmark)::after,body .site-header::after{left:0;right:0}
 body .header .menu,body .header .nav>a,body .jbc-services-menu>summary{font-size:28px!important;line-height:1.25;min-height:44px}
 body .header .mobile-nav-panel{gap:6px;padding:12px 28px 20px;max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
 body .header .mobile-nav-panel>.nav{gap:6px}
 body .jbc-services-dropdown{padding:4px 0 8px 16px;margin:0 0 6px}
 body .jbc-services-dropdown a{font-size:24px!important;line-height:1.25;padding:6px 0;min-height:44px;box-sizing:border-box}
 body main h1,.service-page h1{font-size:clamp(36px,9.5vw,44px)!important;line-height:1.12!important;overflow-wrap:break-word}
 body main h2,.service-page h2,#work .services-heading{font-size:32px!important;line-height:1.2!important}
 body main p,body main p *{font-size:18px!important;line-height:1.5!important}
 body main figcaption,body main figcaption *{font-size:16px!important;line-height:1.35!important}
 .service-page{padding-top:20px;padding-bottom:48px}
 .service-hero{gap:20px}
 .service-page h1{margin:8px 0 18px}
 .service-kicker{display:none}
 .service-actions{gap:12px 22px;margin-top:18px}
 .service-hero-photo{min-width:0}
 .service-hero-photo img{max-height:440px;object-fit:contain;object-position:left center}
 .service-hero-photo figcaption{display:block;margin-top:10px}
 .service-hero-photo figcaption>span{display:none}
 .service-section{margin-top:44px}
 .service-cards,.service-options,.service-portfolio{gap:30px}
 .service-card,.service-option{background:transparent;border-radius:0;overflow:visible}
 .service-card-photo,.service-option-image{aspect-ratio:auto}
 .service-card-photo img,.service-option-image img{height:auto;max-height:420px;object-fit:contain;object-position:left center}
 .service-card-copy,.service-option-copy{padding:12px 0 0}
 .service-page h3{font-size:28px!important;line-height:1.2!important;margin:0 0 10px}
 .service-portfolio figcaption{padding:10px 0}
 .service-faq summary{font-size:26px;line-height:1.25}
 .service-related{padding-top:32px}
 .service-page a{overflow-wrap:anywhere}
 #stories .photo.one,#stories .copy-aside,.artists-story .artists-grid-wrap,#about .about-portrait,.about-page .origin-portrait{float:none;width:100%;max-width:420px;margin:0 auto 24px;display:block}
 #stories .photo.one{max-width:260px}
 #stories .copy,.artists-story .copy,#about .about-copy,.about-page .origin-copy{display:block}
 .dedicated-story>.copy p{max-width:100%;margin-left:0}
 #stories h2,.artists-story h2,#about .about-copy h2{clear:both}
 .gallery .photo-category{font-size:11px!important;line-height:1.4!important}
 .gallery .photo-number{font-size:11px!important}
 .gallery-index{padding-bottom:28px}
 .gallery-filter-menu>summary{min-height:44px;padding:12px 0}
 .filter-prompt{font-size:22px}.filter-selection{font-size:26px}
 .gallery-filter-menu .gallery-filter-links a{font-size:26px;padding:8px 0}
 .industry-collage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;aspect-ratio:auto}
 .industry-collage .industry-tile{position:relative;inset:auto;width:auto;height:auto;transform:none}
 .industry-collage .industry-fragment{display:none}
 .industry-collage .industry-card{height:auto;background:transparent;color:var(--ink);border:0}
 .industry-collage .industry-card>img{height:auto;object-fit:contain}
 .industry-collage .industry-card::after{display:none}
 #work .industry-collage .industry-title{position:static;margin:10px 0 0;font-size:25px!important;line-height:1.15!important;color:var(--ink);text-shadow:none;text-align:left}
 body .site-footer .footer-inner{display:grid;grid-template-columns:auto 1fr auto;gap:4px 18px}
 body .site-footer .footer-brand{grid-column:1;grid-row:1/3}
 body .site-footer .footer-contact{grid-column:2;grid-row:1;justify-self:start}
 body .site-footer .footer-gallery{position:static;transform:none;grid-column:2;grid-row:2;justify-self:start}
 body .site-footer .footer-top{grid-column:3;grid-row:1;justify-self:end}
 body .site-footer .footer-instagram{grid-column:3;grid-row:2;justify-self:end}
 /* Keep the original staggered magazine spreads. Repair section rhythm only. */
 .home-page main>:is(#stories,.dedicated-story,#meet-the-artists,#about,#work){margin-top:0;margin-bottom:48px}
 #stories,#stories .editorial-flow,.story.dedicated-story,.artists-story,#about .about-stage{display:flex;flex-direction:column;min-height:0;gap:0}
 #stories .editorial-flow{width:100%}
 #stories .copy,.dedicated-story>.copy,.artists-story .copy,#about .about-copy{display:contents}
 #stories h2,.dedicated-story h2,.artists-story h2,#about h2{order:1;margin:0 0 20px}
 .dedicated-story .label,.artists-story .label,#about .eyebrow{order:0;margin:0 0 10px}
 #stories .photo.one,.dedicated-story .memory-grid,.artists-story .artists-grid-wrap,#about .about-portrait{order:2}
 #stories p,.dedicated-story>.copy p,.artists-story p,#about p{order:3;margin:0 0 18px}
 .dedicated-story .gallery-callout,.artists-story .small-link,#about .small-link{order:4}
 .dedicated-story{width:min(640px,calc(100% - 40px));margin-inline:auto}
 .dedicated-story .memory-grid.home-editorial{width:100%;padding:0;margin:0 0 24px}
 .dedicated-story .gallery-callout{width:100%;margin:0;padding:0}
 #stories .photo.one.philosophy-bottle{width:80%;max-width:260px;height:auto;margin:0 auto 24px}
 #about .about-stage{padding-bottom:0}
 /* New service openings follow the same title / photograph / copy rhythm. */
 .service-hero{display:flex;flex-direction:column;gap:0}
 .service-hero-copy{display:contents}
 .service-hero h1{order:0;margin:0 0 20px}
 .service-hero-photo{order:1;width:100%;margin:0 0 20px}
 .service-hero-copy>p{order:2;margin:0 0 18px}
 .service-hero .service-actions{order:3;margin:0}
}
