/* Shared visible edges match the homepage photograph, including wide screens. */
:root{--panel-max:1120px;--panel-gutter:40px}
.home-making>.wrap,.home-quote>.wrap,.site-footer>.wrap,.resource-about-v28 .about-journey>.wrap{width:calc(100% - var(--panel-gutter)*2);max-width:var(--panel-max);margin-left:auto;margin-right:auto}
.home-tool-v8>.wrap,.finish-samples-section>.wrap,#factory-facts>.wrap{max-width:calc(var(--panel-max) + var(--panel-gutter)*2);padding-left:var(--panel-gutter);padding-right:var(--panel-gutter)}
.site-footer>.wrap{background:var(--navy);color:#d9e5ef;padding:36px;border-radius:18px}
.site-footer .fgrid{grid-template-columns:1.6fr 1fr .85fr 1fr 1.2fr;gap:24px}
.site-footer .fgrid>div{min-width:0}
.site-footer b{color:#fff}
.site-footer a{color:#d9e5ef}
.site-footer a:hover,.site-footer a:focus-visible{color:#fff;text-decoration:underline}
.site-footer a:focus-visible{outline:2px solid #fff;outline-offset:4px}
.site-footer .logo img{filter:brightness(0) invert(1)}
.site-footer .fbase{color:#d9e5ef;border-color:rgba(255,255,255,.25)}
.site-footer a[href^="mailto:"]{overflow-wrap:anywhere}
/* Both sample columns share their top and bottom edges; CTA follows the swatches. */
.resource-finishes-v28 .samples-hl{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:48px}
.samples-copy-v15{display:flex;flex-direction:column;justify-content:space-between}
.resource-finishes-v28 .samples-color-visual-v15{display:flex;flex-direction:column;justify-content:space-between;gap:18px}
.resource-finishes-v28 .samples-color-strip-v15{height:110px;flex:1;min-height:96px;max-height:156px}
.resource-finishes-v28 .samples-color-visual-v15 figcaption{font-size:18px;line-height:1.5;margin:0}
.samples-color-visual-v15 .btns{margin-top:20px;justify-content:center}
.samples-color-visual-v15 .btn{font-size:15px;white-space:normal;text-align:center}
.related-products-grid .pt-sub{min-height:3em;line-height:1.5;text-wrap:initial}
.related-products-grid .pt-top h3{min-height:2.4em;line-height:1.2}
.home-group[href*="group=skirting"] .home-group-visual img{width:224px;height:100px;max-width:92%;object-fit:contain}
/* Progressive enhancement: both ranges remain available without JavaScript. */
.collection-controls[hidden]{display:none}
.home-collections{scroll-margin-top:calc(var(--navh) + 16px)}
.home-collections.is-ready .collection-viewport{display:grid;overflow:hidden;touch-action:pan-y}
.home-collections.is-ready .collection-viewport>.home-section{grid-area:1/1;align-self:start;padding:24px 0 20px}
.home-collections.is-ready .collection-viewport>.home-section[aria-hidden="true"]{visibility:hidden;pointer-events:none}
.home-collections.is-ready .collection-viewport>.home-section.is-entering{animation:collection-enter .3s ease both}
@keyframes collection-enter{from{opacity:0;transform:translateX(var(--slide-from,40px))}to{opacity:1;transform:translateX(0)}}
.collection-controls{display:flex;justify-content:center;align-items:center;gap:12px;padding:4px 20px 24px}
.collection-controls button{border:1px solid #ccd7e1;background:#fff;color:var(--navy);border-radius:8px;min-width:44px;min-height:44px;padding:10px 16px;font-family:inherit;font-weight:600;font-size:14px;line-height:1.3;cursor:pointer}
.collection-controls button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.collection-controls button:hover{box-shadow:inset 0 0 0 1px var(--navy)}
.collection-controls button:focus-visible{outline:2px solid var(--link);outline-offset:3px}
.collection-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.home-collections .home-other .home-intro{text-align:left;max-width:none;display:flex;justify-content:space-between;gap:32px;align-items:center}
.home-collections .home-other .home-intro h2{font-size:clamp(30px,3.4vw,40px);max-width:18ch}
.home-collections .home-other .home-intro p{max-width:39ch;margin:0}
.home-collections .home-furniture-image{aspect-ratio:2.4/1}
.home-collections .home-furniture-image .pp-v9-picture{transform:translateY(-26%)}
.home-collections .home-furniture-image[href="glass-door-frames.html"] .pp-v9-picture{transform:translateY(-26%) scale(.76)}
.home-collections .home-furniture-copy{padding:18px 24px}
.home-collections .home-more{margin-top:18px;padding-top:14px}
/* Put sample ordering next to the larger color collection. */
.home-finishes{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);align-items:stretch;gap:40px}
.home-finishes-visual{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:22px}
.home-finishes-visual .home-swatches{gap:18px 10px}
.home-finishes-visual .home-swatches picture,.home-finishes-visual .home-swatches img{aspect-ratio:1.85/1}
.home-swatches-action{display:flex;justify-content:center}
.home-swatches-action .lk{padding:12px 0;min-height:44px}
@media(min-width:1600px){:root{--panel-max:1320px}}
@media(max-width:1024px){:root{--panel-gutter:28px}.site-footer .fgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.site-footer .fgrid>div:first-child{grid-column:1/-1;max-width:480px}.home-collections.is-ready .collection-viewport>.home-section[aria-hidden="true"]{display:none}}
@media(max-width:767px){:root{--panel-gutter:20px}.home-finishes{grid-template-columns:1fr}.home-finishes-visual{gap:18px}.site-footer .fgrid{grid-template-columns:1fr 1fr;gap:24px 20px}.site-footer>.wrap{padding:28px 24px}.home-collections .home-other .home-intro{display:block}.home-collections .home-other .home-intro p{margin-top:14px}.home-collections .home-furniture-image{aspect-ratio:2/1}.collection-controls{gap:8px}.collection-controls button{padding:10px;font-size:13px}}
@media(max-width:700px){.resource-finishes-v28 .samples-hl{grid-template-columns:1fr;gap:28px}.resource-finishes-v28 .samples-color-strip-v15{flex:none;height:108px}.samples-copy-v15{display:block}.home-finishes-visual .home-swatches{gap:14px 10px}}
@media(max-width:640px){:root{--panel-gutter:18px}}
@media(max-width:359px){:root{--panel-gutter:14px}.collection-controls{gap:6px;padding-left:14px;padding-right:14px}.collection-controls button{padding:8px}}
@media(prefers-reduced-motion:reduce){.home-collections.is-ready .collection-viewport>.home-section.is-entering{animation:none}}
