/* The drawing desk shares its surface with the opening spread. */
#profil #hero-model {
  max-width: 44rem;
  --material-mat: color-mix(in srgb, var(--studio-face) 70%, transparent);
  --material-sheen: rgb(168 190 182 / .21);
  --material-horizon: 55%;
}
html[data-theme="dark"] #profil #hero-model,body.dark #profil #hero-model {
  --material-sheen: rgb(153 170 158 / .14);
}
@media(min-width:1025px) {
  #profil .portfolio-intro {
    grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);
    column-gap:clamp(1.8rem,3.4vw,4rem);
  }
}
#hero-model .material-strip {
  display:grid;
  width:fit-content;
  min-width:min(24rem,100%);
  max-width:100%;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:3px;
  box-sizing:border-box;
  align-self:center;
  padding:3px;
  margin:0 0 .4rem;
  border:1px solid var(--studio-rule);
  border-radius:1rem;
  background:var(--material-mat);
}
#hero-model .material-strip button,#hero-model .slice-directions button,
#hero-model #hero-cut-flip {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-width:0;
  min-height:44px;
  gap:.45rem;
  box-sizing:border-box;
  padding:.35rem .65rem;
  margin:0;
  color:var(--studio-ink);
  border:1px solid transparent;
  border-radius:.76rem;
  background:transparent;
  font-family:inherit;
  font-size:.94rem;
  font-weight:550;
  line-height:1.25;
  cursor:pointer;
}
#hero-model .material-strip svg {
  display:block;width:1.14rem;height:1.14rem;flex:none;
}
#hero-model .material-strip [aria-pressed=true] {
  background:var(--studio-key);
  color:var(--studio-key-ink);
  box-shadow:0 3px 8px -5px var(--studio-metal);
}
#hero-model .orbit-stage {
  background:radial-gradient(ellipse 67% 42% at var(--stage-light-x,59%) var(--material-horizon), var(--material-sheen), transparent);
}
#hero-model .orbit-heading #hero-ramp-guide {
  box-sizing:border-box;
  padding-inline:.65rem;
  gap:.38rem;
}
html[dir=rtl] #hero-model .orbit-heading {direction:rtl;text-align:start;}
#hero-model .material-caption {
  color:var(--studio-muted);
  font-size:.9rem;
  line-height:1.45;
}
#hero-model .material-caption:has(span:not([hidden])) {
  border-inline-start:2px solid var(--studio-warm);
  margin:.6rem .65rem;
  padding:.16rem .65rem;
}
#hero-model .material-caption a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 .18rem;
  border:0;
  color:var(--studio-key);
  font:inherit;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:.19em;
}
#hero-model .material-caption [data-garden-view]{
  min-height:44px;margin:.14rem .35rem;padding:.32rem .64rem;border:1px solid var(--studio-rule);
  border-radius:.6rem;background:var(--studio-face);color:var(--studio-ink);font:inherit;font-weight:600;cursor:pointer;
}
#hero-model .material-caption [data-garden-view][aria-pressed=true]{background:var(--studio-key);color:var(--studio-key-ink)}
#hero-model[data-garden] .orbit-marker,#hero-model[data-garden] .h-leader{visibility:hidden}
#hero-model:not([data-material=concrete]) .orbit-inspect-hint,
#hero-model:not([data-h-mode=model]) .material-caption,
#hero-model:is([data-h-mode=coordination],[data-h-mode=modelproof]) .material-strip {
  display:none;
}
#hero-model:not([data-material=concrete]) .h-leader path:first-child {visibility:hidden}
#hero-model:has(#hero-reveal[data-state=cut]) .h-leader {visibility:hidden}
#hero-model #hero-reveal[data-state=cut] {
  left:auto!important;right:.46rem;top:auto!important;bottom:.28rem;
  translate:none;width:auto;height:auto;min-height:44px;max-width:calc(100% - 1rem);padding:0;
}
#hero-model #hero-reveal[data-state=cut] i {display:none}
#hero-model #hero-reveal[data-state=cut] .orbit-tag {
  position:static;box-sizing:border-box;display:flex;align-items:center;flex-wrap:wrap;
  justify-content:center;gap:.15rem .5rem;min-height:44px;padding:.28rem .6rem;
  opacity:1;white-space:normal;text-align:start;
  color:var(--studio-key);background:var(--studio-face);border:1px solid var(--studio-rule);
}
#hero-model #hero-reveal[data-state=cut] .orbit-tag small {color:var(--studio-muted);font:inherit;font-size:.75rem}
#hero-model #hero-reveal[data-state=cut] .orbit-tag strong {color:var(--studio-key);font:inherit;font-size:.8rem;font-weight:650}
#hero-model .orbit-bar {padding:.3rem .35rem;gap:.5rem;}
#hero-model .orbit-slice {
  position:static;
  inset:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:.25rem .5rem;
  width:100%;
  box-sizing:border-box;
  margin:.15rem 0 .4rem;
  padding:.45rem .5rem .2rem;
  color:var(--studio-ink);
  background:var(--material-mat);
  border-radius:.8rem;
  z-index:auto;
}
#hero-model .slice-directions {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-radius:.57rem;
  background:var(--studio-face);
}
#hero-model .slice-directions button,#hero-model #hero-cut-flip {
  padding:.28rem .55rem;
  border-radius:.51rem;
  font-size:.875rem;
}
#hero-model .slice-directions [aria-pressed=true],#hero-model #hero-cut-flip[aria-pressed=true] {
  color:var(--studio-key);
  border-color:var(--studio-edge);
  background:var(--studio-active);
  box-shadow:inset 0 -2px var(--studio-key);
}
#hero-model #hero-cut-flip {color:var(--studio-muted);border-color:var(--studio-rule);}
#hero-model .slice-position,#hero-model .hero-zoom-control {
  display:grid;
  grid-template-columns:auto minmax(2.4rem,1fr) auto;
  grid-column:1/-1;
  align-items:center;
  gap:.6rem;
  padding:0 .3rem;
  font-size:.875rem;
  line-height:1.35;
}
#hero-model :is(.slice-position,.hero-zoom-control) input {
  min-width:0;width:100%;height:44px;margin:0;accent-color:var(--studio-key);
}
#hero-model :is(.slice-position,.hero-zoom-control) output {font:500 .875rem/1.2 ui-monospace,monospace;}
#hero-model :is(.material-strip,.orbit-slice,.hero-zoom-control) :focus-visible {
  outline:2px solid var(--studio-key);
  outline-offset:1px;
}
@media(hover:hover) {
  #hero-model .material-strip button:hover:not([aria-pressed=true]),
  #hero-model .slice-directions button:hover,#hero-model #hero-cut-flip:hover {
    background:var(--studio-active);border-color:var(--studio-edge);
  }
}
@media(prefers-reduced-motion:no-preference) {
  #hero-model .material-strip button,#hero-model .slice-directions button {
    transition:color .16s,background .16s,border-color .16s;
  }
  #hero-model .material-strip button:active svg {transform:scale(.94);}
}
@media(max-width:720px) {
  #hero-model .material-strip {width:100%;min-width:0;margin-bottom:.12rem;}
  #hero-model .orbit-stage {width:calc(100% + .9rem);margin-inline:-.45rem;}
}
@media(max-width:430px) {
  #hero-model[data-interactive]:not([data-material=concrete]) .role-ifc-date {display:inline;}
  #hero-model:not([data-material=concrete]) .orbit-drag-hint {display:none;}
}
@media(max-width:389px) {
  #hero-model .material-strip {grid-template-columns:auto auto auto;}
  #hero-model .material-strip button {gap:.27rem;padding-inline:.18rem;font-size:.875rem;}
  #hero-model .material-strip svg {width:.98rem;height:.98rem;}
  #hero-model .slice-directions button,#hero-model #hero-cut-flip {padding-inline:.32rem;}
  #hero-model #hero-cut-flip {max-width:6.5rem;}
}
@media(forced-colors:active) {
  #hero-model .material-strip [aria-pressed=true],#hero-model .slice-directions [aria-pressed=true],
  #hero-model #hero-cut-flip[aria-pressed=true] {border:2px solid Highlight;}
}
