/* Diamond Studio visual system */
:root{
  --display-font:"Avenir Next",Bahnschrift,"Segoe UI",system-ui,sans-serif;
  --body-font:"Segoe UI","Helvetica Neue",system-ui,sans-serif;
  --bg:#111216;--panel:#191b21;--panel-2:#21242b;--line:#363741;--text:#f3f0e9;--muted:#bcc0ca;
  --gold:#e1bc7c;--blue:#cba86f;--studio-surface:#1a1b21;--studio-border:#363741;--studio-gold:#efcd93;
  font-family:var(--body-font);
}
body{background:radial-gradient(ellipse at 78% 0,#242129 0,transparent 50%),var(--bg)}
h1,h2,h3,.brand-name{font-family:var(--display-font);font-weight:650;letter-spacing:-.015em}
.topbar{background:#131418f4;border-bottom-color:#34343b;box-shadow:none}
.studio-brand-mark{display:block;width:40px;height:auto;flex:none}
.brand-name{letter-spacing:.085em}
.brand-name small{letter-spacing:.17em;color:#c6c1b9}
.rail{background:#15161a;border-right-color:#303137}
.rail a{border-radius:8px;color:#bfc0c8}
.rail a:hover{background:#212228;border-color:#3d3b41}
.rail a .studio-icon{color:#a7a8b1}
.rail a[aria-current=page]{background:#302820;border-color:#514030;box-shadow:inset 3px 0 #e1bc7c;color:#fff2dc}
.rail a[aria-current=page] .studio-icon{color:#edca8d}
.primary-action,.editor-feature-actions .primary-action,#export-top{
  color:#21180e;background:#e7bf7e;border:1px solid #eed09e;box-shadow:none;
}
button:hover,.button:hover{border-color:#a58a61}
:focus-visible{outline-color:#efd39e}
.dashboard,.showcase-page{max-width:1440px}
.page-heading h1,.showcase-heading h1{font-size:clamp(29px,3vw,41px);letter-spacing:-.035em}
#creation,#library,.studio-tools,.model-viewer,.model-settings,.project-shelf{
  background:#1a1c22;border-color:#363741;
}
.studio-tools-header{background:#202126;border-bottom-color:#3b3b44}
.studio-editor-nav a[aria-current=page],.model-filters button[aria-pressed=true],.model-scenes button[aria-pressed=true]{
  background:#312a23;border-color:#947549;color:#ffe6bc
}
.aria-head{background:#242229;border-bottom-color:#3c3740}
.dashboard-top .studio-hero{background:#1b1d24;border-color:#3c3b43}
.tool-suite .tool-card,.tool-suite .tool-card:hover{background:#1d1e25;border-color:#414049}
.tool-suite .tool-card:hover{border-color:#b39365}

.featured-models{gap:0}
.showcase-hero{
  background:#16171a;display:grid;position:relative;isolation:isolate;overflow:hidden;
  align-items:stretch;grid-template-columns:minmax(0,1fr);padding:0;border:1px solid #524534;
  border-radius:14px;box-shadow:0 22px 58px #0707087a;
}
.showcase-stage{
  grid-area:unset;position:absolute;inset:0 0 0 46%;border:0;border-radius:0;min-height:0;
  background:#181818 url("/models/motion-gallery.jpg?v=26") center/cover no-repeat;
}
.showcase-stage::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,#16171a 0%,#16171a80 22%,transparent 42%);
}
.showcase-copy{
  grid-area:1/1;position:relative;z-index:1;width:min(57%,620px);justify-self:start;
  min-height:340px;padding:clamp(20px,4vw,56px);display:grid;align-content:center;
}
.showcase-copy h2{
  font-size:clamp(35px,4.55vw,74px);line-height:.99;letter-spacing:-.045em;
  font-weight:650;max-width:13ch;
}
.showcase-copy h2 em{font-style:normal;color:#e9c38b}
.showcase-copy p{color:#c9c7c3;font-size:14px;max-width:34ch;margin:14px 0 22px}
.showcase-copy .button:not(.primary-action){background:#222125;border-color:#59504a}
.showcase-toggle{z-index:2;background:#1b1818e8;border-color:#746555;right:12px;bottom:12px}
.showcase-library-heading{margin:23px 0 9px}
.showcase-library-heading h2{font-size:clamp(18px,2vw,24px);letter-spacing:-.02em}
.showcase-library-heading a{font-size:13px;color:#efcd93;border:0}
.model-grid{gap:14px}
.model-card{
  background:#1a1b20;border:1px solid #3c3a41;border-radius:10px;
  box-shadow:0 8px 18px #07070970;
}
.model-card:hover{border-color:#8d7554}
.model-cover{aspect-ratio:8/5;background:#161518}
.model-cover img,.model-cover img[src*="tipografia"]{object-fit:cover;object-position:center}
.model-cover-play{right:9px;bottom:8px;background:#151417e9;border-color:#d7cdb686}
.model-card-copy{padding:11px 12px 10px;gap:4px;background:#1a1b20}
.model-card h3{font-size:16px;line-height:1.16;font-weight:650}
.model-card p{font-size:12px}
.model-card .model-use{
  justify-self:stretch;justify-content:space-between;margin-top:1px;
  border:0;border-top:1px solid #3b3839;border-radius:0;padding:6px 1px;background:transparent;
}
.model-card .model-use:hover{background:transparent;color:#ffe1b0;text-decoration:underline;border-color:#7a6549}
@media(min-width:981px){
  .app-shell{grid-template-columns:208px minmax(0,1fr)}
  .rail{padding-inline:15px}
}
@media(max-width:680px){
  .rail{background:#15161af7}
  .studio-brand-mark{width:32px}
  .rail a[aria-current=page]{box-shadow:inset 0 2px #e1bc7c}
  .showcase-copy{width:55%;padding:14px 0 12px 12px;min-height:196px}
  .showcase-copy h2{font-size:clamp(25px,7vw,40px);margin-bottom:10px;max-width:11ch}
  .showcase-stage{inset:0 0 0 36%}
  .showcase-stage::after{background:linear-gradient(90deg,#16171a,transparent 58%)}
  .showcase-copy .actions{display:grid;gap:5px;grid-template-columns:1fr;max-width:146px}
  .showcase-copy .actions>*{min-height:44px}
  .showcase-toggle{right:5px;bottom:5px;top:auto}
  .showcase-library-heading{margin:12px 0 4px}
  .model-grid{gap:8px}
  .model-card-copy{grid-template-rows:auto minmax(23px,1fr) auto}
  .model-card h3{font-size:13.5px}
  .model-card p{font-size:10.8px}
  .model-card-copy{padding:8px 8px 3px;gap:2px}
}
@media(max-width:360px){
  .showcase-copy{min-height:177px;padding-top:10px;padding-bottom:8px}
  .showcase-copy h2{font-size:24px}
}
