/* Compact homepage presentation; materials and rendering are shared with saved drafts. */
.hero-art.home-sample {
  padding: 24px 24px 18px;
  background-color: #ecebdc;
  min-width: 0;
}

.home-sample .viewer-stage {
  height: clamp(280px, 30vw, 400px);
  margin: 12px 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.home-sample .preview-fallback .cabinet-illustration {
  width: 100%;
  height: 100%;
}

.home-sample .viewer-stage canvas { cursor: grab; }
.home-sample .viewer-stage canvas:active { cursor: grabbing; }
.home-sample .viewer-stage canvas:focus-visible { outline-offset: -4px; }

.home-sample .sample-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.home-sample .viewer-zoom { flex-wrap: wrap; gap: 6px; }
.home-sample .viewer-zoom button { padding: 8px 10px; background: #fffefa; }
.home-sample .viewer-zoom [data-turn] { font-size: 1.25rem; }
.home-sample .viewer-hint { margin: 10px 0 14px; text-align: left; }
.home-sample .art-bottomline { margin-top: 0; }
.home-sample .illustration-note { margin-top: 12px; line-height: 1.6; }
.home-sample[data-error] .sample-controls,
.home-sample[data-error] > .viewer-hint { display: none; }

.home-sample:fullscreen,
.home-sample.is-expanded { background: #f8f6ee; }
.home-sample:fullscreen .viewer-stage,
.home-sample.is-expanded .viewer-stage { flex: 1 0 200px; height: auto; }

@media (max-width: 850px) and (min-width: 601px) {
  .hero-art.home-sample { padding: 18px 14px; }
  .home-sample .viewer-stage { height: 260px; }
}

@media (max-width: 600px) {
  .hero-art.home-sample { padding: 22px 16px 16px; }
  .home-sample .viewer-stage { height: clamp(240px, 78vw, 340px); }
  .home-sample .art-topline { gap: 8px; }
  .home-sample .art-topline .small-caps { letter-spacing: .07em; }
  .home-sample .viewer-hint { font-size: .72rem; }
}
