/* Shared responsive layer: desktop geometry stays in main.css. */
.menu-toggle{display:none}
.mobile-menu{display:none;background:var(--graphite);color:var(--paper);padding:0;border:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;inset:0}
.mobile-menu[open]{display:flex;flex-direction:column;gap:28px;padding:20px;overflow-y:auto;overscroll-behavior:contain}
.mobile-menu::backdrop{background:var(--graphite)}
.mobile-menu-head{display:flex;justify-content:space-between;align-items:center;gap:24px}
.mobile-menu .brand img{width:64px;height:42px;object-fit:contain;filter:brightness(0) invert(1)}
.mobile-menu .icon-button{border-color:#ffffff40;background:transparent}
.mobile-menu nav{display:grid;gap:16px;margin-top:16px}
.mobile-menu nav a{font:500 30px/1.1 var(--mono);letter-spacing:var(--block-heading-tracking);text-transform:uppercase}
.mobile-menu-contact{display:grid;gap:12px;margin-top:auto;padding-top:16px}
.mobile-menu-contact>a{font-size:20px}
.mobile-menu-contact>span{font-size:13px;color:#bdc4c9}
.mobile-menu>.button{flex-shrink:0;width:100%}
body.menu-open{overflow:hidden}
.direction-card:nth-child(3) .direction-img{object-position:50% 35%}
@media(max-width:760px){
 :root{--gutter:20px;--section-pad:64px;--block-heading-size:30px;--hero-heading-size:36px;--block-heading-leading:1.12;--card-title:22px;--compact-card-title:22px;--body:16px;--lead:18px;--grid-gap:16px;--card-pad:20px;--panel-pad:24px;--control-h:56px;--control-small:44px;--header-h:72px}
 html{scroll-padding-top:16px}
 .header-inner{height:72px;gap:12px}
 .site-header .brand img{width:60px;height:40px}
 .site-header .brand-caption,.main-nav{display:none}
 .header-contact{margin-left:auto;min-width:0}
 .header-contact a{font-size:15px;line-height:1.3}
 .header-contact span{font-size:10px;line-height:1.3}
 .menu-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #ffffff60;color:white;background:#20283030;padding:10px}
 .menu-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}
 .hero{height:100svh;min-height:640px;max-height:none;touch-action:pan-y}
 .hero-content{padding-top:112px;padding-bottom:24px;gap:24px}
 .hero .t-h1{font-size:var(--hero-heading-size);line-height:1.04;max-width:100%;overflow-wrap:normal}
 .hero-title-line{display:inline;white-space:normal}
 .hero-copy,.hero-slide[data-slide="0"] .hero-copy{width:100%;max-width:100%}
 .hero-copy>p,.hero-slide .hero-copy>p{font-size:16px;line-height:1.4;margin-top:20px;max-width:100%;text-wrap:balance}
 .hero-bottom{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding-right:0;padding-bottom:48px;margin-top:auto}
 .hero-bottom .button{width:100%;min-width:0;min-height:56px}
 .hero-facts{display:grid;grid-template-columns:1fr;gap:10px;max-width:none;width:100%;padding-bottom:0}
 .hero-facts li{max-width:none;width:100%;font-size:14px;line-height:1.35;gap:10px;padding:0}
 .fact-check{width:18px;height:18px;flex-basis:18px;margin-top:0}
 .hero-controls{left:var(--gutter);right:var(--gutter);bottom:18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
 .hero-dots{gap:4px;order:0}.hero-dot{width:32px;height:32px}.hero-dot:before{inset:12px}.hero-counter{order:1;font-size:13px}
 .section-head{gap:20px;margin-bottom:32px;align-items:flex-end}
 .section-head h2{max-width:100%;min-width:0}
 .section-head .arrows{gap:8px}
 #equipment .section-head,#steps .section-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 16px}
 #equipment .section-head h2,#steps .section-head h2{grid-column:1/-1}
 #equipment .section-head .arrows,#steps .section-head .arrows{grid-column:2}
 .directions-grid{grid-template-columns:1fr;gap:16px}
 .direction-card{height:320px;min-height:320px;padding:0;display:block}
 .direction-card .direction-img{inset:0;width:100%;height:100%;margin:0;max-width:none}
 .direction-card h3{font-size:22px;line-height:1.16;max-width:100%;min-height:0;overflow-wrap:normal;hyphens:manual}
 .direction-card p{font-size:14px;line-height:1.4;min-height:0;margin-top:10px}
 .direction-arrow{top:16px;right:16px;width:44px;height:44px}
 .direction-copy{left:20px;right:20px;bottom:20px}
 .production{padding-block:64px}
 .production-inner{grid-template-columns:1fr;gap:40px}
 .production h2,.production p{max-width:100%}
 .production p{margin-top:20px;font-size:16px;line-height:1.4}
 .production .button{margin-top:28px;width:100%}
 .production-stats{grid-template-columns:1fr 1fr;gap:28px 24px}
 .production-stat{padding-top:20px}
 .production-stat strong{font-size:52px;line-height:1.05}
 .production-stat:last-child strong{font-size:36px;line-height:1.52}
 .production-stat span{font-size:14px;margin-top:10px;max-width:100%}
 .equipment-card{flex:0 0 84%;min-width:0}
 .equipment-card>img,.equipment-card>.photo-placeholder{height:224px;min-height:224px}
 .equipment-copy{padding:20px 20px 24px}
 .equipment-copy h3{font-size:22px}
 .equipment-copy p{font-size:16px;margin-top:16px}
 .equipment-footer{gap:20px;margin-top:28px;align-items:stretch}
 .equipment-footer p{font-size:14px}
 .equipment-footer .button{width:100%;min-width:0;gap:16px}
 .project-list{gap:24px}
 .case-row{grid-template-columns:1fr;min-height:0}
 .case-copy{padding:24px;min-height:0}
 .case-copy .meta{font-size:12px;margin-bottom:20px}
 .case-copy h3{font-size:24px;line-height:1.16;max-width:100%}
 .case-copy p{font-size:16px;line-height:1.4;max-width:100%;margin:20px 0 24px}
 .case-copy .button{margin-top:0;min-width:0;width:100%}
 .case-photo{height:320px;min-height:320px}
 .case-photo>.object-photo{max-height:none}
 .case-photo>.product-inset{width:28%;height:28%;min-width:84px;min-height:84px;max-height:none;right:16px;bottom:16px;border-width:2px}
 .calc-grid{grid-template-columns:1fr;gap:32px}
 .calc-intro h2{max-width:100%}
 .calc-intro p{font-size:16px;line-height:1.4;margin-top:20px;max-width:100%}
 .calculation-form{padding-top:0;grid-template-columns:1fr;gap:24px}
 .calculation-form>*{grid-column:1/-1}
 .field{font-size:16px;gap:8px}
 .field input,.field textarea{font-size:16px;padding:16px;min-height:56px}
 .field textarea{height:128px}
 .optional{font-size:13px}
 .file-button{padding:20px;min-height:96px;gap:16px;font-size:16px}
 .consent{font-size:13px;gap:12px;line-height:1.4}
 .consent input{width:20px;height:20px}
 .logos-section{padding-block:48px}
 .logos-section h2{max-width:100%;margin-bottom:28px}
 .logo-cell{width:168px;height:96px;padding:12px 20px}
 .logo-cell img{width:128px;height:72px}
 .logo-rows{gap:12px}
 .benefits-scroll,.review-mode .benefits-scroll{height:auto}
 .benefits-scene,.review-mode .benefits-scene{position:relative;height:auto;min-height:0;max-height:none;overflow:visible}
 .benefits-inner{display:grid;grid-template-columns:1fr;grid-template-rows:none;gap:32px;padding-block:64px;height:auto}
 .benefits-inner h2{grid-column:1;grid-row:auto;max-width:100%;text-align:left;margin:0;transform-origin:left top}
 .part-render,.part-render.detail-visible{grid-column:1;grid-row:auto;position:static;opacity:1;transform:none;justify-self:center;width:240px;max-height:240px;margin:0}
 .benefit:nth-of-type(n){grid-column:1;grid-row:auto;position:static;opacity:1;transform:none;width:100%;max-width:none}
 .benefit h3{font-size:22px;max-width:100%}
 .benefit p{font-size:16px;line-height:1.4;max-width:100%;margin-top:12px}
 .benefit-icon{width:32px;height:32px}
 .letter-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:16px;padding-inline:20px;padding-bottom:8px;margin-inline:-20px;scrollbar-width:none}
 .letter-grid::-webkit-scrollbar{display:none}
 .letter-card{flex:0 0 min(82vw,340px);min-width:0;padding:20px;scroll-snap-align:start}
 .letter-preview{height:300px;min-height:300px;flex-basis:300px;margin-bottom:20px}
 .letter-preview img{top:12px;left:12px;width:calc(100% - 24px);height:calc(100% - 24px)}
 .letter-card h3{font-size:22px;line-height:1.16}
 .letter-card p{font-size:14px;line-height:1.4;margin:16px 0 24px}
 .letter-card>span:last-child{font-size:14px}
 .step-card{flex:0 0 86%;min-width:0}
 .step-head{padding:20px;min-height:88px;gap:16px}
 .step-head h3{font-size:22px;line-height:1.16}
 .step-head .meta{font-size:12px}
 .step-body{height:250px;min-height:250px;padding:20px}
 .step-body p{font-size:16px;line-height:1.4}
 .step-art{width:216px;height:216px;bottom:-70px;right:-32px;top:auto}
 .simple-section{padding:48px var(--gutter);min-height:0}
 .simple-panel{padding:24px;width:100%;max-width:480px;min-height:0;gap:24px}
 .simple-panel h2{max-width:100%}
 .simple-panel>p{font-size:16px;line-height:1.4}
 .simple-panel form{margin-top:4px;gap:24px}
 .simple-panel .button{width:calc(100% + 48px);margin:0 -24px -24px;min-height:64px;padding:20px 24px;gap:16px}
 .site-footer{padding-block:64px 24px}
 .site-footer h2{max-width:100%;margin-bottom:32px}
 .footer-grid{grid-template-columns:1fr;gap:32px;min-height:0}
 .footer-brand{order:0}
 .footer-brand img{width:96px;height:auto}
 .footer-brand .brand-caption{display:none}
 .footer-contact{order:1;grid-column:1;min-height:0;align-items:flex-start;text-align:left}
 .footer-contact .meta{margin-bottom:16px}
 .footer-phone{font-size:28px;line-height:1.15;white-space:nowrap}
 .footer-email{font-size:24px;margin-top:24px}
 .footer-contact .button{width:100%;margin-top:24px;min-height:56px;padding:16px 20px;font-size:16px}
 .footer-menu{order:2;display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;border-left:0;border-top:1px solid var(--line-dark);padding:24px 0 0;font-size:16px}
 .footer-menu>p{grid-column:1/-1;margin-bottom:8px}
 .footer-menu .footer-address{grid-column:1/-1;margin-top:12px;padding-top:24px;max-width:none;font-size:16px;border-top:1px solid var(--line-dark)}
 .footer-address a{font-size:16px}
 .footer-bottom{margin-top:32px;padding-top:24px;gap:16px;font-size:12px}
 .brand-watermark{width:340px;bottom:0}
 dialog:not(.mobile-menu){width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100svh - 24px)}
 .modal-head{padding:16px;gap:16px;align-items:flex-start}
 .modal-head h2{font-size:22px;line-height:1.15;min-width:0;overflow-wrap:anywhere}
 .modal-head .icon-button{flex-shrink:0}
 .modal-body{padding:20px}
 .modal-body .standard a{font-size:22px}
 .modal-body .standard p{font-size:16px}
}
@media(min-width:600px) and (max-width:760px){
 .directions-grid{grid-template-columns:1fr 1fr}
 .equipment-card,.step-card{flex-basis:58%}
 .hero-bottom .button{max-width:360px}
 .hero-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 .hero-facts li{font-size:14px}
}
@media(max-width:359px){
 :root{--gutter:16px;--hero-heading-size:32px;--block-heading-size:28px}
 .site-header .brand img{width:56px;height:37px}
 .header-contact a{font-size:14px}
 .header-inner{gap:10px}
 .direction-card{height:304px;min-height:304px}
 .letter-grid{margin-inline:-16px;padding-inline:16px}
 .footer-phone{font-size:26px}
}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}.marquee-track{animation:none}}

.mobile-menu-head{position:sticky;top:0;z-index:2;background:var(--graphite)}
@media(max-width:760px){.hero{touch-action:pan-y pinch-zoom}}
@media(max-width:760px) and (max-height:700px){
 .hero{height:100svh;min-height:0}
 .hero-content{padding-top:96px;padding-bottom:20px;gap:20px}
 .hero-bottom{gap:16px;padding-bottom:44px}
 .hero-bottom .button{min-height:52px}
 .hero-facts{gap:8px}
 .hero-facts li{font-size:13px;line-height:1.35}
}

/* Review 09: matching touch and drag navigation, controls below mobile cards. */
.carousel-footer{display:none}
.drag-track{touch-action:pan-y pinch-zoom;cursor:grab}
.drag-track.is-dragging{cursor:grabbing;user-select:none;-webkit-user-select:none}
.drag-track img{-webkit-user-drag:none;user-select:none}
@media(max-width:760px){
 .section-head>.arrows{display:none}
 .carousel-footer{display:flex;justify-content:center;margin-top:24px}
 .carousel-footer .arrows{justify-content:center}
 .case-photo{order:-1}
}

/* Review 10: the same check / text composition on the homepage and product heroes. */
@media(max-width:760px){
 .hero-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%;max-width:none}
 .hero-facts li{flex-direction:column;gap:8px;align-items:flex-start;font-size:13px;line-height:1.35;max-width:none;width:100%}
 .hero .fact-check{width:18px;height:18px;flex-basis:18px}
}
@media(max-width:359px){.hero-facts{gap:12px}.hero-facts li{font-size:12px}}

/* Review 11: photo cards share a 3:4 format on every page and breakpoint. */
.direction-card{aspect-ratio:3 / 4;height:auto;min-height:0;grid-template-rows:none;gap:0}
.direction-card>.direction-link{position:absolute;inset:0}
.product-directions-grid{grid-template-columns:repeat(var(--product-columns),minmax(0,1fr))}
@media(max-width:1100px){.product-directions-grid[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.product-directions-grid,.product-directions-grid[data-count="4"]{grid-template-columns:1fr}}
@media(min-width:600px) and (max-width:760px){.product-directions-grid,.product-directions-grid[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:760px){
 .hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:100%;gap:20px}
 .hero-facts li{width:auto;max-width:none}
 .header-contact .header-phone-secondary{font-size:10px}
}


@media(max-width:760px){
 :root{--header-h:60px}
 .site-header .header-inner{height:60px}
 .site-header .brand img{width:48px;height:32px}
 
 .site-header .menu-toggle{color:var(--ink);background:transparent;border-color:var(--line)}
}

/* v20: retain the original blue/grey brand in the mobile menu. */
.mobile-menu .brand img{filter:none}

/* v21: slightly larger original client logo. */
.mobile-menu .brand img{width:80px;height:56px;filter:none}
@media(max-width:760px){.site-header .brand img{width:64px;height:44px}.footer-brand .brand img{width:116px;height:auto}}
