.custom-page { overflow-wrap: break-word; }
.custom-page :is(#custom-options,#custom-quote) { scroll-margin-top: 1rem; }
.custom-hero { display: grid; grid-template-columns: minmax(0,.98fr) minmax(0,1.05fr); align-items: center; gap: clamp(25px,5.6vw,84px); padding-block: clamp(32px,5.2vw,76px) clamp(42px,7vw,104px); }
.custom-intro h1 { font: 400 clamp(3.2rem,6.7vw,6.8rem)/.98 var(--serif); letter-spacing: -.056em; margin: 0; }
.custom-intro > p:not(.eyebrow) { max-width: 42ch; margin: 24px 0; color: var(--muted); }
.custom-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.custom-materials { margin: 0; }
.custom-materials img { width: 100%; height: auto; aspect-ratio: 912/520; object-fit: cover; border: 1px solid var(--line); }
.custom-materials figcaption { color: var(--muted); margin-top: 10px; font-size: .875rem; }
.custom-workshop { background: #1d1a16; border-block: 1px solid var(--line); padding: clamp(42px,7vw,90px) 0; }
.custom-workshop-head { max-width: 670px; margin-bottom: 25px; }
.custom-workshop-head h2 { font: 400 clamp(2.65rem,5vw,4.85rem)/1.04 var(--serif); letter-spacing: -.045em; margin: 0; }
.custom-workshop-head p:not(.eyebrow), #sample-description, .sample-note { color: var(--muted); margin: 12px 0 0; }
.custom-workspace { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,29%); align-items: start; gap: clamp(20px,3vw,44px); }
.custom-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.custom-tabs button { min-height: 43px; background: transparent; border: 1px solid #574c3c; padding: .4rem .8rem; color: var(--ink); font-size: .875rem; }
.custom-tabs button:hover { border-color: var(--gold); }
.custom-tabs button[aria-pressed="true"] { background: var(--gold); color: var(--black); border-color: var(--gold); }
#sample-title, .custom-board h3 { font: 400 clamp(1.6rem,2.65vw,2.55rem)/1.12 var(--serif); margin: 20px 0 0; }
#sample-description { margin-bottom: 21px; }
#sample-groups h4 { margin: 24px 0 10px; font: 400 1.35rem/1.2 var(--serif); }
.sample-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(9px,1.3vw,17px); }
#sample-groups[data-view="finish"] .sample-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
.sample { display: flex; flex-direction: column; position: relative; min-width: 0; border: 1px solid #544a3e; padding: 0; background: #211e1a; color: var(--ink); text-align: left; transition: border-color .2s; }
.sample:hover, .sample[aria-pressed="true"] { border-color: var(--gold); }
.sample[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--gold); }
.sample-art { display: block; width: 100%; height: clamp(104px,14vw,188px); padding: 7px; background: #e7e1d6; }
.sample-art img { width: 100%; height: 100%; object-fit: contain; }
#sample-groups[data-view="finish"] .sample-art { height: clamp(64px,8vw,104px); padding: 0; }
#sample-groups[data-view="texture"] .sample-art { padding: 0; }
#sample-groups:is([data-view="finish"],[data-view="texture"],[data-view="glass"]) .sample-art img { object-fit: cover; }
.sample-copy { display: flex; flex: 1; flex-direction: column; width: 100%; gap: 5px; padding: .65rem .72rem; font-size: .875rem; line-height: 1.4; }
.sample-copy strong { color: var(--ink); display:block; }
.sample-description { color: var(--muted); }
.pick-label { color: var(--gold); margin-top: auto; padding-top: .27rem; font-size: .8125rem; }
.sample[aria-pressed="true"] .pick-label { font-weight: 700; }
.custom-board { background: #221e19; border: 1px solid var(--line); padding: clamp(16px,2.4vw,28px); position: sticky; top: 18px; }
.custom-board .eyebrow { margin-bottom: 8px; }
.custom-board h3 { margin: 0; }
.custom-board dl { margin: 15px 0 17px; }
.custom-board dl > div { border-bottom: 1px solid var(--line); padding: 8px 0; }
.custom-board dt { color: var(--muted); font-size: .875rem; }
.custom-board dd { margin: 0; }
.custom-board label { display: grid; gap: 4px; color: var(--muted); margin: 0 0 17px; font-size: .875rem; }
.custom-board select { width: 100%; padding: 8px; border: 1px solid #756248; border-radius: 0; background: var(--black); }
.board-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; }
.clear-selection { background: none; border: 0; padding: 7px 0; min-height: 36px; font-size: .875rem; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.clear-selection:disabled { opacity: .53; cursor: default; }
.sample-note { max-width: 79ch; margin-top: 23px; font-size: .875rem; }
.quote-selection { margin: 0; color: var(--gold); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 950px) {
  #sample-groups[data-view="finish"] .sample-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .custom-hero,.custom-workspace { grid-template-columns: minmax(0,1fr); }
  .custom-board { position: static; }
  .custom-intro h1 { font-size: clamp(2.7rem,10.8vw,4.5rem); }
  .custom-intro h1 br { display: none; }
  .sample-art { height: clamp(117px,31vw,180px); }
}
@media (max-width: 490px) {
  .sample-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #sample-groups[data-view="finish"] .sample-copy { padding-inline: .45rem; }
}
