/* A screen-sized commercial edition. The image and brief stay together. */
.commercial-studio { margin-top:48px; padding:24px; background:#e6dfd1; color:#332e27; scroll-margin-top:80px; height:clamp(590px,calc(100svh - 92px),820px); display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:18px; }
.commercial-studio-heading { display:grid; grid-template-columns:1.3fr 1fr auto; align-items:end; gap:24px; margin:0; }
.commercial-studio-heading > div > p { font-size:8px; line-height:1.6; letter-spacing:1.3px; color:#67553e; margin:0 0 9px; }
.commercial-studio-heading h3 { font-size:clamp(28px,3.4vw,43px); font-weight:400; line-height:1.05; letter-spacing:-1.8px; margin:0; }
.commercial-studio-heading > p { color:#67553e; font-size:11px; line-height:1.7; max-width:240px; margin:0; }
.commercial-pagination { display:flex; align-items:center; gap:9px; }
.commercial-pagination span { font-size:10px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.commercial-pagination button { width:34px; height:34px; border:1px solid #9d8e77; border-radius:50%; color:#332e27; font-size:17px; }
.commercial-pagination button:hover { background:#d2c6b2; }
.commercial-studio-body { min-height:0; display:grid; grid-template-rows:44px minmax(0,1fr); gap:14px; }
.commercial-type-selectors { display:flex; overflow-x:auto; gap:0; border:1px solid #a99a82; scrollbar-width:thin; margin:0; scroll-snap-type:x proximity; }
.commercial-type-selectors button { display:flex; justify-content:center; align-items:center; gap:12px; padding:10px 16px; flex:1 0 auto; color:#514435; font-size:11px; border-right:1px solid #a99a82; scroll-snap-align:center; }
.commercial-type-selectors button:last-child { border-right:0; }
.commercial-type-selectors button > span { font-size:8px; }
.commercial-type-selectors button:hover { background:#d8ceb9; }
.commercial-type-selectors [aria-pressed="true"] { background:#303e32; color:#fff7e8; }
.commercial-style-grid { min-height:0; }
.commercial-style-card { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); height:100%; min-width:0; background:#f6f1e6; border:1px solid #bdaf98; }
.commercial-style-card[hidden] { display:none; }
.commercial-style-card > figure { position:relative; margin:0; min-width:0; min-height:0; overflow:hidden; background:#526049; touch-action:pan-y; }
.commercial-style-card > figure > img { display:block; width:100%; height:100%; object-fit:cover; }
.commercial-style-card > figure > figcaption { display:flex; position:absolute; bottom:0; left:0; right:0; justify-content:space-between; gap:15px; padding:40px 16px 14px; background:linear-gradient(transparent,#12190fe8); color:#fff8eb; font-size:8px; line-height:1.7; }
.commercial-style-card > figure > figcaption > span:last-child { text-align:right; font-size:6px; }
.commercial-style-copy { display:grid; grid-template-rows:minmax(0,1fr) auto; padding:0; overflow:hidden; min-height:0; }
.commercial-brief { padding:22px; overflow-y:auto; min-height:0; scrollbar-width:thin; }
.commercial-style-copy > .commercial-plan-link { margin:0; }
.commercial-style-copy .style-collection-meta { flex-shrink:0; font-size:7px; letter-spacing:1px; margin:0 0 18px; }
.commercial-style-copy .style-collection-eyebrow { margin:0 0 7px; font-size:9px; }
.commercial-style-copy h4 { font-size:clamp(28px,2.8vw,39px); font-weight:400; letter-spacing:-1.4px; line-height:1.06; margin:0 0 12px; }
.commercial-style-copy .style-collection-description { font-size:11px; line-height:1.7; margin:0 0 14px; }
.commercial-style-copy .style-material-notes { margin:0 0 14px; }
.commercial-style-copy .style-material-notes > p { font-size:10px; }
.commercial-style-copy .style-gallery-thumbnails { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:0; }
.commercial-style-copy .style-gallery-thumbnails img { width:100%; height:60px; object-fit:cover; }
.commercial-style-copy .style-gallery-thumbnails span { font-size:7px; line-height:1.5; }
.commercial-style-copy .style-gallery-thumbnails button:last-child img { object-fit:contain; background:#eee9dd; }
.commercial-layout-meta { border-top:1px solid #c8bda9; padding-top:10px; margin:12px 0; color:#61533f; font-size:9px; line-height:1.7; }
.commercial-plan-link { display:flex; flex-shrink:0; justify-content:space-between; align-items:center; gap:15px; padding:10px 13px; background:#354a35; color:#fff7e6; font-size:10px; line-height:1.6; min-height:44px; margin-top:auto; }
.commercial-plan-link > span { font-size:20px; }
.commercial-plan-link:hover { background:#243e28; }
.commercial-studio-note { color:#67553e; font-size:8px; line-height:1.6; margin:0; }
.commercial-studio button:focus-visible,.commercial-studio a:focus-visible { outline:3px solid #a86a32; outline-offset:3px; }
@media(max-width:850px) {
 .commercial-studio { padding:20px; gap:14px; height:calc(100svh - 148px); }
 .commercial-studio-heading { grid-template-columns:1fr auto; gap:14px; }
 .commercial-studio-heading > p { grid-column:1; font-size:10px; max-width:none; }
 .commercial-pagination { grid-column:2; grid-row:1/3; }
 .commercial-style-card { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); }
 .commercial-brief { padding:16px; }
 .commercial-style-copy .style-gallery-thumbnails img { height:48px; }
}
@media(max-width:600px) {
 .commercial-studio { margin:32px -20px 0; padding:18px 16px; height:calc(100svh - 148px); min-height:580px; max-height:850px; gap:12px; }
 .commercial-studio-heading { gap:8px 12px; }
 .commercial-studio-heading h3 { font-size:28px; letter-spacing:-1px; }
 .commercial-studio-heading > div > p { font-size:6px; margin-bottom:7px; letter-spacing:.8px; }
 .commercial-studio-heading > p { font-size:9px; }
 .commercial-pagination { gap:5px; flex-wrap:wrap; max-width:72px; justify-content:center; }
 .commercial-pagination span { width:100%; text-align:center; font-size:8px; }
 .commercial-pagination button { width:30px; height:30px; }
 .commercial-studio-body { grid-template-rows:40px minmax(0,1fr); gap:10px; }
 .commercial-type-selectors button { gap:5px; padding:8px 10px; font-size:10px; }
 .commercial-style-card { grid-template-columns:1fr; grid-template-rows:minmax(135px,.85fr) minmax(210px,1.15fr); }
 .commercial-brief { padding:13px; }
 .commercial-style-copy .style-collection-meta { margin-bottom:10px; }
 .commercial-style-copy h4 { font-size:27px; margin-bottom:8px; }
 .commercial-style-copy .style-collection-description { font-size:10px; margin-bottom:10px; }
 .commercial-style-copy .style-material-notes { margin-bottom:10px; }
 .commercial-style-copy .style-gallery-thumbnails img { height:48px; }
 .commercial-style-copy > .commercial-plan-link { min-height:44px; }
 .commercial-studio-note { font-size:7px; }
}
@media(prefers-reduced-motion:no-preference) { .commercial-style-card > figure > img { animation:edition-reveal .3s ease-out; } @keyframes edition-reveal { from { opacity:.5; } to { opacity:1; } } }

.commercial-brief:focus-visible { outline:2px solid #a86a32; outline-offset:-3px; }
