/* Existing site typography and palette, with a spacious editorial image grid. */
.materials-page{background:var(--paper);color:var(--ink);font-family:var(--mono)}
.materials-page #library-page{width:100%;max-width:none;margin:0;background:transparent}
.materials-page .sample-masthead,.materials-main,.materials-page>.site-footer{width:calc(100% - 112px);max-width:1272px;margin:0 auto}
.materials-page :is(button,a,summary){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.materials-page button{cursor:pointer;font:inherit;color:inherit}
.materials-page :is(button,a,summary):focus-visible{outline:2px solid currentColor;outline-offset:5px}
.materials-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.materials-intro{display:grid;grid-template-columns:1fr 1fr;gap:56px;padding:64px 0 52px;align-items:start}
.material-eyebrow{font:.75rem/1.5 var(--mono);text-transform:uppercase;letter-spacing:.03em;margin:0 0 18px}
.materials-intro h1{font:400 clamp(2rem,3vw,2.75rem)/1.15 var(--mono);letter-spacing:-.045em;margin:0}
.materials-intro-note{max-width:42ch;justify-self:end;padding-top:34px;font:.9375rem/1.65 var(--mono)}
.materials-intro-note p{margin:0 0 14px}.materials-intro-note p:last-child{color:var(--muted);font-size:.8125rem}
.finish-jump-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;margin:0 0 46px;padding:24px 0 18px;border-top:1px solid var(--fine-line);border-bottom:1px solid var(--fine-line)}
.finish-jump-link{display:block;min-width:0;color:inherit;text-decoration:none}
.finish-jump-link img{display:block;width:100%;height:auto;object-fit:contain}
.finish-jump-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-height:44px;padding-top:12px;font:.8125rem/1.5 var(--mono)}
.finish-jump-link:is(:hover,:focus-visible) .finish-jump-label{text-decoration:underline;text-underline-offset:4px}
.colour-section{margin:0 0 76px;scroll-margin-top:24px}
.colour-heading{display:flex;align-items:baseline;gap:24px;padding:12px 0 30px}
.colour-heading .material-eyebrow{min-width:106px;margin:0;color:var(--muted)}
.colour-heading h2{font:400 clamp(1.5rem,2.6vw,2.125rem)/1.2 var(--mono);margin:0;letter-spacing:-.035em}
.finish-editorial-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:34px 24px;align-items:start}
.finish-photo{min-width:0;margin:0}.finish-photo-primary{grid-column:1/7;grid-row:1/4;margin-top:80px}
.finish-editorial-note{grid-column:8/13;grid-row:1;font:.8125rem/1.65 var(--mono);max-width:44ch;padding:0 0 8px}
.finish-editorial-note p{margin:0 0 24px}.finish-editorial-note dl{margin:0 0 22px}
.finish-editorial-note dl>div{display:grid;grid-template-columns:65px 1fr;gap:12px;margin-bottom:5px}
.finish-editorial-note dt{color:var(--muted)}.finish-editorial-note dd{margin:0}
.finish-photo-detail{grid-column:8/12;grid-row:2}.finish-photo-secondary{grid-column:8/13;grid-row:3;margin:24px 0 0}
.finish-photo button{position:relative;display:block;width:100%;border:0;padding:0;background:transparent;text-align:left}
.finish-photo img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.finish-photo-detail img{aspect-ratio:1}.finish-photo-secondary img{aspect-ratio:4/5;object-fit:contain}
.finish-photo-expand{position:absolute;bottom:10px;right:12px;font:400 1.2rem/1 var(--mono);color:#fff;text-shadow:0 1px 4px #000}
.finish-photo figcaption{display:flex;justify-content:space-between;gap:12px;padding-top:10px;font:.6875rem/1.5 var(--mono)}
.finish-photo figcaption>a{color:inherit;white-space:nowrap;text-underline-offset:3px}
.finish-photo figcaption>span:last-child:not(:first-child){color:var(--muted)}
.colour-section:nth-child(even) .finish-photo-primary{grid-column:7/13}
.colour-section:nth-child(even) .finish-editorial-note{grid-column:1/6}
.colour-section:nth-child(even) .finish-photo-detail{grid-column:2/6}
.colour-section:nth-child(even) .finish-photo-secondary{grid-column:1/6}
.colour-more{margin-top:44px;border-top:1px solid var(--fine-line);border-bottom:1px solid var(--fine-line)}
.colour-more>summary{display:flex;justify-content:space-between;gap:20px;min-height:52px;align-items:center;font:.8125rem/1.5 var(--mono);list-style:none;cursor:pointer}
.colour-more>summary::-webkit-details-marker{display:none}.colour-more[open]>summary>span{transform:rotate(45deg)}
.finish-more-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px;padding:16px 0 28px}
.finish-more-grid>a{min-width:0;color:inherit;text-decoration:none;font:.75rem/1.5 var(--mono)}
.finish-more-grid img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;margin-bottom:9px}
.finish-guidance{display:grid;grid-template-columns:1fr 1fr;gap:10%;border-top:1px solid var(--fine-line);padding:42px 0 30px}
.finish-guidance h2{font:400 1.5rem/1.3 var(--mono);letter-spacing:-.03em}.finish-guidance p{font:.875rem/1.65 var(--mono);margin:0 0 20px}
.finish-guidance .text-link{display:inline-block;font-size:.8125rem;margin:0 24px 16px 0}
.materials-page>.site-footer{padding-bottom:28px}.materials-page:has(#finish-dialog[open]){overflow:hidden}
.materials-page #finish-dialog{inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:0 max(24px,calc((100vw - 1340px)/2));border:0;color:var(--ink);background:var(--paper);overflow-y:auto;overscroll-behavior:contain}
#finish-dialog::backdrop{background:#24241f75}
.finish-dialog-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--fine-line);background:var(--paper);font:.8125rem/1.5 var(--mono)}
.finish-dialog-toolbar button{min-height:44px;padding:8px 0 8px 18px;border:0;background:none}.finish-dialog-toolbar button span{margin-left:20px}
.finish-detail-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:6vw;padding:30px 0;align-items:start}
.finish-visuals{min-width:0}#finish-hero{display:flex;justify-content:center;align-items:center;min-height:260px}
#finish-hero>img{display:block;width:auto;max-width:100%;height:auto;max-height:76dvh;object-fit:contain}
.finish-photo-choices{display:flex;gap:12px;overflow-x:auto;padding:16px 3px 8px}
.finish-photo-choices button{flex:0 0 76px;padding:3px;border:1px solid transparent;background:none}
.finish-photo-choices button[aria-pressed="true"]{border-color:var(--ink)}.finish-photo-choices img{width:68px;height:85px;display:block;object-fit:cover}
.finish-information{padding-top:28px;font:.875rem/1.65 var(--mono)}
.finish-information h2{font:400 1.75rem/1.2 var(--mono);letter-spacing:-.03em;margin:0 0 24px}
.finish-information .text-link{display:block;width:fit-content;margin:16px 0;min-height:28px}
.finish-information [hidden]{display:none!important}
.finish-photo-caption,.example-note{color:var(--muted);font-size:.8125rem;margin-top:30px}
.finish-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--fine-line);padding:18px 0;font:.8125rem/1.5 var(--mono)}
.finish-pagination button{min-height:44px;border:0;background:none;padding:8px 0}
@media(max-width:760px){
 .materials-page .sample-masthead,.materials-main,.materials-page>.site-footer{width:calc(100% - 36px)}
 .materials-intro{grid-template-columns:1fr;gap:20px;padding:30px 0 24px}.materials-intro h1{font-size:1.875rem}
 .material-eyebrow{font-size:.6875rem;margin-bottom:12px}.materials-intro-note{padding:0;justify-self:start;max-width:38ch;font-size:.8125rem}.materials-intro-note p{margin-bottom:8px}
 .finish-jump-grid{gap:8px;margin-bottom:28px;padding:16px 0 12px}.finish-jump-label{font-size:clamp(.6875rem,2vw,.8125rem);line-height:1.4;padding-top:8px}.finish-jump-label>[aria-hidden]{display:none}
 .colour-section{margin-bottom:48px}.colour-heading{display:block;padding:4px 0 20px}.colour-heading .material-eyebrow{margin-bottom:8px}.colour-heading h2{font-size:1.5rem}
 .finish-editorial-grid{grid-template-columns:1fr 1fr;gap:22px 12px}
 .finish-editorial-grid .finish-editorial-note{grid-column:1/-1;grid-row:1;padding:0;max-width:48ch}
 .finish-editorial-note p{margin-bottom:14px}.finish-editorial-note dl{margin-bottom:12px}
 .colour-section .finish-editorial-grid .finish-photo-primary{grid-column:1/-1;grid-row:2;margin:4px 0 0}
 .colour-section .finish-editorial-grid .finish-photo-detail{grid-column:1;grid-row:3;margin:0}
 .colour-section .finish-editorial-grid .finish-photo-secondary{grid-column:2;grid-row:3;margin:0}
 .colour-section .finish-editorial-grid .finish-editorial-note{grid-column:1/-1;grid-row:1}
 .finish-photo-detail img,.finish-photo-secondary img{aspect-ratio:4/5}
 .finish-photo figcaption{display:block;font-size:.6875rem}.finish-photo figcaption>a{display:inline-block;padding:6px 0}
 .finish-photo figcaption>span:last-child:not(:first-child){display:none}
 .colour-more{margin-top:24px}.colour-more>summary{font-size:.75rem}.finish-more-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 .finish-guidance{grid-template-columns:1fr;gap:18px;padding-top:28px}.finish-guidance h2{font-size:1.375rem}
 .materials-page #finish-dialog{padding:0 18px}.finish-dialog-toolbar{padding-top:max(8px,env(safe-area-inset-top))}
 .finish-detail-layout{grid-template-columns:1fr;gap:18px;padding:20px 0}#finish-hero{min-height:0}#finish-hero>img{max-height:66dvh}
 .finish-information{padding:0}.finish-information h2{font-size:1.5rem}.finish-pagination{font-size:.75rem;padding-bottom:max(18px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){.finish-jump-grid{gap:4px}}
@media print{.finish-jump-grid,.finish-photo-expand,.colour-more,#finish-dialog{display:none!important}.colour-section{break-inside:avoid}}
/* Reuse the catalogue's product popups for every View piece link. */
html.product-popup-open{overflow:hidden}
#product-popup{width:calc(100% - 96px);max-width:1240px;height:calc(100dvh - 96px);max-height:none;margin:auto;padding:0;border:0;border-radius:0;color:var(--ink);background:#fff;overflow:hidden}
#product-popup[open]{display:flex;flex-direction:column}#product-popup::backdrop{background:rgb(0 0 0 / .72)}
.product-popup-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;border-bottom:1px solid var(--fine-line);background:#fff}
.product-popup-header h2{font:400 16px/1.4 var(--mono);margin:0;min-width:0}
.product-popup-actions{display:flex;align-items:center;gap:20px;flex-shrink:0}
.product-popup-actions button{min-height:44px;padding:8px 0;border:0;background:transparent;font:400 12px/1.4 var(--mono);cursor:pointer}
.product-popup-actions button:disabled{opacity:.4;cursor:default}
.product-popup-content{position:relative;flex:1;min-height:0}#product-popup-frame{display:block;width:100%;height:100%;border:0;background:#fff}
#product-popup-frame[hidden]{display:block;visibility:hidden}.product-popup-loading{position:absolute;inset:0;align-content:center;padding:24px;text-align:center;font:400 14px/1.5 var(--mono)}
.product-popup-loading button{min-height:44px;padding:10px 20px;border:1px solid currentColor;background:transparent;font:inherit;cursor:pointer}
.product-loading-mark{display:block;width:57.6px;height:auto;margin:0 auto 18px}
@media(max-width:760px){#product-popup{width:100%;height:100dvh;max-height:100dvh;margin:0}.product-popup-header{padding:max(8px,env(safe-area-inset-top)) 12px 8px;gap:12px}.product-popup-header h2{font-size:14px}.product-popup-actions{gap:12px}.product-popup-actions button{min-width:44px}.product-popup-content{padding-bottom:env(safe-area-inset-bottom)}}

.finish-extra-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:40px 0}.finish-photo-gallery img{object-fit:contain}.finish-photo-choices{flex-wrap:wrap}@media(max-width:760px){.finish-extra-gallery{grid-template-columns:1fr;gap:28px;max-width:520px;margin:28px auto}}

@media(min-width:761px){.finish-extra-gallery:has(>figure:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
