:root {
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --ink: #111111;
  --soft-ink: #5e5a52;
  --line: rgba(17, 17, 17, 0.22);
  --blue: #fc9a21;
  --sage: #fc9a21;
  --pink: #fc9a21;
  --yellow: #fc9a21;
  --orange: #fc9a21;
  --lavender: #fc9a21;
  --danger: #c84e43;
  --success: #447a50;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-small: 3px 3px 0 var(--ink);
  --radius-wobbly: 22px 17px 24px 15px / 16px 24px 15px 22px;
  --display: "Comic Sans MS", "Segoe Print", "Bradley Hand", "Chalkboard SE", cursive;
  --body: ui-rounded, "Avenir Next", "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(17, 17, 17, 0.035) 0 0.8px, transparent 1px),
    radial-gradient(circle at 70% 10%, rgba(17, 17, 17, 0.025) 0 0.7px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  background-size: 9px 9px, 13px 13px, auto;
  font-family: var(--body);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px dashed var(--blue);
  outline-offset: 4px;
}

::selection {
  color: var(--ink);
  background: rgba(252, 154, 33, 0.62);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.narrow {
  width: min(780px, calc(100% - 36px));
  margin-inline: auto;
}

.paper-section {
  position: relative;
  padding: 92px 0;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.section-heading h2,
.page-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.15rem, 5vw, 4.45rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-heading p {
  max-width: 550px;
  margin: 0;
  color: var(--soft-ink);
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: lowercase;
}

.eyebrow::before {
  width: 18px;
  height: 18px;
  content: "";
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 48% 52% 44% 56%;
  transform: rotate(8deg);
}

.handwritten {
  font-family: var(--display);
}

.muted {
  color: var(--soft-ink);
}

.tiny {
  font-size: 0.82rem;
}

.small {
  font-size: 0.92rem;
}

.announcement-bar {
  position: relative;
  z-index: 60;
  display: none;
  padding: 9px 18px;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
}

.announcement-bar.is-visible {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  position: relative;
  display: inline-block;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.38rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
  transform: rotate(-1deg);
}

.wordmark::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  left: 2px;
  height: 6px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 C 19 1, 33 11, 50 6 S 83 10, 118 4' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.wordmark-star {
  display: inline-block;
  margin-left: 3px;
  color: var(--orange);
  transform: rotate(10deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--display);
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.button):hover {
  text-decoration: underline;
  text-decoration-style: wavy;
}

.nav-button {
  padding: 10px 15px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: var(--yellow);
  box-shadow: var(--shadow-small);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.nav-button:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px) rotate(0.5deg);
}

.mobile-menu-button {
  display: none;
  width: 45px;
  height: 42px;
  padding: 7px;
  border: 2px solid var(--ink);
  border-radius: 14px 11px 15px 10px;
  background: var(--paper);
}

.mobile-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 720px;
  padding: 84px 0 72px;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 16px 0 auto;
  height: 18px;
  content: "";
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 20'%3E%3Cpath d='M0 12 C45 3 71 18 118 9 S200 13 249 8 S342 15 397 7 S450 4 500 10' fill='none' stroke='%23111' stroke-width='2' stroke-dasharray='2 10' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 500px 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero h1 {
  max-width: 710px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.hero h1 .scribble-word {
  position: relative;
  display: inline-block;
  color: var(--paper);
  text-shadow:
    -2px -2px 0 var(--ink),
    2px -2px 0 var(--ink),
    -2px 2px 0 var(--ink),
    2px 2px 0 var(--ink),
    4px 4px 0 var(--blue);
  transform: rotate(-2deg);
}

.hero-lede {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--soft-ink);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-lede strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 2px solid var(--ink);
  border-radius: 18px 14px 20px 13px / 15px 20px 13px 18px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-small);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px) rotate(0.4deg);
}

.button-primary {
  background: var(--yellow);
}

.button-blue {
  background: var(--blue);
}

.button-sage {
  background: var(--sage);
}

.button-pink {
  background: var(--pink);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-ghost {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-decoration-style: wavy;
}

.button-ghost:hover {
  box-shadow: none;
}

.button[aria-disabled="true"],
.button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
}

.button-wide {
  width: 100%;
}

.hero-microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 26px;
  color: var(--soft-ink);
  font-family: var(--display);
  font-size: 0.9rem;
}

.hero-microcopy span::before {
  margin-right: 7px;
  content: "✦";
  color: var(--orange);
}

.hero-collage {
  position: relative;
  min-height: 560px;
}

.hero-doodle {
  position: absolute;
  z-index: 2;
  width: 285px;
  aspect-ratio: 1;
  padding: 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-doodle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-doodle::before {
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 4;
  width: 72px;
  height: 24px;
  content: "";
  background: rgba(252, 154, 33, 0.8);
  border: 1px solid rgba(17, 17, 17, 0.24);
  transform: translateX(-50%) rotate(-2deg);
}

.hero-doodle.one {
  top: 26px;
  left: 16px;
  transform: rotate(-6deg);
}

.hero-doodle.two {
  top: 166px;
  right: 2px;
  width: 260px;
  transform: rotate(7deg);
}

.hero-doodle.three {
  bottom: 4px;
  left: 90px;
  width: 235px;
  transform: rotate(-1deg);
}

.hero-star {
  position: absolute;
  top: 28px;
  right: 16px;
  z-index: 5;
  width: 64px;
  color: var(--orange);
  transform: rotate(11deg);
}

.drop-strip {
  position: relative;
  display: none;
  border-bottom: 2px solid var(--ink);
  background: var(--blue);
  overflow: hidden;
}

.drop-strip.is-visible {
  display: block;
}

.drop-strip::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.15;
  background-image: repeating-linear-gradient(-8deg, transparent 0 13px, var(--ink) 14px 15px);
  pointer-events: none;
}

.drop-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 102px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.drop-badge {
  padding: 10px 13px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: var(--shadow-small);
  font-family: var(--display);
  font-weight: 900;
  transform: rotate(-5deg);
}

.drop-copy strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  line-height: 1;
}

.drop-copy span {
  display: block;
  margin-top: 5px;
  font-weight: 700;
}

.drop-stock {
  min-width: 132px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: var(--paper);
  box-shadow: var(--shadow-small);
  font-family: var(--display);
  font-weight: 900;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.gallery-card {
  position: relative;
  min-height: 240px;
  padding: 12px 12px 44px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-small);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:hover {
  z-index: 3;
  box-shadow: 8px 8px 0 var(--ink);
  transform: translateY(-5px) rotate(0deg) !important;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.gallery-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.gallery-card:nth-child(1) {
  grid-column: span 4;
  transform: rotate(-1.5deg);
}

.gallery-card:nth-child(2) {
  grid-column: span 4;
  transform: rotate(1.2deg);
}

.gallery-card:nth-child(3) {
  grid-column: span 4;
  transform: rotate(-0.4deg);
}

.gallery-card:nth-child(4) {
  grid-column: span 5;
  transform: rotate(1deg);
}

.gallery-card:nth-child(5) {
  grid-column: span 3;
  transform: rotate(-1.8deg);
}

.gallery-card:nth-child(6) {
  grid-column: span 4;
  transform: rotate(1.5deg);
}

.gallery-card:nth-child(7) {
  grid-column: span 3;
  transform: rotate(-0.8deg);
}

.gallery-card:nth-child(8) {
  grid-column: span 5;
  transform: rotate(1.1deg);
}

.gallery-card:nth-child(9) {
  grid-column: span 4;
  transform: rotate(-1.4deg);
}

.gallery-card:nth-child(10) {
  grid-column: span 4;
  transform: rotate(0.7deg);
}

.gallery-card:nth-child(11) {
  grid-column: span 4;
  transform: rotate(-0.5deg);
}

.squiggle-divider {
  width: min(880px, calc(100% - 36px));
  height: 32px;
  margin: 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 35'%3E%3Cpath d='M2 18 C45 1 83 32 128 15 S211 28 257 14 S349 31 397 16 S486 2 535 18 S627 32 677 14 S770 4 898 19' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}

.product-visual {
  position: relative;
  min-height: 560px;
}

.product-frame {
  position: absolute;
  inset: 20px 40px 40px 20px;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 32px 17px 28px 15px / 18px 32px 15px 28px;
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--pink), 13px 13px 0 var(--ink);
  transform: rotate(-2deg);
}

.product-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-price-burst {
  position: absolute;
  top: 8px;
  right: 4px;
  z-index: 4;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 3px solid var(--ink);
  background: var(--yellow);
  clip-path: polygon(50% 0%, 61% 16%, 80% 7%, 82% 28%, 100% 32%, 88% 49%, 100% 64%, 80% 69%, 80% 91%, 60% 82%, 49% 100%, 38% 83%, 18% 92%, 18% 71%, 0 64%, 12% 48%, 0 31%, 19% 27%, 20% 7%, 39% 16%);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  transform: rotate(7deg);
}

.product-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.45rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.product-copy > p {
  max-width: 620px;
  color: var(--soft-ink);
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 30px 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-list li::before {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  content: "✓";
  border: 2px solid var(--ink);
  border-radius: 48% 52% 45% 55%;
  background: var(--sage);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 17px;
  text-align: center;
  transform: rotate(-6deg);
}

.add-on-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 30px;
}

.add-on-chip {
  padding: 9px 13px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--display);
  font-weight: 700;
}

.add-on-chip:nth-child(1) {
  background: rgba(252, 154, 33, 0.35);
  transform: rotate(-1deg);
}

.add-on-chip:nth-child(2) {
  background: rgba(252, 154, 33, 0.35);
  transform: rotate(1deg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.step-card {
  position: relative;
  min-height: 270px;
  padding: 32px 26px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.step-card:nth-child(1) {
  background: rgba(252, 154, 33, 0.28);
  transform: rotate(-1deg);
}

.step-card:nth-child(2) {
  background: rgba(252, 154, 33, 0.25);
  transform: rotate(1.2deg);
}

.step-card:nth-child(3) {
  background: rgba(252, 154, 33, 0.22);
  transform: rotate(-0.5deg);
}

.step-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 24px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 900;
  transform: rotate(-7deg);
}

.step-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.step-card p {
  margin: 0;
  color: var(--soft-ink);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-intro img {
  width: min(330px, 100%);
  margin-top: 22px;
  mix-blend-mode: multiply;
  transform: rotate(-2deg);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list details {
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}

.faq-list summary {
  position: relative;
  padding: 19px 54px 19px 20px;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 24px;
  height: 24px;
  content: "+";
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "–";
  background: var(--yellow);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--soft-ink);
}

.cta-section {
  padding: 76px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
}

.cta-card h2 {
  max-width: 790px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.cta-card p {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-doodle {
  width: 190px;
  padding: 8px;
  border: 2px solid var(--paper);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--blue);
  transform: rotate(5deg);
}

.cta-doodle img {
  mix-blend-mode: multiply;
}

.site-footer {
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
}

.footer-mark {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 900;
}

.footer-copy {
  max-width: 600px;
  margin: 10px 0 0;
  color: var(--soft-ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-family: var(--display);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  margin-top: 32px;
  border-top: 1.5px dashed var(--line);
  color: var(--soft-ink);
  font-size: 0.82rem;
}

/* Checkout */
.page-hero {
  padding: 64px 0 40px;
}

.page-heading {
  display: grid;
  gap: 14px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--soft-ink);
  font-family: var(--display);
  font-size: 0.9rem;
}

.breadcrumbs span::before {
  margin-right: 8px;
  content: "/";
}

.prototype-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: rgba(252, 154, 33, 0.28);
  box-shadow: var(--shadow-small);
}

.prototype-notice strong {
  font-family: var(--display);
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
  gap: 42px;
  padding-bottom: 90px;
}

.checkout-form,
.order-summary,
.admin-panel,
.admin-preview {
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.checkout-form {
  padding: clamp(22px, 4vw, 38px);
}

.form-section + .form-section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1.5px dashed var(--line);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.1;
}

.form-section-title span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 0.95rem;
  transform: rotate(-5deg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  font-family: var(--display);
  font-size: 0.96rem;
  font-weight: 800;
}

.field small {
  color: var(--soft-ink);
}

.field input,
.field textarea,
.field select,
.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 2px solid var(--ink);
  border-radius: 13px 9px 14px 10px;
  color: var(--ink);
  background: #fff;
  box-shadow: 2px 2px 0 rgba(17, 17, 17, 0.22);
}

.field textarea,
.admin-field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9a968e;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 3px 3px 0 var(--blue);
}

.upload-box {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 24px;
  border: 2px dashed var(--ink);
  border-radius: var(--radius-wobbly);
  background: rgba(252, 154, 33, 0.1);
  text-align: center;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

.upload-box:hover,
.upload-box.is-dragging {
  background: rgba(252, 154, 33, 0.22);
  transform: rotate(-0.2deg);
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
}

.upload-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.upload-preview {
  position: relative;
  min-height: 120px;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 13px 10px 15px 9px;
  background: var(--paper);
}

.upload-preview img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}

.upload-preview .file-placeholder {
  display: grid;
  height: 96px;
  place-items: center;
  padding: 8px;
  background: rgba(17, 17, 17, 0.06);
  font-family: var(--display);
  font-size: 0.78rem;
  text-align: center;
}

.upload-preview button {
  position: absolute;
  top: -9px;
  right: -8px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  font-weight: 900;
  cursor: pointer;
}

.choice-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 17px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: var(--paper);
}

.choice-card + .choice-card {
  margin-top: 12px;
}

.choice-card h3 {
  margin: 0 0 3px;
  font-family: var(--display);
  font-size: 1.05rem;
}

.choice-card p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.88rem;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stepper button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
}

.stepper output {
  min-width: 34px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
}

.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.toggle input {
  position: absolute;
  opacity: 0;
}

.toggle-track {
  position: relative;
  width: 56px;
  height: 31px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #dad7cf;
  transition: background 140ms ease;
}

.toggle-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  content: "";
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transition: transform 140ms ease;
}

.toggle input:checked + .toggle-track {
  background: var(--sage);
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(25px);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.order-summary {
  position: sticky;
  top: 104px;
  padding: 24px;
}

.summary-product {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1.5px dashed var(--line);
}

.summary-product-image {
  aspect-ratio: 1;
  padding: 6px;
  border: 2px solid var(--ink);
  border-radius: 13px 9px 15px 10px;
  background: var(--paper);
  transform: rotate(-2deg);
}

.summary-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.summary-product h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.05;
}

.summary-product p {
  margin: 6px 0 0;
  color: var(--soft-ink);
  font-size: 0.88rem;
}

.summary-lines {
  display: grid;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1.5px dashed var(--line);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.summary-line.total {
  padding-top: 15px;
  margin-top: 4px;
  border-top: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
}

.checkout-note {
  padding: 14px;
  margin: 18px 0;
  border: 1.5px dashed var(--ink);
  border-radius: 12px 9px 14px 10px;
  background: rgba(252, 154, 33, 0.16);
  color: var(--soft-ink);
  font-size: 0.82rem;
}

.form-status {
  display: none;
  padding: 13px 15px;
  margin-top: 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.error {
  background: rgba(200, 78, 67, 0.18);
}

.form-status.success {
  background: rgba(68, 122, 80, 0.18);
}

/* Admin */
.admin-body {
  background-image:
    linear-gradient(rgba(252, 154, 33, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252, 154, 33, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 20% 30%, rgba(17, 17, 17, 0.03) 0 0.8px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 9px 9px;
}

.admin-header {
  padding: 20px 0;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.admin-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1;
}

.admin-subtitle {
  margin: 7px 0 0;
  color: var(--soft-ink);
  font-size: 0.86rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 30px;
  padding: 36px 0 80px;
}

.admin-panel {
  padding: 28px;
}

.admin-panel + .admin-panel {
  margin-top: 24px;
}

.admin-panel h2,
.admin-preview h2 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-field {
  display: grid;
  gap: 7px;
}

.admin-field-full {
  grid-column: 1 / -1;
}

.admin-field label {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
}

.admin-field small {
  color: var(--soft-ink);
}

.admin-preview {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.admin-preview-window {
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: var(--paper);
}

.admin-preview-window img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.preview-price {
  margin-top: -18px;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  text-align: right;
  transform: rotate(-2deg);
}

.preview-mode {
  display: inline-flex;
  padding: 6px 9px;
  margin-bottom: 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-warning {
  padding: 14px 16px;
  margin-bottom: 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: rgba(252, 154, 33, 0.25);
  box-shadow: var(--shadow-small);
}

.admin-warning strong {
  font-family: var(--display);
}

.admin-save-bar {
  position: sticky;
  bottom: 16px;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  margin-top: 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.admin-save-status {
  color: var(--soft-ink);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-save-status.saved {
  color: var(--success);
}

.json-area {
  min-height: 170px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(17, 17, 17, 0.68);
}

.modal-backdrop.is-visible {
  display: grid;
}

.modal-card {
  width: min(540px, 100%);
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--blue);
  transform: rotate(-0.4deg);
}

.modal-card h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.modal-card p {
  color: var(--soft-ink);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.closed-overlay {
  display: none;
  padding: 14px 18px;
  border-bottom: 2px solid var(--ink);
  background: var(--pink);
  font-family: var(--display);
  font-weight: 800;
  text-align: center;
}

.closed-overlay.is-visible {
  display: block;
}

/* 404 */
.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.error-card {
  width: min(650px, 100%);
  padding: 36px;
  border: 3px solid var(--ink);
  border-radius: var(--radius-wobbly);
  background: var(--paper);
  box-shadow: 9px 9px 0 var(--pink);
}

.error-card img {
  width: min(320px, 80%);
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.error-card h1 {
  margin: 10px 0;
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.9;
}

@media (max-width: 980px) {
  .hero-grid,
  .product-layout,
  .faq-grid,
  .checkout-shell,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-collage {
    width: min(630px, 100%);
    min-height: 540px;
    margin: 0 auto;
  }

  .product-visual {
    width: min(600px, 100%);
    min-height: 520px;
    margin: 0 auto;
  }

  .faq-intro,
  .order-summary,
  .admin-preview {
    position: static;
  }

  .faq-intro img {
    width: 230px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-doodle {
    display: none;
  }
}

@media (max-width: 760px) {
  .container,
  .narrow {
    width: min(100% - 24px, 1160px);
  }

  .paper-section {
    padding: 68px 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 12px 15px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px;
  }

  .mobile-menu-button {
    display: block;
  }

  .hero {
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 16vw, 5rem);
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-collage {
    min-height: 450px;
  }

  .hero-doodle {
    width: 210px;
  }

  .hero-doodle.one {
    left: 0;
  }

  .hero-doodle.two {
    top: 130px;
    right: -4px;
    width: 195px;
  }

  .hero-doodle.three {
    bottom: 0;
    left: 48px;
    width: 180px;
  }

  .drop-inner {
    grid-template-columns: auto 1fr;
    padding: 18px 0;
  }

  .drop-stock {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-card,
  .gallery-card:nth-child(n) {
    grid-column: span 1;
    min-height: 210px;
  }

  .gallery-card img {
    min-height: 170px;
  }

  .product-visual {
    min-height: 420px;
  }

  .product-frame {
    inset: 15px 25px 30px 10px;
  }

  .product-price-burst {
    width: 94px;
    height: 94px;
    font-size: 1.55rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .form-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .field-full,
  .admin-field-full {
    grid-column: auto;
  }

  .summary-product {
    grid-template-columns: 88px 1fr;
  }

  .admin-header-inner {
    align-items: flex-start;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions .button {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero-actions .button {
    width: 100%;
  }

  .hero-collage {
    min-height: 380px;
  }

  .hero-doodle {
    width: 175px;
  }

  .hero-doodle.two {
    width: 160px;
  }

  .hero-doodle.three {
    width: 148px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    grid-template-columns: 1fr;
  }

  .stepper,
  .toggle {
    justify-self: start;
  }
}

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