:root {
  --bg: #1d1d1d;
  --panel: #282828;
  --line: #444;
  --text: #ececec;
  --muted: #a3a3a3;
  --dark: #141414;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--text);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 620px; }
.mono { font-family: "Courier Prime", "Courier New", monospace; }
[hidden] { display: none !important; }

/* header */
header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.name { font-weight: 800; font-stretch: 112%; font-size: 18px; text-decoration: none; }
header a.side { color: var(--muted); font-size: 15px; }
header a.side:hover { color: var(--text); }

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 0 56px;
}
.hero h1 {
  font-size: clamp(52px, 9vw, 104px);
  font-weight: 900;
  font-stretch: 75%;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero p { color: var(--muted); max-width: 400px; margin-top: 20px; font-size: 17px; }
.hero .btn { max-width: 400px; margin-top: 16px; }

.goal {
  margin-top: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  max-width: 400px;
}
.goal-top { display: flex; justify-content: space-between; align-items: baseline; }
.goal-num { font-size: 34px; font-weight: 800; font-stretch: 80%; line-height: 1; }
.goal-num span:last-child { color: var(--muted); font-weight: 500; }
.goal-label { font-size: 13px; color: var(--muted); }
.bar { height: 8px; background: var(--dark); border-radius: 4px; margin-top: 12px; overflow: hidden; }
.fill { height: 100%; width: 0%; background: var(--text); border-radius: 4px; transition: width 0.6s ease; }

.photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.price-tag {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--text);
  color: var(--dark);
  border-radius: 50%;
  width: 104px;
  height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  line-height: 1.1;
}
.price-tag b { font-size: 34px; font-weight: 900; font-stretch: 80%; }
.price-tag small { font-size: 12px; }

/* section headings */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 22px;
}
.section-head h2 { font-size: 28px; font-weight: 800; font-stretch: 85%; text-transform: uppercase; }
.section-head span { color: var(--muted); font-size: 14px; white-space: nowrap; }

/* product */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  margin-bottom: 64px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.pic {
  aspect-ratio: 1 / 1;
  background: var(--dark);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticker {
  width: 58%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 62px;
  transform: rotate(6deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}
.card:hover .sticker { transform: rotate(-3deg) scale(1.03); }
.info { padding: 14px 4px 4px; }
.top { display: flex; justify-content: space-between; font-weight: 700; font-size: 17px; }
.sub { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* buttons */
.btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  background: var(--text);
  color: var(--dark);
  border: 0;
  border-radius: 9px;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.btn:hover { background: #fff; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--text); background: transparent; }
.link-btn {
  background: none;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 14px;
}
.link-btn:hover { color: var(--text); }

/* receipt */
.receipt {
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15px;
  max-width: 560px;
  margin-bottom: 64px;
}
.receipt .row { display: flex; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.receipt .row:last-child { border-bottom: 0; }
.receipt .row b { min-width: 64px; }

/* about */
.about {
  max-width: 620px;
  margin-bottom: 24px;
}
.about p { color: var(--muted); margin-bottom: 14px; }
.about p:first-child { color: var(--text); font-size: 19px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 64px;
}
.pic-btn {
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  cursor: zoom-in;
}
.pic-btn img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.25s ease; }
.pic-btn:hover img { transform: scale(1.03); }
.about a { color: var(--text); }

/* preorder page */
.page-title {
  font-size: clamp(44px, 8vw, 72px);
  font-weight: 900;
  font-stretch: 75%;
  line-height: 0.95;
  text-transform: uppercase;
  margin-top: 24px;
}
.steps { display: flex; gap: 8px; margin: 18px 0 22px; }
.steps div {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.steps div.on { background: var(--text); border-color: var(--text); }
.step-label { color: var(--muted); font-size: 14px; margin-top: -12px; margin-bottom: 18px; }
#step-4 { margin-top: 24px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 56px;
}
.panel h2 { font-size: 24px; font-weight: 800; font-stretch: 85%; text-transform: uppercase; margin-bottom: 4px; }
.panel > p { color: var(--muted); margin-bottom: 18px; }

.field { margin-bottom: 14px; }
.field label, .legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  padding: 10px 12px;
}
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--text); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: block;
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  cursor: pointer;
  height: 100%;
}
.choice label b { display: block; font-size: 15px; }
.choice label span { color: var(--muted); font-size: 13px; }
.choice input:checked + label { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.choice input:focus-visible + label { outline: 2px solid var(--text); outline-offset: 2px; }

.ship-box { border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px; }

.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px dashed var(--line);
  margin-top: 6px;
  padding-top: 14px;
}
.total b { font-size: 28px; font-weight: 800; font-stretch: 80%; }
.total .hint { display: block; color: var(--muted); font-size: 13px; }
.error { color: #ff8a8a; font-size: 14px; margin-top: 10px; }

.pay-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.pay-summary small { display: block; color: var(--muted); font-size: 12px; }
.pay-summary b { font-size: 26px; font-weight: 800; font-stretch: 80%; }
.pay-summary .code { font-size: 20px; letter-spacing: 0.06em; }

.warn {
  border: 2px solid var(--text);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 4px;
}
.warn b { display: block; font-size: 18px; font-weight: 800; font-stretch: 90%; text-transform: uppercase; margin-bottom: 4px; }
.warn p { color: var(--muted); font-size: 15px; }
.warn p + p { margin-top: 6px; }

.upload {
  display: block;
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 26px 16px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
}
.upload:hover { border-color: var(--text); color: var(--text); }
.upload input { display: none; }
.upload b { display: block; color: var(--text); font-size: 16px; }
.preview { margin-top: 14px; text-align: center; }
.preview img { max-width: 100%; max-height: 380px; border-radius: 10px; border: 1px solid var(--line); }
.small-note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* footer */
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; padding-top: 18px; padding-bottom: 28px; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .photo { order: -1; aspect-ratio: 1 / 1; }
  .price-tag { left: 12px; bottom: 12px; width: 88px; height: 88px; }
  .price-tag b { font-size: 28px; }
  .two { grid-template-columns: 1fr; }
  .three { grid-template-columns: 1fr 1fr; }
  .three .city { grid-column: 1 / -1; }
  footer .wrap { flex-direction: column; }
}

/* admin */
.admin-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin: 24px 0 20px; }
.admin-top .page-title { margin-top: 0; }
.who { color: var(--muted); font-size: 14px; text-align: right; }
.who .link-btn { margin-top: 2px; }

.statgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.stat small { display: block; color: var(--muted); font-size: 13px; }
.stat b { font-size: 30px; font-weight: 800; font-stretch: 80%; line-height: 1.1; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 4px; }
.tabs button {
  background: none;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.tabs button.on { background: var(--text); color: var(--dark); }
.toolbar .btn { width: auto; margin: 0; padding: 9px 14px; font-size: 14px; }

.orders { display: grid; gap: 12px; margin-bottom: 64px; }
.order-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.order-card.verified { opacity: 0.8; }
.shot {
  width: 120px;
  height: 200px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: var(--dark);
}
.o-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.o-code { font-size: 18px; letter-spacing: 0.05em; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.tag.ok { background: var(--text); color: var(--dark); border-color: var(--text); }
.o-name { font-size: 18px; font-weight: 700; margin-top: 4px; }
.o-lines { color: var(--muted); font-size: 14px; margin-top: 2px; word-break: break-word; }
.o-lines a { color: var(--text); }
.o-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px 16px;
  margin-top: 10px;
  font-size: 14px;
}
.o-meta small { display: block; color: var(--muted); font-size: 12px; }
.o-note { margin-top: 10px; font-size: 14px; color: var(--muted); border-left: 2px solid var(--line); padding-left: 10px; }
.o-actions { display: flex; gap: 14px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.o-actions .btn { width: auto; margin: 0; padding: 9px 14px; font-size: 14px; }
.o-actions .link-btn { margin: 0; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
  cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; }

@media (max-width: 560px) {
  .order-card { grid-template-columns: 84px 1fr; gap: 12px; }
  .shot { width: 84px; height: 150px; }
  .who { text-align: left; }
}

/* continue on another device */
.handoff {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  background: var(--dark);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 14px;
}
.qr { background: #fff; border-radius: 10px; overflow: hidden; }
.qr svg { display: block; width: 100%; height: auto; }
.handoff p { color: var(--muted); font-size: 14px; }
@media (max-width: 520px) {
  .handoff { grid-template-columns: 1fr; }
  .qr { max-width: 240px; margin: 0 auto; }
}

/* Open Venmo button in Venmo's blue */
.btn.venmo { background: #008cff; color: #fff; }
.btn.venmo:hover { background: #1a98ff; }
