.catalog-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:34px;align-items:start}.catalog-sidebar{min-width:0;border-right:1px solid var(--line);padding-right:25px}.catalog-sidebar .material-intro{margin:0;padding:0;border:0;background:none}.catalog-sidebar h2{font-size:25px;margin:0 0 15px}.catalog-sidebar .prose{font-size:13px;line-height:1.8}.catalog-sidebar .purchase-cta{font-size:12px;padding:10px 12px;width:100%;margin-top:18px}.catalog-recommendations{padding:26px 0 0;margin:26px 0 0!important;border-top:1px solid var(--line)}.catalog-recommendations h3{font-size:17px;margin:0 0 15px}.catalog-recommendations>a{display:grid;grid-template-columns:62px minmax(0,1fr);gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.catalog-recommendations img{width:62px;height:62px;object-fit:cover;border-radius:3px}.catalog-results{min-width:0}.catalog-results .catalog-controls{grid-template-columns:minmax(150px,1.5fr) repeat(3,minmax(80px,1fr));padding:15px;gap:10px}.catalog-results .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.catalog-results .card{display:flex;flex-direction:column;min-width:0;height:100%}.catalog-results .card>a{display:block;flex:1}.catalog-results .card .card-description{display:block;min-height:24px;line-height:1.6;font-size:13px;overflow-wrap:anywhere;margin:12px 0}.catalog-results .card h3{overflow-wrap:anywhere}.catalog-results .card .add-intent{margin-top:auto}.frame-product-copy .frame-description{margin:12px 0 20px;min-height:30px}.frame-product-copy>.eyebrow,.frame-product-copy>.frame-reference{display:none}.frame-product-actions{margin-top:auto}.frame-product-actions .add-intent{width:100%}.detail-gallery{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:start;min-width:0}.gallery-thumbnails{display:flex;flex-direction:column;gap:10px;max-height:650px;overflow:auto;padding:2px}.gallery-thumbnails button{display:block;width:100%;padding:3px;border:1px solid transparent;background:#eae7dd;border-radius:3px;flex-shrink:0;cursor:pointer}.gallery-thumbnails button[aria-pressed=true]{border-color:#294e39;box-shadow:0 0 0 1px #294e39}.gallery-thumbnails img{display:block;width:100%!important;height:68px!important;object-fit:cover!important;aspect-ratio:1}.gallery-stage{position:relative;min-width:0}.gallery-main{background:#ede9df;border-radius:5px;overflow:hidden}.detail .gallery-main>img{display:block;width:100%;height:min(45vw,650px);min-height:350px;object-fit:contain;aspect-ratio:auto}.gallery-zoom{position:absolute;bottom:12px;left:12px;background:#fff;border:1px solid var(--line);border-radius:50%;width:38px;height:38px;font-size:24px;color:var(--ink)}.gallery-counter{position:absolute;bottom:15px;right:12px;padding:5px 10px;border-radius:20px;background:#ffffffde;color:#243c2b;font-size:11px}.gallery-lightbox{padding:45px 15px 15px;border:0;border-radius:6px;max-width:94vw;max-height:94vh;background:#f8f6ef}.gallery-lightbox::backdrop{background:#102219d9}.gallery-lightbox>button{position:absolute;top:5px;right:10px;font-size:28px;border:0;background:none;color:#243c2b;cursor:pointer}.gallery-lightbox>img{display:block;width:auto;max-width:88vw;max-height:80vh;object-fit:contain}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 28px;margin-top:30px}.project-card{min-width:0}.project-card-image{display:block;overflow:hidden;background:#e9e5d9;border-radius:4px}.project-card-image>img{display:block;width:100%;aspect-ratio:3/2;height:auto;object-fit:cover;transition:transform .3s}.project-card-image:hover>img{transform:scale(1.02)}.project-card h2{font-size:27px;margin:20px 0 10px}.project-card p{font-size:14px;color:var(--muted);line-height:1.7}.project-link{font-size:13px;text-decoration:underline;text-underline-offset:4px}.project-detail{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px}.project-detail .detail-copy h1{font-size:clamp(30px,3.3vw,48px)}.project-detail .prose{font-size:15px;line-height:1.9}.spec-note{font-size:14px;line-height:1.8}
@media(max-width:1100px){.catalog-layout{grid-template-columns:195px minmax(0,1fr);gap:24px}.catalog-results .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-results .catalog-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-gallery{grid-template-columns:58px minmax(0,1fr);gap:10px}.gallery-thumbnails img{height:54px!important}}
@media(max-width:760px){.catalog-layout{display:block}.catalog-sidebar{border-right:0;padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.catalog-sidebar .prose{font-size:14px}.catalog-sidebar .purchase-cta{width:auto}.catalog-recommendations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px!important;padding-top:18px}.catalog-recommendations h3{grid-column:1/-1;margin:0}.catalog-recommendations>a{grid-template-columns:48px minmax(0,1fr)}.catalog-recommendations img{width:48px;height:48px}.detail-gallery{display:flex;flex-direction:column-reverse;gap:12px}.gallery-stage{width:100%}.gallery-thumbnails{flex-direction:row;max-height:none;width:100%;overflow-x:auto}.gallery-thumbnails button{width:64px}.gallery-thumbnails img{height:56px!important}.detail .gallery-main>img{height:430px;min-height:0}.project-grid{gap:30px 18px}.project-card h2{font-size:23px}.project-detail{grid-template-columns:1fr;gap:25px}.catalog-results .cards{gap:18px 12px}.catalog-results .card h3{font-size:20px}.catalog-results .card .add-intent{padding:10px 6px;font-size:11px}}
@media(max-width:480px){.project-grid{grid-template-columns:1fr}.detail .gallery-main>img{height:360px}.catalog-results .card> a>img{height:170px;object-fit:contain}.catalog-results .card h3{font-size:18px}.catalog-results .catalog-controls{padding:12px}.catalog-results .catalog-controls input,.catalog-results .catalog-controls select{min-width:0;width:100%}}
@media(prefers-reduced-motion:reduce){.project-card-image>img{transition:none}}

.catalog-results .card h3{line-height:1.35;min-height:2.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.catalog-results .card .card-description{min-height:4.8em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.frame-product-copy .frame-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6}.jq-resource-tile .jq-media-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3em}

.project-card .project-kind{font-size:11px;letter-spacing:.6px;color:#6b735f;margin:16px 0 0}.project-card .project-kind+h2{margin-top:8px}
.jq-magnifier,.jq-magnifier-lens{position:fixed;pointer-events:none;z-index:900;box-sizing:border-box}.jq-magnifier{background-color:#ede9df;background-repeat:no-repeat;border:1px solid #c5c4b5;border-radius:5px;box-shadow:0 12px 32px #17271e26}.jq-magnifier-lens{background:#ffffff30;border:1px solid #627a64;z-index:899}.jq-magnifier[hidden],.jq-magnifier-lens[hidden]{display:none}@media(hover:hover) and (pointer:fine) and (min-width:1000px){.detail:not(.project-detail) .gallery-main{cursor:crosshair}}

/* Balanced compact header; mobile keeps its existing menu interaction. */
@media(min-width:801px){
 body header{grid-template-columns:64px minmax(0,1fr) auto;column-gap:28px;padding:8px max(24px,calc((100% - 1200px)/2));min-height:72px}
 body header .brand{display:flex;align-items:center;justify-content:center;width:64px;line-height:1}
 body header .brand img.jq-company-logo{width:56px!important;height:56px!important;max-height:56px;object-fit:contain}
 body header nav{flex-wrap:nowrap;gap:clamp(12px,1.5vw,22px);justify-content:center;align-items:center}
 body header nav>a,body header .nav-dropdown{white-space:nowrap}
 body header .header-social{justify-self:end}
}
@media(min-width:801px) and (max-width:1100px){
 body header{column-gap:16px;padding-inline:20px;grid-template-columns:56px minmax(0,1fr) auto}
 body header .brand{width:56px}body header nav{font-size:12px;gap:8px}
 body header .list-toggle{padding:6px 9px;white-space:nowrap}
}
@media(max-width:800px){body header{padding-top:5px;padding-bottom:5px}body header .brand img.jq-company-logo{width:48px!important;height:48px!important;max-height:48px;object-fit:contain}}

/* Product card covers share a square viewport; editorial/promotional layouts are unchanged. */
body .frame-product.variant-card .frame-product-image img,body .frame-product.variant-card.mobile-full .frame-product-image img,body #popular-products .card img{width:100%;height:auto;max-height:none;aspect-ratio:1;object-fit:contain}

/* Detail frames follow the full image rather than a fixed-height letterbox. */
body .detail:not(.project-detail) .gallery-main>img{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;display:block}

/* v2.25: centered full-ratio product image; thumbnails no longer offset the stage. */
body.single-jq_product .detail-gallery{display:flex;flex-direction:column-reverse;gap:14px;max-width:600px;margin-inline:auto;width:100%}
body.single-jq_product .gallery-stage{width:100%}
body.single-jq_product .gallery-thumbnails{flex-direction:row;justify-content:safe center;width:100%;max-height:none;overflow-x:auto}
body.single-jq_product .gallery-thumbnails button{width:64px}
body.single-jq_product .gallery-thumbnails img{height:56px!important}
body.single-jq_product .spec-summary{margin-bottom:14px}
body.single-jq_product .spec-note{margin:0 0 20px}
body main>article.news-article{display:block;margin:28px auto 50px;padding:0 5%;max-width:1200px}
.news-article h1{font-size:clamp(30px,4vw,54px);max-width:1000px}
.news-article-body{font-size:16px;line-height:1.85;overflow-wrap:anywhere;max-width:none}
.news-article-body img{display:block;width:100%;max-width:100%;height:auto;margin:24px auto}
.news-article-body figure{max-width:100%;margin:24px 0}
.news-article-body h2{font-size:clamp(24px,3vw,36px);margin-top:32px}
.catalog-sidebar .material-intro{font-size:13px;line-height:1.8;margin-top:18px;overflow-wrap:anywhere}
dialog.jq-project-lightbox{position:fixed;inset:0;margin:auto;padding:48px 16px 16px;width:max-content;max-width:94vw;height:max-content;max-height:94dvh;border:0;border-radius:6px;background:var(--paper);box-sizing:border-box}
.jq-project-lightbox::backdrop{background:#102219d9}
.jq-project-lightbox img{display:block;width:auto;height:auto;max-width:calc(94vw - 32px);max-height:calc(94dvh - 64px);object-fit:contain;margin:auto}
.jq-project-lightbox button{position:absolute;top:4px;right:8px;width:40px;height:40px;border:0;background:none;font-size:28px;color:var(--ink)}
/* Wider spacing across the six desktop links, with compact navigation retained below 1100px. */
@media(min-width:1101px){body header nav#site-navigation{gap:clamp(24px,2.6vw,40px)}}
