:root {
  --paper: #f8f5ed;
  --ink: #172e39;
  --muted: #5e6c69;
  --coral: #df624c;
  --green: #356653;
  --line: #deded1;
  --hand: "Caveat", cursive;
  --paint: "Permanent Marker", cursive;
  --body: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.5 var(--body);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.045' filter='url(%23n)'/%3E%3C/svg%3E");
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #296b8c;
  outline-offset: 5px;
}
button:hover:not(:disabled),
a:hover {
  color: var(--green);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
svg.icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.wrap {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 42px;
}
.header {
  height: 108px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid #d7d8cc80;
}
.brand {
  font: 39px/1 var(--paint);
  letter-spacing: -2px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.brand-dot {
  color: var(--coral);
}
.brand-person {
  font: 42px var(--hand);
  color: var(--coral);
  transform: rotate(-12deg);
  border: 2px solid var(--coral);
  border-radius: 55% 45% 49% 42%;
  height: 44px;
  width: 40px;
  line-height: 36px;
  display: inline-flex;
  justify-content: center;
}
.brand-note {
  font: 18px/0.95 var(--hand);
  transform: rotate(-7deg);
  color: var(--muted);
  margin-left: 5px;
}
.brand-note span {
  color: var(--coral);
}
.header nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: auto;
}
.header nav > a,
.header nav > button {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  padding: 15px 0;
}
.active:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--coral);
  transform: rotate(-4deg);
  border-radius: 60% 20%;
}
.text-button {
  padding: 0;
  background: none;
}
.bag-button {
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 12px 12px;
  font-weight: 500;
}
.bag-button .icon {
  width: 24px;
  height: 26px;
}
.intro {
  text-align: center;
  position: relative;
  padding-top: 38px;
  padding-bottom: 30px;
  overflow: hidden;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: var(--green);
}
.intro h1 {
  font: clamp(29px, 3.1vw, 48px)/1.35 var(--paint);
  margin: 9px 0 9px;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}
.intro h1 span {
  position: relative;
  white-space: nowrap;
}
.intro h1 span:after {
  content: "";
  position: absolute;
  left: 1%;
  right: 0;
  bottom: -6px;
  height: 6px;
  background: #eaa18c;
  opacity: 0.6;
  transform: rotate(-1deg);
  border-radius: 50% 35%;
}
.intro-quote {
  font: 25px/1.3 var(--hand);
  position: relative;
  z-index: 1;
  margin-top: 16px;
}
.tribute {
  font: 17px var(--hand);
  color: #596d6b;
  margin-top: 1px;
}
.tribute span {
  color: var(--coral);
  display: inline-block;
  margin-left: 8px;
  transform: rotate(-12deg);
}
.landscape {
  position: absolute;
  width: 260px;
  height: 165px;
  background: url("assets/happy-little-trees.png") center 50% / cover;
  opacity: 0.15;
  bottom: 0;
  mask-image: radial-gradient(ellipse, black 12%, transparent 69%);
  pointer-events: none;
}
.landscape-left {
  left: -60px;
  transform: rotate(-8deg);
}
.landscape-right {
  right: -50px;
  transform: rotate(8deg);
}
.mobile-break {
  display: none;
}
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1.7fr;
  gap: 16px;
  align-items: stretch;
}
.step {
  position: relative;
  min-height: 435px;
  padding: 21px 22px 24px;
  isolation: isolate;
}
.step:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.8;
  border-radius: 4% 1% 3% 2%;
  clip-path: polygon(
    1% 2%,
    8% 0,
    26% 1%,
    37% 0,
    55% 1%,
    80% 0,
    99% 2%,
    98% 15%,
    100% 30%,
    99% 47%,
    100% 61%,
    98% 80%,
    100% 97%,
    89% 99%,
    73% 98%,
    61% 100%,
    40% 99%,
    20% 100%,
    1% 98%,
    2% 70%,
    0 52%,
    1% 30%
  );
  background-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.45' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.15' filter='url(%23p)'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 22px 7px var(--paper);
}
.step-room:before {
  background-color: #dce7d3;
}
.step-art:before {
  background-color: #fae0c7;
}
.step-result:before {
  background-color: #d9e8ed;
}
.step-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.step-heading h2 {
  font: 30px/1.2 var(--paint);
  letter-spacing: -0.9px;
}
.step-number {
  font: 40px/1 var(--hand);
  font-weight: 700;
}
.step-copy {
  font-size: 12px;
  margin: 9px 0 21px;
  line-height: 1.5;
}
.upload {
  position: relative;
  background: #ffffffb8;
  border: 1.5px dashed #87948a;
  border-radius: 5px;
  min-height: 130px;
  max-width: 196px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 17px 7px;
  gap: 7px;
  text-align: center;
  cursor: pointer;
  z-index: 3;
  transition:
    background 0.2s,
    transform 0.2s;
  box-shadow: 0 0 0 5px #ffffff70;
}
.upload:hover,
.upload.dragging {
  background: #fff;
  transform: translateY(-2px);
}
.upload:focus-within {
  outline: 3px solid #296b8c;
  outline-offset: 6px;
}
.upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 3px;
}
.upload strong {
  font-size: 12px;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload > span {
  font-size: 10px;
  color: #58666a;
}
.file-help {
  font-size: 9px;
  color: #50655d;
  margin: 10px 0;
  position: relative;
  z-index: 3;
}
.upload-status {
  font-size: 10px;
  max-width: 180px;
  position: relative;
  z-index: 3;
  color: #9d3026;
  background: #ffffffa1;
  border-radius: 3px;
}
.upload-status:not(:empty) {
  padding: 4px;
  margin-bottom: 5px;
}
.remove-upload {
  background: #fff9;
  font-size: 10px;
  text-decoration: underline;
  position: relative;
  z-index: 3;
  border-radius: 3px;
  padding: 5px;
}
.room-example {
  width: 58%;
  position: relative;
  transform: rotate(-3deg);
  padding: 6px;
  background: #fffcf4;
  box-shadow: 0 3px 8px #32483119;
  margin: 20px 0 0;
}
.room-example img {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.tape {
  position: absolute;
  top: -7px;
  left: 25%;
  width: 52%;
  height: 17px;
  background: #dfd1a7a8;
  transform: rotate(-7deg);
}
.art-example {
  width: 34%;
  margin: 17px 0 0 7px;
  border: 7px solid #b59d77;
  outline: 3px solid #fff7e4;
  box-shadow: 2px 4px 7px #695b3a38;
  transform: rotate(-5deg);
}
.art-example img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.mascot {
  position: absolute;
  background-image: url("assets/mascots.png");
  background-repeat: no-repeat;
  background-size: 300% 100%;
  pointer-events: none;
  width: 140px;
  height: 180px;
  z-index: 2;
}
.mascot-green {
  background-position: 0% 0%;
  right: -4px;
  bottom: 33px;
  transform: rotate(4deg);
}
.mascot-painter {
  background-position: 50% 0%;
  right: -5px;
  bottom: 16px;
  width: 176px;
  height: 205px;
}
.mascot-blue {
  background-position: 100% 0%;
  width: 107px;
  height: 176px;
  right: -11px;
  bottom: 58px;
  transform: rotate(6deg);
}
.hand-note {
  font: 21px/1.05 var(--hand);
  font-weight: 600;
  display: block;
}
.hand-note b {
  color: var(--coral);
  font-size: 29px;
  font-weight: 400;
}
.room-note {
  position: relative;
  margin-top: 14px;
  bottom: auto;
  left: 0;
  transform: rotate(-6deg);
  font-size: 18px;
}
.art-note {
  position: absolute;
  right: 18px;
  top: 99px;
  font-size: 18px;
  transform: rotate(-9deg);
}
.art-note b {
  display: block;
  text-align: center;
}
.step-arrow {
  position: absolute;
  right: -26px;
  bottom: 124px;
  font: 58px var(--hand);
  color: var(--coral);
  z-index: 5;
  line-height: 1;
}
.preview-area {
  position: relative;
  margin: 7px 40px 0 0;
  border: 7px solid #fffaf0;
  box-shadow: 0 4px 9px #46585218;
  transform: rotate(-0.7deg);
  background: #e0ded2;
  overflow: hidden;
}
.preview-area canvas {
  width: 100%;
  height: auto;
  display: block;
  touch-action: pan-y;
}
.preview-area.editable canvas {
  cursor: grab;
  touch-action: none;
}
.preview-area.editable canvas:active {
  cursor: grabbing;
}
.preview-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #fffaf0e8;
  font: 15px var(--hand);
  padding: 3px 9px;
  border-radius: 2px;
  pointer-events: none;
}
.result-note {
  margin: 14px 55px 0 0;
  text-align: right;
  transform: rotate(-3deg);
  font-size: 18px;
}
.result-note b {
  margin-left: 8px;
}
.preview-controls {
  margin-top: 17px;
  padding: 10px 7px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: relative;
  z-index: 3;
  background: #edf4eee6;
  border-radius: 6px;
}
.preview-controls label {
  font-size: 10px;
}
.preview-controls input {
  width: 100%;
  accent-color: var(--green);
  display: block;
  min-height: 25px;
}
.preview-controls button {
  grid-column: 1/-1;
  justify-content: center;
  padding: 7px;
  font-size: 12px;
}
.preview-controls p {
  grid-column: 1/-1;
  text-align: center;
  font: 16px var(--hand);
}
.create-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 25px;
  padding: 28px 15px 0;
}
.action-note {
  transform: rotate(-6deg);
  font-size: 23px;
  text-align: center;
  color: var(--green);
}
.action-note span {
  font-size: 43px;
  display: inline-block;
  vertical-align: top;
  margin-left: 8px;
  color: var(--coral);
}
.create-action-center {
  text-align: center;
}
.paint-button {
  font: 24px/1.3 var(--paint);
  padding: 16px 27px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #c44f3b;
  color: white;
  border-radius: 45% 7% 35% 8% / 14% 40% 17% 37%;
  box-shadow: inset 0 0 5px 2px #f5b091;
  transition:
    transform 0.2s,
    background 0.2s;
  width: 100%;
}
.paint-button:hover:not(:disabled) {
  color: white;
  background: #b84735;
  transform: rotate(-0.5deg) translateY(-2px);
}
.paint-button .icon {
  width: 27px;
  height: 27px;
  stroke-width: 2;
}
.try-example {
  font-size: 11px;
  border-bottom: 1px solid #9faaa0;
  margin-top: 12px;
  color: #596b64;
}
.shop-link {
  font: 24px var(--hand);
  font-weight: 700;
  display: inline-flex;
  gap: 15px;
  align-items: center;
  justify-self: center;
  position: relative;
}
.shop-link:after {
  position: absolute;
  content: "";
  height: 2px;
  background: var(--ink);
  left: 0;
  right: 3px;
  bottom: -5px;
  transform: rotate(-2deg);
}
.privacy-note {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  margin: 15px 0 0;
}
.preview-status {
  text-align: center;
  font-size: 12px;
  color: var(--green);
  margin-top: 10px;
}
.preview-status:empty {
  display: none;
}
.shop {
  padding-top: 40px;
  padding-bottom: 28px;
}
.shop-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.shop h2 {
  font: 31px/1.3 var(--paint);
  margin-top: 8px;
  letter-spacing: -0.6px;
}
.shop-description {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.saved-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  font-size: 11px;
  white-space: nowrap;
}
.saved-button .icon {
  width: 17px;
  height: 17px;
}
.saved-button[aria-pressed="true"] {
  color: #b54a3e;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 23px;
}
.product-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 19px;
  background: #fffdf7;
  border: 1px solid #e9e6db;
  box-shadow: 0 3px 9px #22342504;
  border-radius: 7px;
  padding: 12px;
  position: relative;
  min-width: 0;
}
.product-art-button {
  border: 0;
  background: #e6e4d9;
  padding: 20px 16px;
  display: block;
  overflow: hidden;
  border-radius: 2px;
}
.product-art-button img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 6px solid #a8895f;
  outline: 3px solid #d6bd92;
  box-shadow: 4px 6px 8px #3f30284d;
  transition: transform 0.25s;
}
.product-art-button:hover img {
  transform: rotate(-3deg) scale(1.04);
}
.product-card:nth-child(2) .product-art-button {
  background: #dfdfdb;
}
.product-card:nth-child(3) .product-art-button {
  background: #ede0c7;
}
.product-info {
  padding: 8px 0 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.product-title {
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  background: none;
  padding: 0;
  line-height: 1.35;
}
.product-info p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.6;
}
.product-price {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}
.product-price span {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  display: block;
}
.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
}
.add-button {
  background: transparent;
  border: 1px solid #263d42;
  border-radius: 25px;
  white-space: nowrap;
  font-size: 10px;
  padding: 8px 15px;
}
.add-button:hover {
  background: #e2eadd;
}
.favorite {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 8px;
  margin-left: auto;
  border-radius: 50%;
}
.favorite .icon {
  height: 19px;
  width: 19px;
}
.favorite[aria-pressed="true"] {
  color: var(--coral);
}
.favorite[aria-pressed="true"] .icon {
  fill: #f6c4b5;
}
.closing {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding-top: 32px;
  padding-bottom: 35px;
  margin-top: 9px;
  border-top: 1px solid var(--line);
}
.closing p {
  font: 23px/1.15 var(--hand);
}
.closing p strong {
  font-weight: 600;
}
.closing-spark {
  font-size: 50px;
  line-height: 1;
  color: #bf9c52;
}
.small-button {
  padding: 10px 15px;
  border: 1px solid #819486;
  border-radius: 30px;
  background: transparent;
  font-size: 11px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.small-button .icon {
  width: 17px;
  height: 17px;
}
.footer {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  padding-bottom: 28px;
}
.footer .brand {
  font-size: 27px;
}
.footer > p {
  font: 17px var(--hand);
  color: var(--muted);
}
.footer > div {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 10px;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  background: white;
  padding: 12px;
  border: 2px solid var(--green);
}
.skip-link:focus {
  top: 10px;
}
.icon-button {
  background: transparent;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #dfe9dc;
}
.empty-message {
  text-align: center;
  padding: 45px 20px;
  font: 24px var(--hand);
}
dialog {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #d6d9c9;
  box-shadow: 0 15px 90px #11282644;
  border-radius: 12px;
  padding: 35px;
  max-width: calc(100% - 28px);
  max-height: 90dvh;
}
dialog::backdrop {
  background: #142e35a6;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font: 32px/1.2 var(--paint);
  margin: 10px 0 22px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-close {
  position: absolute;
  right: 10px;
  top: 10px;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.dialog-header h2 {
  margin-bottom: 20px;
}
.bag-dialog {
  margin: 0 0 0 auto;
  min-height: 100dvh;
  max-height: 100dvh;
  border-radius: 12px 0 0 12px;
  width: 465px;
  padding: 28px;
}
.bag-line {
  display: grid;
  grid-template-columns: 65px 1fr 36px;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.bag-line > img {
  height: 90px;
  width: 65px;
  object-fit: cover;
}
.bag-line h3 {
  font-size: 14px;
  font-weight: 600;
}
.bag-line p {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 10px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quantity button {
  width: 30px;
  height: 30px;
  border: 1px solid #aab7a5;
  background: transparent;
  border-radius: 50%;
  font-size: 18px;
}
.quantity span {
  font-size: 13px;
}
.subtotal {
  display: flex;
  justify-content: space-between;
  margin: 28px 0 7px;
  font-size: 18px;
}
#bag-summary > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
#bag-summary .paint-button {
  font-size: 19px;
  margin: 23px 0 12px;
}
.continue-shopping {
  margin-top: 25px;
  text-decoration: underline;
  font-size: 13px;
}
.info-dialog {
  width: 550px;
  padding: 42px;
}
.info-dialog > p {
  margin: 16px 0;
  line-height: 1.8;
  font-size: 14px;
}
.info-dialog ol {
  padding-left: 22px;
}
.info-dialog li {
  padding-left: 9px;
  margin: 22px 0;
}
.info-dialog li::marker {
  font: 25px var(--hand);
  color: var(--coral);
}
.info-dialog li p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.info-dialog .info-note {
  font-size: 12px;
  padding: 15px;
  background: #e5eada;
  border-radius: 5px;
}
.info-dialog .paint-button {
  font-size: 19px;
  margin-top: 22px;
}
.product-dialog {
  width: 750px;
  padding: 40px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.detail-layout > img {
  border: 10px solid #b09b76;
  box-shadow: 3px 5px 12px #172e3929;
}
.detail-layout p {
  font-size: 13px;
  margin: 15px 0;
  color: var(--muted);
}
.detail-layout .detail-price {
  font-size: 24px;
  color: var(--ink);
}
.detail-layout .paint-button {
  font-size: 18px;
  min-height: 48px;
  padding: 12px;
}
.detail-layout .small-button {
  margin-top: 15px;
  width: 100%;
  justify-content: center;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 13px 23px;
  background: #254e40;
  color: white;
  border-radius: 9px;
  box-shadow: 0 4px 16px #172e3926;
  z-index: 20;
  font-size: 13px;
  transition:
    transform 0.2s,
    opacity 0.2s;
  max-width: calc(100vw - 30px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  text-align: center;
  padding: 30px;
  background: #efd4b7;
}
@media (min-width: 1500px) {
  .intro {
    padding-top: 44px;
    padding-bottom: 38px;
  }
  .step {
    min-height: 460px;
  }
  .preview-area {
    margin-top: 15px;
  }
  .shop {
    padding-top: 50px;
  }
}
@media (max-width: 1150px) {
  .wrap {
    padding-inline: 25px;
  }
  .header {
    gap: 15px;
  }
  .brand {
    font-size: 32px;
  }
  .brand-note {
    font-size: 16px;
  }
  .header nav {
    gap: 23px;
  }
  .step {
    padding: 20px 17px;
    min-height: 410px;
  }
  .step-heading h2 {
    font-size: 25px;
  }
  .step-number {
    font-size: 35px;
  }
  .step-copy {
    font-size: 11px;
  }
  .upload {
    max-width: 166px;
    min-height: 120px;
  }
  .mascot-green {
    width: 110px;
    height: 158px;
    right: -11px;
  }
  .mascot-painter {
    width: 133px;
    height: 178px;
    right: -8px;
  }
  .art-note {
    right: 8px;
    top: 93px;
    font-size: 15px;
  }
  .mascot-blue {
    right: -15px;
    width: 85px;
    height: 148px;
  }
  .preview-area {
    margin-right: 22px;
  }
  .product-card {
    gap: 12px;
    padding: 10px;
    grid-template-columns: 40% 1fr;
  }
  .product-art-button {
    padding: 17px 11px;
  }
  .product-title {
    font-size: 13px;
  }
  .add-button {
    padding: 7px 10px;
  }
  .favorite {
    padding: 5px;
  }
  .product-actions {
    gap: 3px;
  }
  .paint-button {
    font-size: 20px;
  }
  .hand-note.action-note {
    font-size: 20px;
  }
  .shop h2 {
    font-size: 28px;
  }
  .footer {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .brand-note {
    display: none;
  }
  .header {
    height: 88px;
  }
  .header nav {
    gap: 22px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .step {
    min-height: 395px;
    padding: 24px;
  }
  .step-result {
    grid-column: 1/-1;
    min-height: 0;
    padding-bottom: 22px;
  }
  .step-result .step-copy {
    margin-bottom: 15px;
  }
  .step-result .preview-area {
    width: 73%;
    margin: 0 auto;
    max-width: 490px;
  }
  .step-result .mascot-blue {
    width: 145px;
    height: 210px;
    right: 4px;
    bottom: 35px;
  }
  .step-result .result-note {
    position: absolute;
    left: 22px;
    bottom: 50px;
    text-align: left;
    font-size: 20px;
  }
  .workshop:has(.preview-controls:not([hidden])) .step-result .result-note {
    display: none;
  }
  .workshop:has(.preview-controls:not([hidden])) .step-result .mascot-blue {
    bottom: 35px;
  }
  .mascot-green {
    width: 157px;
    height: 204px;
    right: 5px;
    bottom: 9px;
  }
  .mascot-painter {
    width: 170px;
    height: 210px;
    right: 15px;
    bottom: 0;
  }
  .art-note {
    right: 25px;
    top: 100px;
    font-size: 20px;
  }
  .step-heading h2 {
    font-size: 29px;
  }
  .upload {
    max-width: 62%;
  }
  .room-example {
    max-width: 155px;
    margin-top: 17px;
  }
  .room-note {
    bottom: 7px;
    font-size: 17px;
  }
  .art-example {
    width: 27%;
    max-width: 95px;
  }
  .step-art .step-arrow {
    display: none;
  }
  .step-room .step-arrow {
    bottom: 120px;
  }
  .create-actions {
    grid-template-columns: 1fr 1.4fr 1fr;
    padding-inline: 0;
    gap: 10px;
  }
  .action-note {
    font-size: 18px !important;
  }
  .action-note span {
    display: none;
  }
  .shop-link {
    font-size: 21px;
    gap: 6px;
  }
  .shop-heading {
    align-items: end;
  }
  .shop h2 {
    font-size: 25px;
    max-width: 400px;
  }
  .product-grid {
    gap: 14px;
  }
  .product-card {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 12px;
  }
  .product-art-button {
    padding: 24px 35px;
  }
  .product-info {
    padding: 6px 0 0;
  }
  .product-info p {
    font-size: 12px;
  }
  .product-title {
    font-size: 15px;
  }
  .product-price span {
    display: inline;
    margin-left: 5px;
  }
  .product-actions {
    padding-top: 12px;
  }
  .product-actions .add-button {
    font-size: 11px;
    padding: 9px 18px;
  }
  .favorite {
    padding: 10px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer > div {
    gap: 18px;
  }
  .closing {
    gap: 20px;
  }
  .closing p {
    font-size: 21px;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding-inline: 19px;
  }
  .header {
    height: 112px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    padding-top: 13px;
    padding-bottom: 7px;
  }
  .brand {
    font-size: 31px;
  }
  .brand-person {
    width: 30px;
    height: 34px;
    line-height: 26px;
    font-size: 33px;
  }
  .header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 38px;
    margin: 0;
  }
  .header nav > a,
  .header nav > button {
    font-size: 12px;
    padding: 11px 0;
  }
  .header .bag-button {
    font-size: 12px;
    padding: 10px;
  }
  .bag-button .icon {
    width: 21px;
  }
  .intro {
    padding-top: 29px;
    padding-bottom: 26px;
  }
  .intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
  }
  .intro h1 {
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: -0.6px;
    margin-top: 12px;
  }
  .mobile-break {
    display: block;
  }
  .intro h1 span:after {
    height: 4px;
  }
  .intro-quote {
    font-size: 21px;
    line-height: 1.15;
    max-width: 300px;
    margin: 18px auto 0;
  }
  .tribute {
    font-size: 15px;
    margin-top: 8px;
  }
  .landscape {
    width: 170px;
    height: 210px;
    opacity: 0.12;
  }
  .steps {
    gap: 13px;
  }
  .step {
    padding: 18px 17px 22px;
    min-height: 380px;
  }
  .step-heading {
    gap: 6px;
  }
  .step-heading h2 {
    font-size: 21px;
    letter-spacing: -0.6px;
  }
  .step-number {
    font-size: 31px;
  }
  .step-copy {
    font-size: 11px;
    min-height: 34px;
    margin: 9px 0 15px;
    max-width: 150px;
  }
  .upload {
    max-width: 100%;
    min-height: 118px;
    padding: 12px 5px;
    gap: 7px;
    box-shadow: 0 0 0 3px #ffffff70;
  }
  .upload strong {
    font-size: 10px;
  }
  .upload > span {
    font-size: 9px;
  }
  .file-help {
    font-size: 8px;
    line-height: 1.4;
    max-width: 120px;
  }
  .upload .icon {
    width: 25px;
    height: 25px;
  }
  .mascot-green {
    width: 104px;
    height: 126px;
    right: -2px;
    bottom: 6px;
  }
  .mascot-painter {
    width: 112px;
    height: 134px;
    right: -10px;
    bottom: 4px;
  }
  .room-example {
    width: 60%;
    margin: 15px 0 0 -3px;
    transform: rotate(-5deg);
  }
  .art-example {
    width: 42%;
    margin: 17px 0 0 -1px;
    border-width: 4px;
    outline-width: 2px;
  }
  .art-note,
  .room-note {
    display: none;
  }
  .step-arrow {
    right: -18px;
    bottom: 110px;
    font-size: 39px;
  }
  .step-result {
    padding-top: 20px;
    min-height: 0;
    padding-bottom: 20px;
  }
  .step-result .step-heading h2 {
    font-size: 28px;
  }
  .step-result .step-copy {
    min-height: 0;
    max-width: none;
  }
  .step-result .preview-area {
    width: 90%;
    margin: 0 23px 0 0;
    border-width: 5px;
    max-width: none;
  }
  .step-result .mascot-blue {
    width: 82px;
    height: 128px;
    right: -7px;
    bottom: 24px;
  }
  .step-result .result-note {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 17px 10px 0;
    text-align: center;
    font-size: 19px;
  }
  .workshop:has(.preview-controls:not([hidden])) .step-result .mascot-blue {
    display: none;
  }
  .preview-controls {
    gap: 10px;
  }
  .preview-controls label {
    font-size: 11px;
  }
  .create-actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 9px 0;
  }
  .action-note {
    display: none;
  }
  .create-action-center {
    width: 100%;
  }
  .paint-button {
    font-size: 22px;
    min-height: 60px;
  }
  .try-example {
    margin-top: 13px;
    font-size: 12px;
  }
  .shop-link {
    font-size: 22px;
  }
  .privacy-note {
    max-width: 265px;
    margin: 18px auto 0;
    font-size: 10px;
  }
  .shop {
    padding-top: 34px;
  }
  .shop-heading {
    display: block;
    position: relative;
  }
  .shop .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .shop h2 {
    font-size: 27px;
    line-height: 1.3;
    margin-top: 10px;
    max-width: 340px;
  }
  .shop-description {
    font-size: 11px;
    margin-top: 8px;
  }
  .saved-button {
    margin-top: 17px;
    padding: 0;
    min-height: 30px;
    font-size: 11px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    margin-top: 19px;
    gap: 15px;
  }
  .product-card {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 20px;
    padding: 13px;
  }
  .product-art-button {
    padding: 20px 16px;
  }
  .product-info {
    padding: 10px 0 5px;
  }
  .product-title {
    font-size: 16px;
  }
  .product-info p {
    font-size: 12px;
  }
  .product-price {
    font-size: 14px;
  }
  .product-price span {
    font-size: 9px;
    display: block;
    margin-left: 0;
  }
  .product-actions {
    margin-top: auto;
    padding-top: 15px;
  }
  .product-actions .add-button {
    padding: 9px 16px;
    font-size: 11px;
  }
  .closing {
    flex-wrap: wrap;
    gap: 15px;
    padding: 23px 19px 30px;
  }
  .closing-spark {
    font-size: 41px;
  }
  .closing p {
    font-size: 23px;
  }
  .closing .small-button {
    margin-top: 5px;
  }
  .footer {
    justify-content: center;
    gap: 15px;
    padding-top: 23px;
  }
  .footer .brand {
    font-size: 29px;
  }
  .footer > p {
    font-size: 16px;
  }
  .footer > div {
    margin: 5px 0 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .footer > div > span {
    width: 100%;
    text-align: center;
    font-size: 9px;
  }
  .info-dialog {
    padding: 30px 23px;
  }
  .info-dialog h2 {
    font-size: 27px;
    margin-top: 15px;
  }
  .info-dialog .eyebrow {
    font-size: 8px;
    margin-top: 20px;
  }
  .bag-dialog {
    padding: 24px 20px;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
  }
  .product-dialog {
    padding: 45px 25px 25px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-layout > img {
    width: 65%;
    max-height: 250px;
    object-fit: cover;
    margin: auto;
  }
  .detail-layout h2 {
    font-size: 26px;
    margin-bottom: 12px;
  }
  .detail-layout p {
    margin: 8px 0;
  }
  .toast {
    width: max-content;
    bottom: 16px;
    font-size: 12px;
  }
  .upload-status {
    font-size: 9px;
  }
  .remove-upload {
    font-size: 9px;
  }
  .step:has(.remove-upload:not([hidden])) {
    min-height: 420px;
  }
  .workshop:has(.preview-controls:not([hidden])) .step-result {
    min-height: 0;
  }
}
.preview-finish {
  border: 0;
  padding: 0;
  margin: 0 0 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.preview-finish legend {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.preview-finish label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffffb8;
  border: 1px solid #8c9f99;
  border-radius: 20px;
  padding: 8px 11px;
  font-size: 11px;
  cursor: pointer;
}
.preview-finish label:has(:checked) {
  color: #fff;
  background: #356653;
  border-color: #356653;
}
.preview-finish input {
  accent-color: #254d3f;
  margin: 0;
  width: 15px;
  height: 15px;
}
.preview-finish label:focus-within {
  outline: 3px solid #296b8c;
  outline-offset: 3px;
}
.wall-intro {
  font-size: 11px;
  line-height: 1.6;
  margin: 0 10px 16px 0;
}
.frame-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  grid-column: 1/-1;
}
.wall-controls {
  grid-column: 1/-1;
  display: grid;
  gap: 10px;
}
.wall-controls .small-button {
  border-color: #356653;
  background: #fff9;
}
.preview-controls .wall-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  grid-column: 1/-1;
  cursor: pointer;
}
.preview-controls .wall-check input {
  width: 17px;
  height: 17px;
  min-height: 17px;
  margin: 0;
}
.preview-controls #wall-summary {
  font: 12px/1.5 var(--body);
  text-align: left;
}
.workshop:has(.preview-controls:not([hidden])) .wall-mode .mascot-blue,
.workshop:has(.preview-controls:not([hidden])) .wall-mode .result-note {
  display: none;
}
.wall-dialog {
  width: 1060px;
  padding: 28px;
}
.wall-dialog h2 {
  font-size: 29px;
  margin: 8px 0 14px;
}
.wall-explanation {
  font-size: 13px;
  max-width: 800px;
  line-height: 1.6;
}
.wall-editor-tools {
  display: flex;
  gap: 10px;
  margin: 18px 0 10px;
  flex-wrap: wrap;
}
.wall-editor-tools button[aria-pressed="true"] {
  background: #356653;
  color: white;
}
#wall-instructions {
  font-size: 12px;
  margin-bottom: 15px;
}
.wall-editor-stage {
  padding: 8px;
  background: #e6e8de;
  border-radius: 6px;
}
#wall-editor-canvas {
  display: block;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 52dvh;
  cursor: crosshair;
  touch-action: manipulation;
}
#wall-editor-canvas:focus-visible {
  outline: 3px solid #296b8c;
  outline-offset: 4px;
}
#wall-editor-status {
  font-size: 12px;
  font-weight: 600;
  margin: 12px 0;
  min-height: 20px;
  color: #254d3f;
}
.wall-editor-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.wall-editor-actions .text-button {
  padding: 9px;
  font-size: 12px;
  text-decoration: underline;
}
.wall-keyboard {
  font-size: 11px;
  color: #52675f;
  margin: 12px 0;
}
.protected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.protected-list:empty {
  display: none;
}
.protected-list button {
  border-color: #a92842;
  color: #85213a;
}
#wall-save-note {
  font-size: 12px;
  margin: 15px 0;
}
.wall-editor-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}
.wall-editor-footer .paint-button {
  width: auto;
  font-size: 18px;
  padding: 12px 20px;
  min-height: 48px;
}
@media (max-width: 600px) {
  .preview-finish label {
    font-size: 11px;
    padding: 8px 10px;
  }
  .wall-dialog {
    padding: 19px;
    max-width: calc(100% - 12px);
    max-height: 94dvh;
  }
  .wall-dialog h2 {
    font-size: 22px;
  }
  .wall-dialog .eyebrow {
    font-size: 8px;
  }
  .wall-editor-tools .small-button,
  .wall-editor-actions .small-button {
    padding: 10px;
    font-size: 11px;
  }
  .wall-editor-footer {
    flex-wrap: wrap-reverse;
  }
  .wall-editor-footer .paint-button {
    font-size: 16px;
    width: 100%;
  }
  #wall-editor-canvas {
    max-height: 44dvh;
  }
}
/* Keep the three painted cards balanced; adjustments belong to the whole row. */
@media (min-width: 901px) {
  .step-room,
  .step-art {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .step-room .upload,
  .step-art .upload {
    width: 100%;
    flex-shrink: 0;
  }
  .step-room .room-example,
  .step-art .art-example {
    margin-top: auto;
  }
  .step-room .room-example {
    margin-bottom: 0;
  }
  .step-art .art-example {
    margin-bottom: 20px;
  }
  .step-room .mascot-green {
    bottom: 55px;
  }
  .step-art .mascot-painter {
    bottom: 35px;
  }
  .step-arrow {
    bottom: 170px;
  }
  .step-result .preview-area {
    width: fit-content;
    max-width: calc(100% - 25px);
    margin: 12px auto 0;
  }
  .step-result .preview-area canvas {
    width: auto;
    max-width: 100%;
    max-height: 290px;
    height: auto;
  }
  .step-result .mascot-blue {
    height: 135px;
    width: 85px;
    bottom: 55px;
  }
  .step-result .result-note {
    margin-top: 12px;
    font-size: 17px;
  }
}
.workshop > .preview-controls {
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 3fr);
  gap: 14px 30px;
  padding: 24px 28px;
  margin: 20px 0 0;
  border: 1px solid #d5ded0;
  background: #f0f3e9;
  border-radius: 12px;
}
.preview-tools-heading {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
}
.preview-controls .preview-tools-heading .eyebrow {
  text-align: left;
  font: 700 9px/1.5 var(--body);
  letter-spacing: 1.5px;
}
.preview-tools-heading h3 {
  font: 600 29px/1.2 var(--hand);
  margin-top: 6px;
}
.preview-controls > .frame-controls,
.preview-controls > .wall-controls {
  grid-column: 2;
}
.preview-controls > .frame-controls {
  column-gap: 24px;
}
.preview-controls > .wall-controls {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 24px;
  align-items: center;
}
.wall-controls > #edit-wall {
  grid-column: 1;
  grid-row: 1;
  padding: 10px 14px;
}
.preview-controls #wall-summary {
  grid-column: 1;
  grid-row: 2;
  font-size: 11px;
}
.wall-controls > label:not(.wall-check) {
  grid-column: 2;
  grid-row: 1;
}
.wall-controls > label.wall-check {
  grid-column: 2;
  grid-row: 2;
}
.preview-tools-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  grid-column: 2;
  padding-top: 12px;
  border-top: 1px solid #d5ded0;
}
.preview-tools-actions #download {
  padding: 9px 20px;
  background: #fffaf0;
}
.preview-controls #preview-tip {
  grid-column: 2;
  text-align: left;
  margin: 0;
}
.preview-controls label {
  font-size: 12px;
}
@media (max-width: 600px) {
  .workshop > .preview-controls {
    grid-template-columns: minmax(0, 1fr);
    padding: 19px 16px;
    gap: 15px;
  }
  .preview-tools-heading {
    grid-column: 1;
    grid-row: auto;
  }
  .preview-tools-heading h3 {
    font-size: 27px;
  }
  .preview-controls > .frame-controls,
  .preview-controls > .wall-controls,
  .preview-tools-actions,
  .preview-controls #preview-tip {
    grid-column: 1;
  }
  .preview-controls > .frame-controls {
    column-gap: 10px;
  }
  .preview-controls > .wall-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .wall-controls > #edit-wall,
  .preview-controls #wall-summary,
  .wall-controls > label:not(.wall-check),
  .wall-controls > label.wall-check {
    grid-column: 1;
    grid-row: auto;
  }
  .preview-tools-actions {
    flex-wrap: wrap;
  }
  .preview-tools-actions #download {
    flex-grow: 1;
  }
}
/* Keep declared intrinsic image dimensions from stretching responsive photos. */
img {
  height: auto;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
