:root {
  color-scheme: light;
  --desktop: #797784;
  --panel: #b6a7a0;
  --paper: #e5dfd6;
  --ink: #211f23;
  --muted: #51464f;
  --light: #f2e9e0;
  --shadow: #645861;
  --purple: #594671;
  --lime: #d9ff38;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  padding: 28px 20px;
  background: var(--desktop);
  background-image: radial-gradient(#a6a0ad 0.65px, transparent 0.65px);
  background-size: 4px 4px;
  color: var(--ink);
  font: 16px/1.55 Arial, Helvetica, sans-serif;
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #40235f; outline-offset: 4px; }
.wrap {
  max-width: 1160px;
  margin: auto;
  background: var(--panel);
  border: 2px solid;
  border-color: var(--light) #332d37 #332d37 var(--light);
  padding: 4px;
  box-shadow: 8px 8px 0 #423b4a66;
}
.window-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px;
  background: linear-gradient(90deg, #57416f, #a78caf);
  color: #fff9ec;
  font: bold 17px/1.35 "Courier New", monospace;
}
.window-title a { text-decoration: none; }
.tiny-gem {
  display: inline-block;
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
  margin: 0 7px 0 3px;
  background: var(--lime);
  border: 1px solid #f9ffbf;
}
.window-marks { display: flex; gap: 4px; }
.window-marks i {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--panel);
  border: 2px solid;
  border-color: var(--light) var(--shadow) var(--shadow) var(--light);
  font: bold 18px/1 monospace;
}
header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  border-bottom: 2px groove var(--light);
}
header > .wordmark { display: none; }
nav { display: flex; flex-wrap: wrap; gap: 8px; }
nav a, .button, .contact a {
  display: inline-block;
  padding: 8px 14px;
  background: #c0b2ab;
  border: 2px solid;
  border-color: var(--light) var(--shadow) var(--shadow) var(--light);
  box-shadow: 1px 1px 0 #342f37;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
}
nav a:hover, .button:hover, .contact a:hover { background: #d8c9c1; }
nav a:active, .button:active, .contact a:active {
  border-color: var(--shadow) var(--light) var(--light) var(--shadow);
  box-shadow: none;
}
.languages { margin-left: auto; gap: 5px; }
.languages a { padding: 6px 8px; font: bold 13px/1.4 "Courier New", monospace; }
.languages [aria-current="page"] { background: var(--lime); border-color: var(--shadow) var(--light) var(--light) var(--shadow); }
main { padding: 0 28px; }
section { padding: 38px 0; }
section + section { border-top: 2px groove var(--light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Courier New", monospace; }
h1 { font-size: clamp(40px, 7vw, 78px); letter-spacing: -4px; line-height: 1.05; margin-bottom: 15px; overflow-wrap: anywhere; }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 20px; }
h3 { font-size: 18px; line-height: 1.3; margin-bottom: 0; }
.muted { color: var(--muted); }
.hero { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 36px; padding: 48px 0; }
.eyebrow { display: inline-block; padding: 2px 7px; margin-bottom: 18px; background: var(--purple); color: white; font: 13px/1.5 "Courier New", monospace; }
.intro { font-size: 20px; margin-bottom: 25px; }
.repair-prompt { font-size: 18px; font-weight: bold; margin-bottom: 10px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.primary { background: var(--lime); font-size: 18px; padding: 11px 25px; font-weight: bold; }
.primary:hover { background: #e7ff81; }
.help-text { font-size: 12px; color: var(--muted); max-width: 150px; }
.art {
  margin: 0;
  background: #9e9194;
  border: 2px solid;
  border-color: var(--light) var(--shadow) var(--shadow) var(--light);
  padding: 5px;

}
.preview-title { background: var(--purple); color: white; font: bold 13px/1.4 "Courier New", monospace; padding: 5px 7px; }
.avatar-tray { display: grid; place-items: center; padding: 26px; }
.avatar-tile { padding: 20px; border: 3px solid; border-color: var(--light) #332d37 #332d37 var(--light); background: #b5a8a4; }

.art figcaption { text-align: center; font: 12px/1.4 "Courier New", monospace; color: #302a33; padding-bottom: 7px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.split p { max-width: 500px; }
.services { list-style: none; margin: 0; padding: 10px 16px; background: var(--paper); border: 2px solid; border-color: var(--shadow) var(--light) var(--light) var(--shadow); }
.services li { padding: 8px 0; }
.services li::before { content: "›"; color: var(--purple); font-weight: bold; margin-right: 12px; }
.section-note { font: 14px/1.5 "Courier New", monospace; margin-bottom: 5px; }
.price-list { margin-top: 24px; border: 2px solid; border-color: var(--light) var(--shadow) var(--shadow) var(--light); background: var(--paper); }
.price-list h3 { background: #a695aa; color: #29202f; padding: 11px 14px; border-bottom: 2px groove var(--light); }
.price-list dl { margin: 0; }
.price-list dl > div { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 15px; padding: 12px 14px; border-bottom: 1px solid #b7aca9; }
.price-list dl > div:last-child { border-bottom: 0; }
.price-list dl > div:nth-child(even) { background: #f3eee638; }
.price-list .price-columns { grid-template-columns: minmax(0, 1fr) 145px 145px; }
.price-list dd { margin: 0; text-align: right; font-weight: bold; }
.price-columns[aria-hidden] { font-size: 13px; background: #d2c6bf; }
.metal-label { display: none; }
.contact p { margin-bottom: 10px; }
.contact a { font-size: 16px; }
.status-bar { display: flex; justify-content: space-between; gap: 8px; padding: 5px; font: 12px/1.5 "Courier New", monospace; }
.status-bar > span { padding: 5px 8px; border: 1px solid; border-color: var(--shadow) var(--light) var(--light) var(--shadow); }
.status-bar > span:first-child { flex: 1; }
.status-light { display: inline-block; width: 8px; height: 8px; background: var(--lime); border: 1px solid #6a7b22; margin-right: 8px; }
.workshop-page { padding: 30px 0; }
.workshop-page h1 { font-size: clamp(32px, 6vw, 60px); letter-spacing: -2px; margin-bottom: 10px; }
.saved-status { display: inline-block; background: var(--lime); padding: 3px 9px; font: 13px/1.5 "Courier New", monospace; margin-bottom: 24px; }
.comparison-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.comparison-gallery figure { margin: 0; background: #c3b5ad; padding: 7px; border: 2px solid; border-color: var(--light) var(--shadow) var(--shadow) var(--light); }
.comparison-gallery img { display: block; width: 100%; height: auto; border: 2px solid; border-color: var(--shadow) var(--light) var(--light) var(--shadow); }
.comparison-labels { display: grid; grid-template-columns: 1fr 1fr; text-align: center; font: bold 13px/1.6 "Courier New", monospace; padding: 1px 0 7px; }
.comparison-gallery figcaption { font-size: 14px; padding: 11px 4px 4px; }
@media (max-width: 760px) {
  body { padding: 12px 8px; }
  main { padding: 0 17px; }
  .hero { gap: 20px; }
  .avatar-tray { padding: 17px 9px; }
  .avatar-tile { padding: 12px; }

@media (max-width: 580px) {
  header { gap: 12px; padding: 12px; }
  header nav:first-of-type { width: 100%; order: 2; }
  .languages { margin-left: auto; }
  nav a { padding: 7px 9px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding: 30px 0; gap: 25px; }
  .art { width: min(100%, 285px); margin: 0 auto; }
  .hero h1 { font-size: clamp(40px, 12vw, 66px); letter-spacing: -3px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  section { padding: 28px 0; }
  .price-list dl > div, .price-list .price-columns { grid-template-columns: 1fr; gap: 3px; }
  .price-list dd { text-align: left; }
  .price-columns[aria-hidden] { display: none; }
  .metal-label { display: inline; font-weight: normal; }
  .comparison-gallery { grid-template-columns: 1fr; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.smiley-image { display: block; width: 180px; max-width: 100%; height: auto; image-rendering: pixelated; }
@media (max-width: 760px) { .smiley-image { width: 150px; } }

button, input, textarea { font: inherit; }
button { cursor: pointer; }
.pixel-arrow { display: inline-block; vertical-align: -1px; margin-left: 4px; shape-rendering: crispEdges; }
dialog {
  width: min(530px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  padding: 4px;
  color: var(--ink);
  background: var(--panel);
  border: 2px solid;
  border-color: var(--light) #332d37 #332d37 var(--light);
  box-shadow: 8px 8px 0 #302b3d66;
}
dialog::backdrop { background: #312a4066; }
.dialog-close {
  display: grid;
  place-items: center;
  width: 26px;
  height: 24px;
  color: var(--ink);
  background: var(--panel);
  border: 2px solid;
  border-color: var(--light) var(--shadow) var(--shadow) var(--light);
}
#request-form { padding: 16px; }
#request-form > p { font-size: 14px; }
#request-form label { display: block; margin: 13px 0 5px; font-weight: bold; }
#request-form label span { font-weight: normal; color: var(--muted); }
#request-form input, #request-form textarea {
  display: block;
  width: 100%;
  padding: 9px;
  background: #f6f1e8;
  border: 2px solid;
  border-color: var(--shadow) var(--light) var(--light) var(--shadow);
  border-radius: 0;
  color: var(--ink);
}
#request-form textarea { resize: vertical; min-height: 100px; }
#request-form input:focus-visible, #request-form textarea:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.request-note { color: var(--muted); margin-top: 14px; }
button:disabled { cursor: default; background: #b5a9a1; color: #5b505b; }

.request-feedback { padding: 8px 10px; background: var(--lime); font-size: 14px; }

#request-form .photo-hint { margin: 5px 0 0; }
#request-form input[type="file"]::file-selector-button {
  margin-right: 8px;
  padding: 4px 8px;
  background: var(--panel);
  color: var(--ink);
  border: 2px solid;
  border-color: var(--light) var(--shadow) var(--shadow) var(--light);
  cursor: pointer;
}

.business-details {
  margin: 0;
  padding: 4px 12px 9px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.contact .entrance-photo {
  display: block;
  width: min(100%, 320px);
  margin: 8px 0 14px;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.entrance-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (width > 760px) {
  .hero .art {
    width: min(100%, 250px);
    justify-self: center;
  }
  .avatar-tray { padding: 14px; }
  .avatar-tile { padding: 10px; }
  .smiley-image { width: 112px; }
  .contact .entrance-photo { width: min(100%, 220px); }
}
