/* Kitchen material sheet, PHONE ONLY (approved mock up v7, Camille 23 Oct 2026; script interiors/material-sheet.js). One
   screen on chalk: the finish sample fills the top 62% from the top edge, its label (9px caps) and name (38px serif) in chalk
   over it with a soft shade at its head and foot, CLOSE X in chalk on the page margin; below, the description (15px, 300px
   measure) and the specifications (9px caps against 14px values) centred in the remaining space. A short screen scrolls. */
.material-sheet { display:none; }
@media (max-width:720px) {
 .material-sheet[open] { display:block; position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0;
   background:var(--chalk); color:var(--bark); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none; }
 .material-sheet::backdrop { background:var(--chalk); }
 .material-sheet:focus, .material-sheet:focus-visible { outline:0; }
 .material-sheet__card { display:flex; flex-direction:column; min-height:100%; }
 .material-sheet__hero { position:relative; flex:0 0 62%; min-height:62dvh; color:var(--white); overflow:hidden; }
 .material-sheet__hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
 .material-sheet__hero::before { content:""; position:absolute; z-index:1; inset:0; background:linear-gradient(rgba(20,19,14,.32), transparent 22%, transparent 55%, rgba(20,19,14,.5)); }
 .material-sheet__title { position:absolute; z-index:2; left:0; right:0; bottom:24px; padding:0 var(--page,20px); }
 .material-sheet__label { margin:0 0 12px; font:700 9px/1.4 var(--sans); letter-spacing:.14em; text-transform:uppercase; }
 .material-sheet__name { margin:0; font:350 38px/1.05 var(--serif); letter-spacing:-.02em; color:inherit; }
 .material-sheet__body { flex:1; display:flex; flex-direction:column; justify-content:center; padding:24px var(--page,20px) max(28px, env(safe-area-inset-bottom)); }
 .material-sheet__desc p { margin:0 0 28px; max-width:300px; font:400 15px/1.6 var(--sans); }
 /* The specifications as the palette viewer's table (Camille 23 Oct 2026: "adding hairline match this style"): rows of 12px DM
    Sable in sentence case, the name in a 76px column, 12px apart, 10px above and below, a 1px hairline under each row in bark
    at 28% (the palette's chalk 28% on olive, here on chalk). */
 .material-sheet__specs { margin:0; display:block; font:12px/18px var(--sans); }
 .material-sheet__specs > div { display:grid; grid-template-columns:76px minmax(0,1fr); gap:12px; padding:10px 0; border-bottom:1px solid rgba(51,47,36,.28); }
 .material-sheet__specs :is(dt,dd) { margin:0; font:inherit; letter-spacing:normal; text-transform:none; }
 /* The names in the table's label type (Camille: "match the label font to be all CAPS smaller font"): 700 9px caps at .14em,
    as the palette's SPECIFICATIONS and MATERIALS DISCLAIMER labels, centred on the 12px values. */
 .material-sheet__specs > div { align-items:center; }
 .material-sheet__specs dt { font:700 9px/1.4 var(--sans); letter-spacing:.14em; text-transform:uppercase; }
 .material-sheet__close.fbtn-x { position:fixed; z-index:3; top:max(20px, env(safe-area-inset-top)); right:var(--page,20px); }
}
