:root {
  --ink: #1b1b38;
  --muted: #62627a;
  --paper: #f7f6ff;
  --card: #ffffff;
  --coral: #ff6b7a;
  --mint: #7edcc8;
  --butter: #ffd56a;
  --lilac: #c9b6ff;
  --blue: #5865d8;
  --line: #d9d7ee;
  --shadow: 8px 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 18%, rgb(126 220 200 / 18%) 0 8rem, transparent 8.1rem),
    radial-gradient(circle at 92% 40%, rgb(201 182 255 / 22%) 0 11rem, transparent 11.1rem),
    var(--paper);
  color: var(--ink);
  font: 16px/1.6 "Avenir Next", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
}

a { color: var(--blue); text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.skip { position: absolute; left: -10000px; top: 8px; }
.skip:focus { left: 8px; z-index: 70; border: 2px solid var(--ink); background: white; padding: 8px 12px; }

nav {
  position: sticky;
  z-index: 50;
  top: 0;
  width: min(1180px, 92vw);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: 22px;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
nav.is-scrolled, body.nav-open nav {
  border-color: var(--line);
  background: rgb(247 246 255 / 96%);
  box-shadow: 4px 4px 0 rgb(27 27 56 / 16%);
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.nav-toggle, .nav-scrim { display: none; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font: 850 1.35rem/1 ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 42% 48%;
  background: var(--butter);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 1rem;
  transform: rotate(-6deg);
}
.nav-cta {
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white !important;
  padding: 7px 14px;
}

main, footer { width: min(1180px, 92vw); margin: auto; }
section { padding: 94px 0; border-top: 1px solid var(--line); }
h1, h2, .price {
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-weight: 850;
  letter-spacing: -.055em;
}
h1 { margin: .14em 0 .24em; font-size: clamp(3.4rem, 7.7vw, 7rem); line-height: .92; }
h1 em { position: relative; color: var(--blue); font-style: normal; white-space: nowrap; }
h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -1%;
  bottom: -.08em;
  height: .13em;
  border-radius: 999px;
  background: var(--coral);
  transform: rotate(-1.2deg);
}
h2 { margin: .16em 0 .55em; font-size: clamp(2.35rem, 5vw, 4.7rem); line-height: .98; }
h3 { margin: .5em 0; line-height: 1.2; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font: 800 .72rem/1.3 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.lede { max-width: 650px; color: #44445f; font-size: clamp(1.12rem, 2vw, 1.42rem); }
.primary, .button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  padding: 13px 20px;
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.primary:hover, .primary:focus-visible { box-shadow: 1px 1px 0 var(--ink); transform: translate(3px, 3px); }
.primary:disabled { opacity: .55; cursor: wait; }

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 7vw;
  border: 0;
  padding: 58px 0 110px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-showcase {
  position: relative;
  min-height: 570px;
  margin: 0 6px 0 0;
  border: 3px solid var(--ink);
  border-radius: 34px;
  background: #dbd7ff;
  box-shadow: 12px 12px 0 var(--ink);
  padding: 16px;
  transform: rotate(2.2deg);
}
.showcase-source {
  position: absolute;
  inset: 16px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
}
.showcase-source img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateY(-24px) scale(.94);
}
.showcase-label {
  position: absolute;
  z-index: 4;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: white;
  padding: 7px 11px;
  color: var(--ink);
  font: 850 .66rem/1 ui-monospace, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.showcase-source .showcase-label { top: 14px; left: 14px; background: var(--butter); }
.showcase-model, .showcase-print {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 7px 7px 0 var(--ink);
}
.showcase-model {
  left: -50px;
  bottom: 32px;
  display: block;
  width: 57%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--mint);
  transform: rotate(-7deg);
}
.showcase-print {
  right: -44px;
  bottom: 20px;
  width: 52%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #fff8df;
  transform: rotate(5deg);
}
.showcase-model model-viewer {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  background: #eafaf5;
  --poster-color: #eafaf5;
  --progress-bar-color: var(--coral);
}
.model-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eafaf5;
  padding: 24px;
}
.model-fallback img { width: 100%; height: 100%; object-fit: contain; }
.showcase-print > img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.showcase-model .showcase-label, .showcase-print .showcase-label { top: 9px; left: 9px; border-width: 1px; }
.showcase-model > small {
  position: absolute;
  z-index: 5;
  right: 8px;
  bottom: 7px;
  left: 8px;
  border-radius: 8px;
  background: rgb(255 255 255 / 90%);
  padding: 5px;
  color: var(--muted);
  font: 700 .57rem/1.25 ui-monospace, monospace;
  text-align: center;
  pointer-events: none;
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 38px 0;
  padding: 0;
}
.steps li {
  min-height: 220px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--card);
  padding: 22px;
}
.steps li:nth-child(2), .steps li:nth-child(5) { background: #ecfbf7; }
.steps li:nth-child(3), .steps li:nth-child(6) { background: #fff8df; }
.steps b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--butter);
  font-family: ui-monospace, monospace;
}
.steps p { margin-bottom: 0; color: var(--muted); }

.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 8vw; margin-bottom: 32px; }
.section-heading > p { color: var(--muted); font-size: 1.05rem; }
.gallery-stage { position: relative; overflow: hidden; min-height: 500px; }
.gallery-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr .88fr .72fr;
  align-items: center;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(26px);
  transition: opacity .36s ease, transform .36s ease;
}
.gallery-slide > * { min-width: 0; }
.gallery-slide[aria-hidden="false"] { opacity: 1; pointer-events: auto; transform: translateX(0); }
.gallery-photo {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 3px solid var(--blue);
  border-radius: 30px;
  background: #e9e7ff;
  color: var(--blue);
  transform: rotate(-2deg);
}
.gallery-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-photo span, .gallery-figurine span {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgb(255 255 255 / 85%);
  padding: 5px 10px;
  font: 800 .67rem/1 ui-monospace, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.gallery-figurine {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-sizing: border-box;
  border: 3px solid var(--ink);
  border-radius: 28px;
  background: var(--mint);
  box-shadow: var(--shadow);
  padding: 14px;
  transform: translateX(-56px) rotate(3deg);
}
.gallery-figurine img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: white;
}
.gallery-slide[data-gallery-example="1"] .gallery-photo > img { object-position: center 58%; }
.gallery-slide[data-gallery-example="1"] .gallery-figurine img { object-position: center 60%; }
.gallery-slide[data-gallery-example="3"] .gallery-photo > img { object-position: center 42%; }
.gallery-caption { margin-left: -38px; }
.gallery-caption small { color: var(--muted); font: 750 .7rem/1.4 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.gallery-caption h3 { font-size: 1.8rem; }
.gallery-controls { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 22px; }
.gallery-controls > button {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}
.gallery-dots { display: flex; gap: 8px; }
.gallery-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  padding: 0;
}
.gallery-dots button[aria-current="true"] { width: 28px; border-radius: 99px; background: var(--coral); }

.guide { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.guide > img { border: 3px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow); }
.tip { position: relative; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 18px; background: white; padding: 18px 22px 16px 74px; }
.tip > span {
  position: absolute;
  left: 16px;
  top: 18px;
  border-radius: 999px;
  background: var(--mint);
  padding: 5px 9px;
  font: 850 .7rem/1 ui-monospace, monospace;
  text-transform: uppercase;
}
.tip.avoid > span { background: #ffd8dc; }
.tip ul { margin: 0; padding-left: 18px; }

.faq { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 17px 19px; }
.faq details[open] { border-color: var(--blue); box-shadow: 3px 3px 0 #d9d6ff; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { color: #4e4e68; }
@media (min-width: 681px) {
  .faq details:nth-child(odd)[open]:has(+ details[open]),
  .faq details:nth-child(odd)[open] + details[open] { align-self: stretch; }
}

form { max-width: 940px; border: 2px solid var(--ink); border-radius: 28px; background: white; box-shadow: var(--shadow); padding: 30px; }
.section-intro { margin-top: -20px; margin-bottom: 32px; color: var(--muted); font-size: 1.1rem; }
.form-grid, .upload-grid { display: grid; gap: 18px; }
.form-grid { grid-template-columns: 1fr 1fr; }
.upload-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field, .upload { display: grid; gap: 6px; }
label, legend { font-weight: 780; }
input, select, textarea { width: 100%; border: 1px solid #aeadca; border-radius: 12px; background: #fbfbff; color: var(--ink); padding: 12px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgb(88 101 216 / 28%); border-color: var(--blue); outline-offset: 1px; }
input:disabled, select:disabled, textarea:disabled { border-color: #d8d7e3; background: #efeff3; color: #8b8a98; cursor: not-allowed; opacity: 1; }
.field.is-disabled label, .field.is-disabled small { color: #9694a3; }
fieldset { margin: 22px 0; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.photo-upload-fieldset { margin-top: 0; }
.photo-upload-fieldset > p { margin: 0 0 12px; }
.photo-upload-note { color: var(--muted); font-size: .88rem; }
.photo-upload-note strong { color: var(--ink); }
.file-picker { position: relative; width: fit-content; }
.file-picker input[type="file"] { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; padding: 0; opacity: 0; cursor: pointer; }
.file-picker-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #efeeff;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 15px;
  color: var(--ink);
  font-weight: 850;
  pointer-events: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.file-picker:hover .file-picker-button { box-shadow: 1px 1px 0 var(--ink); transform: translate(2px, 2px); }
.file-picker input[type="file"]:focus-visible + .file-picker-button { outline: 3px solid var(--butter); outline-offset: 3px; }
.delivery-fields { grid-column: 1 / -1; margin: 0; transition: background-color .15s ease, color .15s ease; }
.delivery-fields:disabled { background: #f2f1f5; color: #9694a3; }
.delivery-fields-intro { margin: -4px 0 14px; color: var(--muted); font-size: .88rem; }
.delivery-fields:disabled .delivery-fields-intro, .delivery-fields:disabled small { color: #9694a3; }
.delivery-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quantity-selector { display: grid; grid-template-columns: 46px minmax(68px, 1fr) 46px; }
.quantity-selector input { z-index: 1; border-radius: 0; text-align: center; appearance: textfield; }
.quantity-selector input::-webkit-inner-spin-button,
.quantity-selector input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.quantity-selector button { border: 1px solid #aeadca; background: #efeeff; color: var(--ink); font: 850 1.25rem/1 ui-rounded, "Arial Rounded MT Bold", sans-serif; cursor: pointer; }
.quantity-selector button:first-child { border-radius: 12px 0 0 12px; }
.quantity-selector button:last-child { border-radius: 0 12px 12px 0; }
.quantity-selector button:focus-visible { z-index: 2; outline: 3px solid rgb(88 101 216 / 28%); border-color: var(--blue); outline-offset: 1px; }
.quantity-selector button:disabled { cursor: not-allowed; opacity: .45; }
.preview { display: grid; grid-template-columns: 76px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 8px; }
.preview[hidden] { display: none; }
.preview img { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; }
.preview button { border: 0; background: none; color: #a72d45; cursor: pointer; text-decoration: underline; }
.upload-grid .preview { grid-template-columns: 64px minmax(0, 1fr); }
.upload-grid .preview img { width: 64px; height: 64px; }
.upload-grid .preview span { min-width: 0; overflow-wrap: anywhere; }
.upload-grid .preview button { grid-column: 2; justify-self: start; padding: 0; }
.checks { display: grid; gap: 12px; margin: 22px 0; }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks input { width: auto; margin-top: 6px; }
.honeypot { position: absolute !important; left: -10000px !important; }
.field-error { min-height: 1.1em; margin: 0; color: #a72d45; font-size: .86rem; }
.notice, .ack { border: 2px solid var(--ink); border-radius: 20px; background: white; padding: 22px; }
.launch-notice { display: flex; align-items: center; gap: 18px; max-width: 760px; background: #fff8df; }
.launch-notice > span { color: var(--coral); font-size: 2rem; }
.launch-notice h3, .launch-notice p { margin: 0; }
.error { border-color: #bc4157; background: #fff0f2; }
.progress { overflow: hidden; height: 10px; margin: 16px 0; border-radius: 99px; background: var(--line); }
.progress span { display: block; width: 0; height: 100%; background: var(--blue); transition: width .15s; }
.form-fine-print, small { color: var(--muted); font-size: .82rem; }
.contact-line { display: flex; align-items: baseline; gap: 20px; font-size: clamp(1.4rem, 4vw, 3rem); font-weight: 850; }
.contact-line span { color: var(--muted); font: 800 .7rem/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.contact-line a { color: var(--ink); text-decoration-color: var(--coral); text-decoration-thickness: 5px; }

.narrow, .legal { max-width: 780px; }
.ack { margin: 80px 0; padding: 34px; }
.ack h1 { font-size: clamp(3rem, 7vw, 6rem); }
.request-id { display: grid; gap: 3px; margin: 28px 0; border-radius: 14px; background: #e9e7ff; padding: 16px 18px; }
.request-id span { color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.request-id strong { font: 850 1.5rem/1.3 ui-monospace, monospace; }
.legal { padding: 55px 0; }
.legal h1 { font-size: clamp(3rem, 7vw, 6rem); }
.legal h2 { margin-top: 1.4em; font-size: 2rem; }

footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 34px;
  border-top: 2px solid var(--ink);
  padding: 48px 0 70px;
  color: var(--muted);
}
.footer-links, .social-placeholders { display: grid; align-content: start; gap: 7px; }
.social-placeholders span { color: var(--muted); font: 750 .72rem/1.5 ui-monospace, monospace; text-transform: uppercase; }
.business-id { grid-column: 1 / -1; margin: 0; font-size: .76rem; }

button:focus-visible, a:focus-visible, summary:focus-visible, model-viewer:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero, .guide, .section-heading { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-showcase { width: min(560px, 94%); margin: 0 auto; }
  .gallery-stage { min-height: 720px; }
  .gallery-slide { grid-template-columns: 1fr 1fr; align-items: start; }
  .gallery-photo { min-height: 420px; }
  .gallery-figurine { margin-top: 52px; transform: translateX(-30px) rotate(3deg); }
  .gallery-caption { grid-column: 1 / -1; margin: 0; }
  .upload-grid { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  nav {
    top: 0;
    width: calc(100% - 20px);
    align-items: center;
    padding: 8px 10px;
    border-radius: 18px;
  }
  body.nav-open nav {
    position: fixed;
    right: 10px;
    left: 10px;
    width: auto;
  }
  .nav-toggle {
    position: relative;
    z-index: 45;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: white;
    color: var(--ink);
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 900;
  }
  .nav-links {
    position: fixed;
    z-index: 40;
    inset: 0 0 0 auto;
    width: min(84vw, 340px);
    display: grid;
    align-content: start;
    gap: 5px;
    border-left: 3px solid var(--ink);
    background: var(--paper);
    box-shadow: -10px 0 0 rgb(27 27 56 / 20%);
    padding: 94px 24px 28px;
    transform: translateX(110%);
    visibility: hidden;
    transition: transform .2s ease, visibility .2s ease;
  }
  .nav-links a { border-bottom: 1px solid var(--line); padding: 14px 6px; font-size: 1.08rem; }
  .nav-links .nav-cta { margin-top: 12px; border-bottom: 2px solid var(--ink); text-align: center; }
  .nav-scrim {
    position: fixed;
    z-index: 35;
    inset: 0;
    display: block;
    visibility: hidden;
    border: 0;
    background: rgb(27 27 56 / 55%);
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-links { visibility: visible; transform: translateX(0); }
  body.nav-open .nav-scrim { visibility: visible; opacity: 1; }
  body.nav-open .nav-toggle span { font-size: 0; }
  body.nav-open .nav-toggle span::before { content: "×"; font-size: 1.6rem; line-height: 1; }
  section { padding: 70px 0; }
  h1 em { white-space: normal; }
  .hero { min-height: auto; gap: 54px; padding-bottom: 85px; }
  .steps, .faq, .form-grid, .upload-grid, .delivery-fields-grid { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .hero-showcase { width: calc(100% - 12px); min-height: 480px; margin: 0 6px 0 0; transform: rotate(1deg); }
  .showcase-model { left: 8px; bottom: 35px; width: 49%; }
  .showcase-print { right: 3px; bottom: 20px; width: 48%; }
  .showcase-source img { object-fit: cover; object-position: center 64%; transform: translateY(-30px) scale(.92); }
  .gallery-stage { min-height: 750px; touch-action: pan-y; }
  .gallery-slide { grid-template-columns: 1fr; }
  .gallery-photo { min-height: 320px; }
  .gallery-figurine { width: 74%; margin: -110px 0 0 22%; transform: rotate(3deg); }
  .gallery-caption { margin-top: 8px; }
  .gallery-controls { justify-content: center; }
  form { padding: 20px; }
  .preview { grid-template-columns: 64px 1fr; }
  .preview img { width: 64px; height: 64px; }
  .preview button { grid-column: 2; }
  .contact-line { display: grid; gap: 10px; }
  footer { grid-template-columns: 1fr; }
  .business-id { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
