/* Mobile-only refinements. Desktop styles remain unchanged. */
@media(max-width:700px){
 header{position:relative;inset:auto;height:auto;min-height:0;padding:16px 6%;display:flex;flex-direction:column;gap:12px;background:#17191c;align-items:center}
 header .site-logo{width:94px;height:66px}
 header nav{max-width:none;width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:0 12px;letter-spacing:0}
 header nav a{font-size:14px;min-height:44px;display:inline-flex;align-items:center;padding:5px 2px}
 .opening{display:block;min-height:0;padding:0}.hero-photo{position:relative;inset:auto;height:auto;aspect-ratio:1672/941;background-position:center;background-size:cover}
 .opening-copy{padding:28px 6% 40px;width:100%;max-width:none}.opening h1{font-size:clamp(29px,7.6vw,42px);overflow-wrap:break-word;text-shadow:none}.opening p{font-size:16px;line-height:1.7;text-shadow:none}
 .hero-actions{display:grid;grid-template-columns:1fr;gap:12px}.hero-actions .button{justify-content:center;font-size:14px;min-height:48px;width:100%}
 .section-top p,.services .section-top p,.service p,.selected-copy p,.method-intro p,.about-title p,.contact-copy p,.business-scan p,.work-page .intro,.reference-block p{font-size:16px;line-height:1.65}
 .service-grid{grid-template-columns:1fr;gap:30px}.service{max-width:350px;width:100%;margin:auto}.frame,.service:nth-child(2) .frame{font-size:23px}.service p{max-width:310px;margin:14px auto 8px}.case-no{font-size:14px}
 .selected-copy .text-link,.instruction{display:inline-block;font-size:14px;min-height:44px;padding:10px 0}
 .board{min-height:0;padding:26px 8%;background-size:auto 100%}.board-grid{position:relative;display:grid;grid-template-columns:1fr;gap:22px}.board .note{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;max-width:none;min-height:145px;padding:22px;transform:none;background:#e7d2a9;box-shadow:3px 5px 10px #0006}.board .note strong{font-size:18px}.board .note span{font-size:16px;margin-top:10px}.board .note small{font-size:14px;margin-top:14px}.board .note-1,.board .note-4{min-height:76px;background:#d3a44b}.board .note:last-child{grid-column:auto;max-width:none;justify-self:stretch}
 .about-scene{min-height:0;padding:35px 6% 28px;background-position:center}.profile-buttons{position:relative;inset:auto;display:grid;grid-template-columns:1fr;gap:15px;margin-top:260px}.profile-buttons button{width:100%;min-width:0;font-size:22px;padding:20px}.profile-buttons .professional-subtitle{font-size:16px;margin:10px 0;line-height:1.6}.profile-buttons span{font-size:14px}
 dialog{width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:88vh;max-height:88dvh;padding:52px 22px 28px;overflow:auto;overscroll-behavior:contain}dialog p,dialog li{font-size:16px;line-height:1.7}dialog h2{font-size:28px;overflow-wrap:break-word}.close,.popup-close,.lightbox-close{width:44px;height:44px;right:5px;top:4px;display:grid;place-items:center;padding:0}
 .agency-popup{padding:54px 22px 28px;max-height:88dvh}.agency-popup p,.fingerprint-content .popup-aside{font-size:16px}.popup-skip,.agency-popup .button{font-size:14px;min-height:44px;padding:12px}.popup-label{font-size:13px;line-height:1.6}
 .business-scan .button.scan-cta,.contact .button,.contact-copy .button{font-size:14px;min-height:48px;text-align:center;justify-content:center;max-width:100%;white-space:normal}.contact>.button{display:flex;width:100%}
 footer,footer .social>span{font-size:14px}footer .social{display:block}.social-links{gap:12px;flex-wrap:wrap;margin-top:12px}.social-links a{width:44px;height:44px;flex-shrink:0}
 .page-hero .inner{padding-top:44px;padding-bottom:50px}.page-hero{min-height:0}.page-hero h1{font-size:clamp(30px,8vw,44px);overflow-wrap:break-word}.page-hero .lead{font-size:18px;line-height:1.6}.crumb{display:inline-block;font-size:14px;min-height:44px;line-height:1.6;margin-bottom:12px}
 .grid{grid-template-columns:1fr}.panel{min-width:0}.panel p,.smallnote,.program .length,.program p,.gallery-intro,.carousel-slide figcaption,.reference-list{font-size:16px}.brand-name{font-size:clamp(44px,12vw,70px)}.carousel{min-width:0;max-width:100%}.slide-zoom{min-height:220px}.lightbox{padding:50px 10px 18px}.lightbox img{max-width:100%;max-height:72vh}.lightbox p{font-size:14px}
 .puzzle-options button{min-height:48px;font-size:14px}.puzzle-options{display:grid;grid-template-columns:1fr}.discovery{min-width:0}.discovery>*{min-width:0}
}
/* Keep both mentor and apprentice visible without cropping the desktop photograph. */
@media(max-width:700px){
 .about-scene{display:flex;flex-direction:column;background:#201b18;padding:35px 6% 28px}
 .about-title{order:0}
 .about-scene::before{content:'';display:block;order:1;width:100%;aspect-ratio:4/5;margin:22px 0;background:url('/assets/about-mobile-portrait.png') center/contain no-repeat}
 .about-scene .profile-buttons{order:2;margin-top:0}
}
/* Compact alternating notes reveal more of the detective board on phones. */
@media(max-width:700px){
 .board{padding:28px 6%;background-size:100% 100%}
 .board-grid{gap:18px}
 .board .note{width:78%!important;min-height:0;padding:15px 17px;justify-self:start;transform:rotate(-2deg)}
 .board .note:nth-child(even){justify-self:end;transform:rotate(2deg)}
 .board .note strong{font-size:16px;line-height:1.35}
 .board .note span{font-size:15px;line-height:1.45;margin-top:7px}
 .board .note small{font-size:13px;margin-top:9px}
 .board .note span:empty{display:none}
 .board .note-1,.board .note-4{width:max-content!important;max-width:100%;min-height:44px;padding:11px 16px;align-items:center;justify-content:center;align-self:center}
 .board .note:last-child{max-width:none;justify-self:start}
}
