.keepsake-workshop {
  background:
    radial-gradient(ellipse at 79% 32%, #614637, transparent 52%),
    linear-gradient(137deg, #2e221c, #201815);
  color: #fff1db;
}
.keepsake-shell {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  grid-template-areas: "intro print" "studio print";
  align-items: start;
  column-gap: clamp(36px, 7.8vw, 128px);
  row-gap: 26px;
  padding-block: clamp(44px, 6vw, 88px);
}
.keepsake-intro { grid-area: intro; }
.keepsake-intro :is(.eyebrow, em) { color: #ecc99e; }
.keepsake-intro h1 { margin: 11px 0 13px; font-size: clamp(3.15rem, 6.2vw, 6.1rem); }
.keepsake-intro > p:last-child { color: #f0dcc3; max-width: 38ch; }

.keepsake-preview {
  position: sticky;
  top: 100px;
  grid-area: print;
  width: min(100%, 495px);
  margin: 0;
  justify-self: center;
  scroll-margin-top: 90px;
}
.keepsake-preview canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border: 1px solid #ceaa83;
  background: #edddc4;
  box-shadow: 0 26px 52px #150e0b80;
}
.keepsake-preview figcaption { margin-top: 11px; color: #e4caae; font-size: .88rem; text-align: center; }

.keepsake-form { grid-area: studio; min-width: 0; }
.keepsake-form .field { margin-bottom: 13px; color: #fff0db; }
.keepsake-form .field span { color: #e1c9ad; }
.keepsake-form .field :is(select,input) {
  min-width: 0;
  min-height: 44px;
  background: #2b201b;
  border-color: #a1846a;
  color: #fff1dd;
}
.keepsake-form input::placeholder { color: #ddc8b3; }
.keepsake-form :focus-visible { outline: 2px solid #ffdab2; outline-offset: 3px; }
.keepsake-file { margin-bottom: 14px; }
.keepsake-file p, .keepsake-download p { color: #e0c6ab; font-size: .875rem; }
.keepsake-finishes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  border: 0;
}
.keepsake-finishes legend { margin-bottom: 9px; font: 750 .9rem/1.4 var(--sans); color: #fff0db; }
.keepsake-finishes label {
  position: relative;
  display: grid;
  align-items: stretch;
  min-width: 90px;
  cursor: pointer;
}
.keepsake-finishes input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.keepsake-finishes label span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 4px 10px;
  background: #30241d;
  color: #f3dfc6;
  border: 1px solid #92755e;
  font-size: .85rem;
}
.keepsake-finishes input:checked + span { border-color: #ffd9ad; color: #fff3e0; box-shadow: inset 0 0 0 1px #d3ac82; }
.keepsake-finishes input:focus-visible + span { outline: 2px solid #fff2d8; outline-offset: 3px; }
.keepsake-finishes i { display: block; width: 12px; aspect-ratio: 1; border-radius: 50%; background: #efd6ac; }
.keepsake-finishes [value="espresso"] + span i { background: #5b3c2c; border: 1px solid #bd977d; }
.keepsake-finishes [value="rosewood"] + span i { background: #cc9894; }
.keepsake-download { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.keepsake-download .button-gold { background: #efcc9e; border-color: #efcc9e; color: #302117; }
.keepsake-download .button-gold:hover:not(:disabled) { background: #fff0d5; border-color: #fff0d5; }
.keepsake-download .text-link { display: none; color: #efcca2; }
.keepsake-download p { flex-basis: 100%; }
.keepsake-status:not(:empty) { margin-top: 10px; color: #ffdfbb; font-size: .875rem; }
.keepsake-download button:disabled { opacity: .58; cursor: default; }

@media (max-width: 760px) {
  .keepsake-shell {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "intro" "print" "studio";
    row-gap: 25px;
  }
  .keepsake-preview { position: static; width: min(73%, 330px); }
  .keepsake-download .text-link { display: inline-block; }
}
@media (max-width: 415px) {
  .keepsake-preview { width: 85%; }
  .keepsake-finishes { gap: 7px; }
  .keepsake-finishes label { min-width: 0; }
  .keepsake-finishes label span { padding-inline: 7px; }
}
