/* Studio opening and gallery share the same grid on Projects and Models. */
.featured-models{gap:0;margin-bottom:22px}
.showcase-hero{
  display:grid;grid-template-columns:minmax(0, .87fr) minmax(0, 1.13fr);min-height:0;
  align-items:stretch;background:#111722;border:1px solid #354253;border-radius:16px;
  box-shadow:0 16px 44px #05070b79;padding:10px;
}
.showcase-copy{grid-area:1/1;align-self:center;padding:clamp(18px,3vw,36px);max-width:none;margin:0;width:100%}
.showcase-copy .showcase-label{
  display:block;width:fit-content;color:#f0d099;font-size:12px;letter-spacing:.04em;
  margin:0 0 11px;padding:0 0 8px;border-bottom:1px solid #856a41;
}
.showcase-copy h2{font-size:clamp(29px,3.4vw,52px);line-height:1.04;letter-spacing:-.042em;max-width:16ch;margin:0}
.showcase-copy p{font-size:14px;max-width:36ch;color:#c6d1e0;margin:10px 0 18px}
.showcase-copy .actions{display:flex;gap:8px;flex-wrap:wrap}
.showcase-copy .actions>*{min-height:44px}
.showcase-stage{
  grid-area:1/2;position:relative;inset:auto;height:auto;min-height:240px;
  aspect-ratio:auto;border:1px solid #2e3c4f;border-radius:10px;overflow:hidden;
  background:#0e1522 url("/models/motion-gallery.jpg?v=25") center/cover no-repeat;
}
.showcase-stage::after{content:none}
.showcase-stage canvas{position:absolute;inset:0;object-fit:fill}
.showcase-toggle{right:8px;bottom:8px;background:#0a101bbf;border-color:#6b7789}
.showcase-library-heading{margin:18px 0 7px;padding-inline:1px}
.showcase-library-heading h2{font-size:20px;letter-spacing:-.025em}
.showcase-library-heading a{border-bottom:1px solid #574932}
.model-grid{align-items:stretch;gap:12px}
.model-card{display:flex;flex-direction:column;border-radius:13px;background:#111824}
.model-cover{aspect-ratio:8/5;background:#0a101b}
.model-cover img,.model-cover img[src*="tipografia"]{object-fit:contain;object-position:center}
.model-cover video{object-fit:contain;object-position:center;background:#080d16}
.model-cover:hover img{transform:none}
.model-card-copy{
  display:grid;flex:1;grid-template-rows:auto minmax(24px,1fr) auto;
  align-items:start;gap:2px;padding:12px;background:#111824;min-height:0;
}
.model-card h3{font-size:15px;line-height:1.24}
.model-card p{font-size:12px;line-height:1.3}
.model-card .model-use{
  min-height:40px;justify-self:stretch;justify-content:space-between;
  margin-top:5px;padding:6px 9px;border:1px solid #56482e;border-radius:7px;background:#211d19;
}
.model-card .model-use::after{content:"";display:block;width:6px;height:6px;border-right:1px solid currentColor;border-top:1px solid currentColor;transform:rotate(45deg);margin-right:2px}
.model-card .model-use:hover{background:#2b241b;text-decoration:none;border-color:#ac8853}
.model-card .model-use:focus-visible{outline-offset:1px}
.model-cover-play{width:34px;height:34px;border-color:#c3d0e78c;background:#0c1423e8}
@media(min-width:1081px){
  .model-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:680px){
  .showcase-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:6px}
  .showcase-stage{min-height:184px}
  .showcase-copy{padding:8px 7px 6px 6px}
  .showcase-copy .showcase-label{font-size:10px;margin-bottom:7px;padding-bottom:5px}
  .showcase-copy h2{font-size:clamp(21px,5.5vw,30px);max-width:12ch;margin-bottom:10px}
  .showcase-copy .actions{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
  .showcase-copy .actions>*{min-height:44px;font-size:12.5px}
  .showcase-toggle{right:3px;bottom:3px;top:auto;width:44px;min-height:44px}
  .showcase-library-heading{margin:11px 0 4px}
  .showcase-library-heading h2{font-size:18px}
  .model-grid{gap:8px}
  .model-card-copy{padding:7px;grid-template-rows:auto minmax(28px,1fr) auto}
  .model-card h3{font-size:13px}
  .model-card p{font-size:10.5px}
  .model-card .model-use{font-size:12.5px;min-height:44px;margin-top:1px}
  .model-cover-play{width:30px;height:30px}
}

@media(max-width:360px){
  .showcase-stage{min-height:164px}
  .showcase-copy .showcase-label{margin-bottom:5px;padding-bottom:4px}
  .showcase-copy h2{font-size:20px;margin-bottom:7px}
  .showcase-copy .actions>*{font-size:12px}
  .showcase-library-heading{margin-top:7px}
}
