/* ==========================================================================
   COATELIER v4 (2026-11-27) — grid-only showroom
   One GridFullPreview grid fills the viewport. No hero, no sections.
   ========================================================================== */

.ct {
  --bg:#F4F0E8; --ink:#26221C; --dim:#6E675C;
  --oak:#A98B64; --brass:#B08D4F; --line:rgba(38,34,28,.14);
  background:var(--bg);
  color:var(--ink);
}

/* the page is the grid ---------------------------------------------------- */
.ct--grid { min-height:calc(100vh - 6rem); }
/* the floating back pill would cover the caption band — the header keeps WORK */
body:has(.detail--co-atelier) .ux-back { display:none; }
.ct-showroom--solo { padding:0 clamp(12px,2vw,28px) clamp(12px,2vw,28px); }
.ct-showroom__stage {
  position:relative;
  height:calc(100vh - 6rem - clamp(12px,2vw,28px) - var(--ct-band, 104px));
  min-height:520px;
}

/* EXP-03 (GridFullPreview) reskin ----------------------------------------- */
.ct-showroom .fx3-products { --page-padding:0; padding:0; display:block; height:100%; }
.ct-showroom .fx3-stage { height:100%; width:100%; }
.ct-showroom .fx3-products__grid,
.ct-showroom .fx3-products__preview {
  padding:0; height:100%;
  row-gap:clamp(8px,.9vw,14px); column-gap:clamp(8px,.9vw,14px);
}
.ct-showroom .fx3-products__preview { inset:0; width:100%; height:100%; }
.ct-showroom .fx3-product { background:#E7E2D6; overflow:hidden; }
.ct-showroom .fx3-product img { filter:saturate(.97); }
.ct-showroom .fx3-product__cta { background:rgba(38,34,28,.88); color:#F4F0E8; font-size:10px; letter-spacing:.16em; }
.ct-showroom .fx3-preview__inside { background:#F4F0E8; }
.ct-showroom .fx3-preview__details {
  top:calc(100% + 12px); bottom:auto; left:0; width:100%;
  display:flex; justify-content:space-between; align-items:flex-start; gap:2rem;
  border-top:1px solid var(--line); padding-top:12px;
  color:var(--ink); font-family:'Courier New',monospace; font-size:11px; letter-spacing:.06em;
}
.ct-showroom .fx3-preview__lead { max-width:60%; }
.ct-showroom .fx3-preview__title { font-weight:700; text-transform:none; letter-spacing:.005em; font-size:15px; margin:0; }
.ct-showroom .fx3-preview__client { font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--oak); margin:5px 0 0; }
.ct-showroom .fx3-preview__copy { font-size:11.5px; line-height:1.55; letter-spacing:.005em; text-transform:none; color:#322D26; margin:7px 0 0; }
.ct-showroom .fx3-preview__aside { text-align:right; white-space:nowrap; }
.ct-showroom .fx3-preview__meta { color:var(--dim); font-size:10px; letter-spacing:.14em; text-transform:uppercase; margin:0; }
.ct-showroom .fx3-preview__kind { margin:10px 0 0; font-size:10px; letter-spacing:.12em; text-transform:uppercase; }
.ct-showroom .fx3-preview__kind span { border:1px solid var(--line); padding:3px 6px; color:var(--ink); }
.ct-showroom .fx3-preview__kind em { font-style:normal; color:var(--dim); margin-left:8px; }
.ct-showroom .fx3-disclaimer { color:var(--dim); }

/* the index cell — the only text on the page ------------------------------ */
.ct-showroom .fx3-tail {
  display:flex; flex-direction:column; justify-content:space-between; gap:10px;
  padding:clamp(12px,1.5vw,20px);
  background:#EFEAE0; border:1px solid var(--line); overflow:hidden;
}
.fx3-tail p { margin:0; }
.fx3-tail__k { font-family:'Courier New',monospace; font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--dim); }
.fx3-tail__copy { font-size:11px; line-height:1.55; color:#4A443A; max-width:54ch; }
.fx3-tail__h { font-family:'Courier New',monospace; font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--dim); }

/* fallback (no GridFullPreview) ------------------------------------------- */
.ct-showroom__fallback { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.ct-showroom__fallback figure { margin:0; }
.ct-showroom__fallback img { width:100%; display:block; }
.ct-showroom__fallback figcaption { font-family:'Courier New',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; padding-top:6px; color:var(--dim); }

/* touch / narrow — plain 2-column grid, no preview ------------------------ */
@media (max-width:899px) {
  .ct--grid { min-height:0; }
  .ct-showroom--solo { padding:0 12px 64px; }
  .ct-showroom__stage { height:auto; min-height:0; }
  .ct-showroom .fx3-products { height:auto; }
  .ct-showroom .fx3-products__grid {
    display:grid; grid-template-columns:1fr 1fr; grid-template-rows:none; height:auto;
  }
  .ct-showroom .fx3-products__preview { display:none; }
  .ct-showroom .fx3-disclaimer { display:none; }
  .ct-showroom .fx3-product { aspect-ratio:4/3; }
  .ct-showroom .fx3-product__cta { display:none; }
  .ct-showroom .fx3-tail { grid-column:span 2; min-height:132px; }
  .ct-showroom__fallback { grid-template-columns:1fr 1fr; }
}
