/* Touch-first shared navigation. Desktop presentation remains unchanged. */
.mobile-menu-backdrop{position:fixed;inset:0;background:rgba(8,13,29,.42);z-index:90;opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s .25s;backdrop-filter:blur(3px)}
@media(max-width:1279px){
 body[data-page] .site-header{z-index:100}
 .jj-menu-open .mobile-menu-backdrop{opacity:1;visibility:visible;transition-delay:0s}
 body .jj-mobile-menu{display:block;position:fixed;inset:var(--drawer-top,108px) 0 0 auto;width:min(88vw,390px);height:auto;max-height:none;padding:22px 24px max(28px,env(safe-area-inset-bottom));border:0;border-radius:18px 0 0 0;background:#fff;box-shadow:-18px 12px 48px rgba(0,0,0,.14);z-index:95;overflow-y:auto;overscroll-behavior:contain;transform:translateX(105%);visibility:hidden;transition:transform .3s cubic-bezier(.22,.68,0,1),visibility 0s .3s}
 body .jj-mobile-menu.is-open{display:block;transform:translateX(0);visibility:visible;transition-delay:0s}
 body .jj-mobile-menu>a,.mobile-group-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;padding:14px 0;border:0;border-bottom:1px solid #e9edf3;background:transparent;color:#2a335e;font-size:17px;line-height:1.4;font-weight:600;text-decoration:none;text-align:left}
 .mobile-menu-eyebrow{font-size:11px;font-weight:600;letter-spacing:.1em;color:#8993a7;text-transform:uppercase;margin:0 0 12px}
 .mobile-group-toggle i{font-size:18px;transition:transform .2s;color:#6c7891}
 .mobile-group-toggle[aria-expanded=true]{color:#ff9000}
 .mobile-group-toggle[aria-expanded=true] i{transform:rotate(45deg);color:#ff9000}
 .mobile-subnav{display:grid;grid-template-rows:0fr;transition:grid-template-rows .24s ease}
 .mobile-subnav>div{overflow:hidden;min-height:0}
 .mobile-group-toggle[aria-expanded=true]+.mobile-subnav{grid-template-rows:1fr}
 body .jj-mobile-menu .mobile-subnav a{font-size:15px;line-height:1.4;font-weight:400;color:#53647b;min-height:44px;padding:12px 14px;border:0;text-decoration:none;background:#f5f7fb}
 body .jj-mobile-menu a:hover{color:#ff9000}
 body .jj-mobile-menu>a.jj-mobile-menu__quote{margin-top:24px;background:#ff9000;color:#fff;padding:14px 18px;border-radius:10px;font-size:15px}
 body .jj-mobile-menu>a.mobile-menu-email{font-size:12px;color:#6b7790;min-height:44px;justify-content:center;margin-top:8px;border:0}
 .menu-toggle{min-width:44px;min-height:44px;border:1px solid #e5eaf1;border-radius:10px;background:#fff}
 .menu-toggle-lines{position:relative;width:21px;height:18px;display:block}
 .menu-toggle-lines>span{position:absolute;left:0;width:21px;height:2px;background:#2a335e;border-radius:2px;transition:transform .22s,opacity .15s,top .22s}
 .menu-toggle-lines>span:nth-child(1){top:1px}.menu-toggle-lines>span:nth-child(2){top:8px}.menu-toggle-lines>span:nth-child(3){top:15px}
 .menu-toggle[aria-expanded=true] .menu-toggle-lines>span:nth-child(1){top:8px;transform:rotate(45deg)}
 .menu-toggle[aria-expanded=true] .menu-toggle-lines>span:nth-child(2){opacity:0}
 .menu-toggle[aria-expanded=true] .menu-toggle-lines>span:nth-child(3){top:8px;transform:rotate(-45deg)}
}
@media(max-width:767px){
 body .site-nav__inner{height:68px;min-height:0;padding-inline:20px;transition:height .2s}
 body .site-nav.is-scrolled .site-nav__inner{height:56px}
 body .brand-logo__image{height:30px;transition:height .2s}
 body .site-nav.is-scrolled .brand-logo__image{height:25px}
 body .service-outline-shell{height:56px}
 body .service-outline,body .service-outline-shell::before{height:56px}
 body .service-outline-shell.is-stuck .service-outline,body .service-outline-shell.is-stuck::before{height:48px}
 body .service-outline{padding-inline:20px;font-size:13px;gap:4px;overscroll-behavior-x:contain;touch-action:pan-x}
 body .service-outline a{padding:9px 12px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.jj-mobile-menu,.mobile-menu-backdrop,.mobile-subnav,.menu-toggle-lines>span{transition:none!important}}

/* Compact cards keep short, repeated content readable in two columns. */
@media(max-width:767px){
 body .site-nav{height:auto;min-height:0}
 body .section{padding-block:44px}
 body .assembly-heading,.design-section .assembly-heading{margin-bottom:24px}
 body .assembly-heading h2,body .section h2{font-size:28px;line-height:1.18}
 body .section :is(.content-section-description,.assembly-heading>p:last-child){font-size:15px;line-height:1.6}
 body :is(.assembly-flow,.procurement-grid,.design-development-grid,.design-case-grid,.company-photo-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body :is(.assembly-service-copy,.procurement-copy,.design-development-copy,.design-case-copy){padding:14px}
 body :is(.assembly-service-copy,.procurement-copy,.design-development-copy,.design-case-copy) h3{font-size:16px;line-height:1.3;margin-bottom:8px;overflow-wrap:normal}
 body :is(.assembly-service-copy,.procurement-copy,.design-development-copy,.design-case-copy) p{font-size:13px;line-height:1.55}
 body .assembly-service-copy a{font-size:13px;line-height:1.4;display:inline-flex;align-items:center;min-height:44px;margin-top:8px}
 body .assembly-service-card img,body .procurement-card img,body .design-case-image img{height:auto;aspect-ratio:4/3;object-fit:cover}
 body .company-photo-grid img{height:auto;aspect-ratio:4/3;object-fit:cover}
 body .company-photo-grid figcaption{padding:12px;font-size:14px;line-height:1.4}
 body #types .content-feature-grid,body #why-us .content-feature-grid,body[data-page=about] .content-feature-grid:has(>.content-reason-card),body[data-page=about] .content-article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body #types .content-feature-grid>*,body #why-us .content-feature-grid>*,body[data-page=about] .content-article-grid>*{padding:14px;border-radius:12px;min-width:0}
 body #types .content-feature-grid h3,body #why-us .content-feature-grid h3,body[data-page=about] .content-article-grid h3{font-size:16px;line-height:1.3}
 body #types .content-feature-grid p,body #why-us .content-feature-grid p,body[data-page=about] .content-article-grid p{font-size:13px;line-height:1.55}
 body #types .pcb-type-image{margin-bottom:8px}
 body #types .content-feature-grid a{min-height:44px;display:inline-flex;align-items:center;font-size:13px}
 body .design-layout-card{grid-template-columns:30% minmax(0,1fr)}
 body .design-layout-card img{height:100%;object-fit:cover;min-height:0}
 body .design-layout-copy{padding:18px}.design-layout-copy p{font-size:14px}
 body .design-intro-image img{height:210px}
 body .faq-topic-nav{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding-bottom:6px}
 body .faq-topic-nav a{flex:none;min-height:44px}
 body .equipment-tab{min-width:94px;padding:10px 8px}
 body .equipment-copy{padding:16px}
 body .form-grid{gap:16px}
 body #contact form{padding:24px}
 body #contact textarea{min-height:116px;height:116px}
 body #contact :is(input,select,textarea){font-size:16px}
 body #contact .content-contact-info-panel{padding:28px 24px;min-height:0}
 body .service-outline{touch-action:auto}
 body.has-service-outline section[id]{scroll-margin-top:calc(var(--main-nav-height) + 60px)}
}
@media(min-width:480px) and (max-width:767px){
 body .design-team-carousel .design-people-grid{--team-visible:2;--team-gap:16px}
 body .design-person-copy{padding:16px}
 body .design-person-copy h3{font-size:18px}
}
@media(max-width:359px){
 body :is(.assembly-service-copy,.procurement-copy,.design-development-copy,.design-case-copy){padding:11px}
 body :is(.assembly-service-copy,.procurement-copy,.design-development-copy,.design-case-copy) h3{font-size:15px}
}
@media(max-width:767px){
 body #types .content-feature-grid>*{padding:0}
 body #types .content-product-card{border-radius:12px;height:100%}
 body #types .content-product-card-copy{padding:14px}
 body #types .content-product-contact-link{letter-spacing:0;text-transform:none;margin-top:12px}
 body[data-page=about] .content-feature-grid:has(.content-reason-card){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body[data-page=about] .content-reason-card{padding:16px}
 body[data-page=about] .content-reason-card h3{font-size:16px;line-height:1.35}
 body[data-page=about] .content-reason-card p{font-size:13px;line-height:1.6}
 body[data-page=about] .content-article-grid>*{padding:0}
 body[data-page=about] .content-article-grid .content-team-copy{padding:16px}
 body[data-page=index] .content-services-grid,body[data-page=about] .content-feature-grid:has(.company-factory-card){display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:86%;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding-bottom:16px;scrollbar-width:thin;scrollbar-color:#ff9000 #e9edf3}
 body[data-page=index] .content-services-grid>*,body[data-page=about] .content-feature-grid:has(.company-factory-card)>*{scroll-snap-align:start;min-width:0}
 body .solution-sector-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body .solution-sector img{height:132px;padding:8px}
 body .solution-sector>div{padding:14px}
 body .solution-sector h3{font-size:17px;line-height:1.3}
 body .solution-sector p{font-size:13px;line-height:1.55}
 body .solution-sector .solution-sector-tags{font-size:12px;margin-top:12px}
 body .solution-sector .company-text-link{font-size:13px;min-height:44px;margin-top:10px}
 body .solution-capability img{height:180px}
 body[data-page=quality] .ql-img{height:160px;aspect-ratio:auto}
 body .jj-promo{padding-bottom:24px}
 body .jj-hero input,body .jj-hero select{font-size:16px}
}
@media(max-width:1279px){
 body .jj-hero-promo{touch-action:pan-y}
 body .jj-mobile-menu a[aria-current=page]{color:#ff9000;font-weight:700}
}
@media(min-width:768px) and (max-width:1279px){
 body .site-nav{height:auto;min-height:0}
 body .site-nav__inner{height:76px;transition:height .2s}
 body .site-nav.is-scrolled .site-nav__inner{height:62px}
 body .brand-logo__image{height:34px;transition:height .2s}
 body .site-nav.is-scrolled .brand-logo__image{height:28px}
}
@media(max-width:767px){
 body[data-page=index] .content-services-grid,body[data-page=about] .content-feature-grid:has(.company-factory-card){overflow-y:hidden}
}
@media(max-width:767px){
 body[data-page=index] .content-capability-text{padding:18px}
 body[data-page=index] .content-inline-content{gap:14px}
 body[data-page=index] .content-factory-overlay{width:40px;height:40px;flex:none}
 body[data-page=index] .content-capability-copy{min-width:0}
 body[data-page=index] .content-capability-description{font-size:14px;overflow-wrap:break-word}
 body[data-page=index] .content-stat-item{padding:24px 12px}
 body[data-page=index] .content-stat-value{font-size:28px;line-height:1.2}
 body[data-page=index] .content-stat-unit{font-size:16px}
 body[data-page=index] .content-stats-label{font-size:13px;white-space:normal;letter-spacing:0}
 body[data-page=about] .content-company-stat-card{padding:18px 12px}
 body[data-page=about] .content-team-department{font-size:11px;letter-spacing:0;white-space:normal;overflow-wrap:break-word}
 body[data-page=about] .content-reason-title{overflow-wrap:break-word}
}
