.print-room {
  --studio-ink: #242038;
  --studio-sheet: #f2e5ca;
  --studio-paper: #ded0b7;
  --studio-mark: #a9988b;
  background: var(--studio-paper);
  color: var(--studio-ink);
  scroll-margin-block-start: 80px;
}
.print-room__inner {
  margin-inline: auto;
  max-width: 1650px;
  display: grid;
  gap: clamp(22px, 3vw, 52px);
  padding: clamp(42px, 6vw, 96px) var(--gutter, 5vw);
}
.print-room__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.print-room__heading .chapter-title {
  margin: 0;
  color: inherit;
}
.print-room__heading p {
  margin: 0;
  max-width: 27ch;
  font-size: clamp(16px, 1.5vw, 23px);
  line-height: 1.3;
}
.print-room__sheet {
  isolation: isolate;
  position: relative;
  background: var(--studio-sheet);
  padding: clamp(12px, 2.2vw, 38px);
}
.print-room__sheet::before, .print-room__sheet::after {
  position: absolute;
  top: clamp(9px, 1.1vw, 20px);
  content: "";
  width: 14px;
  height: 14px;
  background: linear-gradient(var(--studio-mark), var(--studio-mark)) center / 100% 1px no-repeat,
    linear-gradient(var(--studio-mark), var(--studio-mark)) center / 1px 100% no-repeat;
}
.print-room__sheet::before { left: clamp(9px, 1.1vw, 20px); }
.print-room__sheet::after { right: clamp(9px, 1.1vw, 20px); }
.print-room__field {
  position: relative;
  width: 100%;
  aspect-ratio: 2.28;
  max-height: 600px;
  isolation: isolate;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  cursor: ew-resize;
}
.print-room__field:active { cursor: grabbing; }
.print-room__field::before {
  content: "";
  position: absolute;
  inset: 24% 7% 3%;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 67%, #6d513738 0%, #8f776725 22%, transparent 61%);
}
.print-room__field canvas, .print-room__proofs {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.print-room__field canvas { visibility: hidden; }
.print-room__field[data-rendered] canvas { visibility: visible; }
.print-room__field[data-rendered] .print-room__proofs { visibility: hidden; }
.print-room__proofs img {
  position: absolute;
  width: 38%;
  height: auto;
  left: 50%;
  top: 48%;
  border-radius: 4.1% / 6.3%;
  transform: translate(-50%, -50%) translate(var(--proof-x, 0%), var(--proof-y, 0%)) rotate(var(--proof-turn, 0deg));
}
.print-room__proofs img:first-child { --proof-x: -38%; --proof-y: -6%; --proof-turn: -15deg; }
.print-room__proofs img:last-child { --proof-x: 38%; --proof-y: 7%; --proof-turn: 12deg; }
.print-room__controls {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.print-room__swatches { display: flex; }
.print-room__swatches i { width: clamp(12px, 1.45vw, 23px); aspect-ratio: 1; background: #289d9d; }
.print-room__swatches i:nth-child(2) { background: #b3286a; }
.print-room__swatches i:nth-child(3) { background: #ecae3e; }
.print-room__swatches i:nth-child(4) { background: var(--studio-ink); }
.print-room__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 46px;
  padding: 0 17px;
  border: none;
  border-radius: 3px;
  background: var(--studio-ink);
  color: #fbedd4;
  font: 600 15px/1.2 Onest, sans-serif;
  cursor: pointer;
}
.print-room__toggle:hover { background: #141020; }
.print-room__toggle:active { transform: translateY(1px); }
.print-room__toggle:focus-visible { outline: 3px solid #126f74; outline-offset: 3px; }
@media (max-width: 759px) {
  .print-room { scroll-margin-block-start: 58px; }
  .print-room__heading { display: grid; gap: 12px; }
  .print-room__sheet { margin-inline: calc(-1 * var(--gutter, 5vw)); padding: 15px var(--gutter, 5vw); }
  .print-room__field { aspect-ratio: 1.21; }
  .print-room__proofs img { width: 47%; }
}

.print-room {
  --studio-paper: #ffb795;
  --studio-sheet: #fff0d4;
}
.print-room__heading .chapter-title {
  display:flex; flex-wrap:wrap; align-items:baseline; gap:0 .15em;
  font:400 clamp(51px,6.6vw,104px)/1.05 Anton,sans-serif;
  text-transform:uppercase;
  letter-spacing:-.023em;
}
.print-room__heading em {
  color:#863056;
  font:400 1.1em/.9 Yellowtail,cursive;
  text-transform:none;
  transform:rotate(-7deg);
  transform-origin:0 70%;
}
