/* Official SeaDek samples. Keep this stylesheet after site.css. */
.palette-card{position:relative;min-width:0;min-height:0;padding:24px 32px 18px;background:#e7e5da;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:18px}
.palette-card__head{display:flex;justify-content:space-between;gap:16px;font-size:10px;font-weight:600;letter-spacing:.08em;line-height:1.4;text-transform:uppercase;color:var(--muted)}
.palette-card__grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0;width:100%;min-height:0;align-self:stretch}
.palette-card__grid li{min-width:0;min-height:0}
.palette-card__grid button{display:block;width:100%;height:100%;min-height:28px;margin:0;padding:0;border:1px solid rgb(12 24 32 / .18);border-radius:3px;overflow:hidden;background:var(--paper);cursor:pointer}
.card .palette-card__grid img,.stack.is-flow .card .palette-card__grid img{display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center}
.palette-card__grid button:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.palette-card__name{position:absolute;left:32px;right:32px;bottom:18px;display:none;color:var(--navy);font-size:12px;font-weight:600;line-height:1.5;pointer-events:none}
.palette-card__grid button:focus .palette-card__name{display:block}
.card .palette-card__hint{font-size:12px;line-height:1.5;min-height:18px}
.palette-card:has(button:focus) .palette-card__hint{visibility:hidden}
@media(hover:hover) and (pointer:fine){
 .palette-card__grid button:hover{outline:2px solid var(--navy);outline-offset:3px}
 .palette-card__grid button:hover .palette-card__name{display:block}
 .palette-card:has(button:hover) .palette-card__hint{visibility:hidden}
 .palette-card:has(button:hover) button:focus:not(:hover) .palette-card__name{display:none}
}
.stack.is-flow .palette-card{min-height:320px}
.samples__intro{margin:-12px 0 0;font-size:14px;line-height:1.5;color:var(--muted)}
.swatches.swatches--samples{grid-template-columns:repeat(12,minmax(0,1fr));gap:16px 12px}
.swatches--samples button{display:grid;grid-template-rows:auto 1fr;gap:7px;width:100%;max-width:none;min-height:44px;aspect-ratio:auto;padding:0;border:0;border-radius:3px;background:transparent;box-shadow:none;color:var(--navy);text-align:left;font:inherit;cursor:pointer}
.swatches--samples button::after{content:none}
.swatches--samples button img{display:block;width:100%;height:auto;aspect-ratio:1.7;object-fit:cover;object-position:center;border:1px solid rgb(12 24 32 / .18);border-radius:3px}
.swatches--samples button span{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;font-size:11px;font-weight:400;line-height:1.3}
.swatches--samples li.is-on button,.swatches--samples button[aria-pressed="true"]{outline:2px solid var(--navy);outline-offset:4px}
.swatches--samples button:focus-visible{outline:3px solid var(--navy);outline-offset:4px}
.samples__note{margin:-6px 0 0;max-width:65ch;font-size:12px;line-height:1.5;color:var(--muted)}
.textures{margin-top:8px;padding-top:28px;border-top:1px solid #bfc6bf}
.textures__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:20px}
.textures__head h4{margin:0;font-size:18px;line-height:1.3;font-weight:600;letter-spacing:-.02em}
.textures__head p{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.textures__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.texture{min-width:0;margin:0}
.texture>img{display:block;width:100%;height:auto;aspect-ratio:2;object-fit:cover;border:1px solid #c8ccc7;border-radius:5px}
.texture figcaption{display:grid;align-content:start;gap:4px;padding-top:12px;line-height:1.35}
.texture figcaption>span{font-size:15px;font-weight:600}
.texture figcaption>small{font-size:11px;font-weight:400;color:var(--muted)}
@media(max-width:860px){
 .palette-card{padding:16px 18px;gap:10px}
 .palette-card__head{font-size:9px;letter-spacing:.06em;gap:8px}
 .palette-card__grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));gap:5px}
 .palette-card__grid button{min-height:26px}
 .palette-card__name{left:18px;right:18px;bottom:16px;font-size:11px}
 .card .palette-card__hint{font-size:11px;min-height:17px}
 .stack.is-flow .palette-card{min-height:300px}
 .swatches.swatches--samples{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 9px}
 .swatches--samples button{gap:6px}
 .swatches--samples button img{aspect-ratio:1.5}
 .swatches--samples button span{font-size:10.5px;line-height:1.25}
 .samples__intro{font-size:13px;margin-top:-8px}
 .samples__note{font-size:11px;margin-top:-4px}
 .textures{padding-top:24px;margin-top:0}
 .textures__head{align-items:flex-start;flex-direction:column;gap:6px;margin-bottom:16px}
 .textures__head h4{font-size:17px}
 .textures__head p{font-size:12px}
 .textures__grid{gap:10px}
 .texture>img{aspect-ratio:1.4}
 .texture figcaption{padding-top:10px;gap:4px}
 .texture figcaption>span{font-size:13px}
 .texture figcaption>small{font-size:10px;line-height:1.4}
}
@media(max-width:360px){
 .palette-card__head span:first-child{max-width:14ch}
 .palette-card__head span:last-child{text-align:right}
 .swatches.swatches--samples{gap:14px 7px}
 .swatches--samples button span{font-size:10px}
}
@media(max-width:860px) and (max-height:720px){
 .palette-card{padding:12px;gap:8px}
 .palette-card__grid{grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:3px}
 .palette-card__grid button{min-height:24px}
 .palette-card__name{left:12px;right:12px;bottom:12px}
}
@media(max-height:550px) and (max-width:860px){.palette-card{min-height:300px}}
