/* The type is printed on a sheet alongside the illustration. The same
   opening shows the workshop footage when the visitor selects the technique. */
.workbench[data-craft] {
  --edition-paper:#faf1df;
  --edition-ink:#262620;
  --edition-pigment:#a33e29;
  --edition-edge:#cfbda1;
  display:grid;
  grid-template-columns:minmax(0, .84fr) minmax(0, 1.16fr);
  min-height:clamp(535px, 42vw, 745px);
  align-items:stretch;
  background:var(--edition-paper);
  color:var(--edition-ink);
}
.workbench[data-craft="bags"] {
  --edition-paper:#f8e8e3; --edition-pigment:#7c344c; --edition-edge:#ceb0ad;
}
.workbench[data-craft="jewelry"] {
  --edition-paper:#eef1df; --edition-pigment:#246350; --edition-edge:#b5c5ab;
}
.workbench[data-craft] .cover-copy {
  grid-column:1;grid-row:1;
  width:100%;z-index:1;
  padding:clamp(2.3rem,4vw,5rem) clamp(1rem,2.5vw,3rem) clamp(2rem,3vw,3.5rem) clamp(1.65rem,4.7vw,6.8rem);
}
.workbench[data-craft] .cover-art {
  position:relative;inset:auto;grid-column:2;grid-row:1;z-index:0;
  background:var(--edition-paper);
}
.workbench .cover-art::before {
  content:"";position:absolute;z-index:2;pointer-events:none;inset:0 auto 0 -1px;width:clamp(10px,1.3vw,23px);
  background:var(--edition-paper);
  clip-path:polygon(0 0,69% 0,56% 4%,70% 7%,37% 10%,67% 13%,52% 17%,62% 21%,35% 23%,58% 29%,43% 32%,69% 39%,61% 44%,39% 48%,57% 53%,46% 57%,66% 61%,39% 65%,60% 72%,47% 78%,66% 81%,44% 89%,59% 93%,41% 100%,0 100%);
}
.workbench[data-craft] .movie-window {inset:0;width:100%;height:100%;cursor:auto}
.workbench[data-surface="film"] .movie-window {cursor:grab}
.workbench[data-surface="film"] .movie-window.scrubbing {cursor:grabbing}
.workbench[data-surface="art"] .movie-window .cover-image {object-position:54% 50%}
.workbench[data-surface="art"] .cover-film,.workbench .film-shade {display:none}
.workbench .cover-copy h1 {
  color:var(--edition-ink);text-shadow:none;
  font-size:clamp(3.6rem,6.6vw,7.5rem);line-height:.99;letter-spacing:-.068em;
  margin:clamp(1rem,2vw,2.3rem) 0 1.15rem;
}
.workbench .cover-copy h1 i {color:var(--edition-pigment)}
.workbench .cover-location {color:var(--edition-pigment);letter-spacing:.11em}
.workbench .cover-location::before {width:1.9rem;border-top-width:2px;transform:rotate(-3deg)}
.workbench .cover-description {color:#4b453c;max-width:36ch}
.workbench .cover-actions .btn {background:var(--edition-ink);color:#fff7e8}
.workbench .cover-actions .btn:hover {background:var(--edition-pigment)}
.workbench .process-link {color:var(--edition-ink);text-decoration-color:var(--edition-pigment)}
.workbench .cover-choices {
  width:max-content;max-width:100%;border-color:var(--edition-edge);
  gap:clamp(.55rem,1.35vw,1.9rem);margin-top:clamp(1.4rem,3.1vw,3.8rem);
}
.workbench .cover-choices button {color:#4b453c}
.workbench .cover-choices button[aria-pressed=true] {color:var(--edition-pigment)}
.workbench .craft-choice-rule {background:var(--edition-pigment)}
.workbench .cover-choices img {box-shadow:0 0 0 1px #6c614c40}
.workbench :focus-visible {outline:3px solid var(--edition-pigment);outline-offset:3px}
.workbench .surface-switch,.workbench .model-print {
  display:inline-flex;align-items:center;justify-content:center;gap:.65rem;
  position:absolute;z-index:3;min-height:44px;width:auto;max-width:calc(100% - 2rem);
  background:#fff9ec;color:#332d28;border:1px solid #69553f5c;border-radius:2px;
  box-shadow:1px 3px 0 #362a1d30;
}
.workbench .surface-switch {inset:clamp(.85rem,2.1vw,2rem) clamp(.85rem,2.1vw,2rem) auto auto;padding:.48rem .85rem;font:650 .9rem/1.1 var(--sans)}
.surface-switch i {width:0;height:0;border:solid transparent;border-width:5px 0 5px 8px;border-left-color:currentColor}
.surface-switch[aria-pressed=true] i {width:12px;height:10px;border:1.5px solid currentColor;transform:rotate(-7deg);box-shadow:1px 2px 0 #ad795b}
.workbench .model-print,.workbench .model-print:hover,.workbench .model-print:focus-visible {
  inset:auto clamp(.85rem,2.1vw,2rem) clamp(.85rem,2.1vw,2rem) auto;
  padding:.25rem .65rem .25rem .25rem;transform:none;
}
.workbench .model-print img {width:37px;height:37px;object-fit:cover;transform:rotate(-2deg)}
.workbench .model-print > span {padding:0;gap:.55rem;font:600 .88rem/1.2 var(--sans)}
.workbench .model-print em {font-style:normal}
.workbench .surface-switch:hover,.workbench .model-print:hover {background:#fffdf8}
.workbench .cover-material {display:none}
.workbench .film-controls {inset:auto auto clamp(.85rem,2.1vw,2rem) clamp(.85rem,2.1vw,2rem)}
.workbench .film-controls[hidden] {display:none}
@media (min-width:701px) and (max-width:1040px) {
  .workbench[data-craft] {grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr)}
  .workbench[data-craft] .cover-copy {padding-inline:clamp(1.2rem,3.4vw,2.2rem) 1rem}
  .workbench .cover-choices {gap:.5rem}
  .workbench .cover-choices button {flex-direction:column;align-items:center;text-align:center}
}
@media (max-width:700px) {
  .workbench[data-craft] {display:flex;flex-direction:column;min-height:0}
  .workbench[data-craft] .cover-art {order:0;flex:none;width:100%;height:auto;aspect-ratio:1.5;max-height:385px}
  .workbench[data-craft] .cover-copy {order:1;padding:1.15rem clamp(1.1rem,5vw,2rem) 1.1rem}
  .workbench .cover-art::before {
    inset:auto 0 -1px;width:100%;height:10px;
    clip-path:polygon(0 63%,5% 42%,12% 59%,18% 45%,23% 62%,31% 38%,37% 54%,48% 36%,59% 61%,67% 42%,77% 67%,89% 38%,96% 55%,100% 47%,100% 100%,0 100%);
  }
  .workbench .cover-copy h1 {font-size:clamp(3.3rem,12.5vw,5.4rem);margin:.65rem 0 .5rem;line-height:.97}
  .workbench .cover-choices {margin-top:1.3rem;width:min(100%,430px);gap:.4rem}
  .workbench .cover-actions {margin-top:.8rem}
  .workbench .surface-switch {font-size:.8rem;gap:.46rem;padding:.35rem .63rem}
  .workbench .model-print > span {font-size:.78rem}
  .workbench .model-print img {width:30px;height:30px}
}
@media (prefers-reduced-motion:no-preference) {
  .workbench[data-craft],.workbench .cover-art::before {transition:background-color .45s ease}
}
