@font-face {
  font-family: "Pricedown BL";
  src: local("Pricedown BL"), local("Pricedown");
  font-display: swap;
}

:root {
  --ink: #080808;
  --paper: #f7f7f4;
  --green: #00ef18;
  --yellow: #ffb515;
  --pink: #ff16dd;
  --red: #e91616;
  --blue: #5b79dc;
  --orange: #ff9d00;
  --shadow: 7px 8px 0 #0a0a0a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f6f6f2 url("assets/paper.jpg") center top / 900px auto repeat;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { cursor: pointer; }

.top-strip {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  padding: 10px clamp(14px, 4vw, 56px);
  color: white;
  background: #050505;
  border-bottom: 4px solid var(--green);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .8px;
}
.top-strip b { color: #ffe34a; }

.hero {
  min-height: 620px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  align-items: center;
  gap: 20px;
  padding: 70px clamp(22px, 8vw, 120px) 90px;
  isolation: isolate;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -70px -10%;
  height: 130px;
  background: #0a0a0a;
  transform: rotate(-2deg);
  z-index: -1;
}
.hero-brush {
  position: absolute;
  width: min(980px, 86vw);
  left: -80px;
  top: 20px;
  opacity: .92;
  z-index: -2;
  transform: rotate(-3deg);
}
.hero-copy { max-width: 830px; position: relative; z-index: 2; }
.eyebrow {
  display: inline-block;
  margin: 0 0 2px;
  padding: 8px 16px;
  background: var(--red);
  color: #fff;
  border: 4px solid #000;
  box-shadow: 4px 5px 0 #000;
  transform: rotate(-2deg);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(14px, 1.5vw, 20px);
}
.hero h1,
.section-title,
.modal-content h2,
.how-modal h2,
footer strong {
  font-family: "Pricedown BL", Impact, "Arial Black", sans-serif;
  letter-spacing: 1px;
}
.hero h1 {
  margin: 6px 0 0;
  color: var(--green);
  font-size: clamp(76px, 12vw, 176px);
  line-height: .78;
  -webkit-text-stroke: clamp(5px, .62vw, 10px) #000;
  paint-order: stroke fill;
  text-shadow: 8px 10px 0 rgba(0,0,0,.25);
  transform: skew(-2deg);
}
.hero-sub {
  margin: 22px 0 26px;
  max-width: 620px;
  font: 900 clamp(26px, 3.2vw, 44px)/.95 "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #fff;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta {
  appearance: none;
  border: 4px solid #000;
  padding: 13px 20px 11px;
  text-decoration: none;
  color: #000;
  font: 900 17px/1 "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
  box-shadow: 5px 6px 0 #000;
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta:hover { transform: translate(2px, 2px); box-shadow: 3px 4px 0 #000; }
.cta-primary { background: var(--yellow); }
.cta-ghost { background: #fff; }
.prototype-note { font-weight: 800; font-size: 13px; margin-top: 18px; }
.hero-cj {
  position: relative;
  z-index: 1;
  width: min(480px, 44vw);
  justify-self: center;
  align-self: end;
  margin-bottom: -16px;
  filter: drop-shadow(12px 14px 0 rgba(0,0,0,.22));
  transform: rotate(2deg);
}

main { padding: 44px clamp(15px, 4vw, 60px) 90px; }
.controls {
  position: sticky;
  top: 39px;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto 12px;
  padding: 14px;
  background: rgba(255,255,255,.94);
  border: 4px solid #000;
  box-shadow: 6px 7px 0 #000;
  backdrop-filter: blur(9px);
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 3px solid #000;
  background: #fff;
  padding: 7px 12px;
}
.search-icon { font: 900 29px/1 Arial; transform: rotate(-15deg); }
.search-wrap input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  font: 800 16px Arial;
}
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.category-tabs button {
  border: 3px solid #000;
  background: #eee;
  padding: 8px 11px;
  font: 900 12px/1 "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
}
.category-tabs button.active { background: var(--yellow); transform: rotate(-1deg); }

.menu-section {
  --section: var(--green);
  max-width: 1280px;
  margin: 70px auto 90px;
  position: relative;
}
.menu-section::before {
  content: "";
  position: absolute;
  left: -40px;
  right: -40px;
  top: 39px;
  height: 18px;
  background: var(--section);
  transform: rotate(-1.2deg);
  border: 3px solid #000;
  z-index: -1;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.section-title {
  margin: 0;
  font-size: clamp(54px, 7vw, 95px);
  line-height: .8;
  color: var(--section);
  -webkit-text-stroke: 6px #000;
  paint-order: stroke fill;
  text-shadow: 5px 6px 0 rgba(0,0,0,.18);
  transform: rotate(-1deg);
}

.effect-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.effect-card {
  --card-color: #fff;
  grid-column: span 4;
  min-height: 338px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.97);
  border: 4px solid #000;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .14s ease, box-shadow .14s ease;
}
.effect-card:nth-child(5n+2) { --tilt: .6deg; }
.effect-card:nth-child(5n+4) { --tilt: -.55deg; }
.effect-card:hover { transform: rotate(0deg) translateY(-5px); box-shadow: 10px 12px 0 #000; z-index: 2; }
.effect-card.wide { grid-column: span 6; }
.effect-card.featured { grid-column: span 6; min-height: 430px; }
.effect-art {
  height: 220px;
  display: grid;
  place-items: center;
  padding: 8px 8px 4px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--section) 21%, #fff), #fff 65%);
  border-bottom: 4px solid #000;
  position: relative;
  overflow: hidden;
}
.effect-art::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 30px;
  right: -35px;
  bottom: 9px;
  background: var(--section);
  transform: rotate(-12deg);
  opacity: .85;
}
.effect-art img {
  position: relative;
  z-index: 1;
  max-width: 98%;
  max-height: 198px;
  object-fit: contain;
  filter: drop-shadow(5px 6px 0 rgba(0,0,0,.23));
}
.effect-card.featured .effect-art { height: 268px; }
.effect-card.featured .effect-art img { max-height: 238px; }
.effect-art.no-image {
  background: repeating-linear-gradient(-45deg, #fff 0 18px, #efefef 18px 36px);
}
.effect-art.no-image::before {
  content: attr(data-fallback);
  font: 900 34px/1 "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
  text-align: center;
  padding: 15px;
}
.price-pill {
  position: absolute;
  z-index: 5;
  left: 10px;
  top: 10px;
  padding: 7px 13px 6px;
  background: var(--yellow);
  border: 3px solid #000;
  border-radius: 999px;
  box-shadow: 3px 4px 0 #000;
  font: 900 20px/1 "Arial Black", Arial, sans-serif;
  -webkit-text-stroke: 1px #000;
  paint-order: stroke fill;
  transform: rotate(-3deg);
}
.effect-body { padding: 13px 14px 12px; display: flex; flex-direction: column; flex: 1; }
.effect-body h3 {
  margin: 0 0 6px;
  font-family: "Pricedown BL", Impact, "Arial Black", sans-serif;
  font-size: 33px;
  line-height: .9;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 4.7px #000;
  paint-order: stroke fill;
  text-shadow: 3px 4px 0 rgba(0,0,0,.14);
}
.effect-body p { margin: 0 0 10px; font-weight: 700; line-height: 1.22; color: #262626; }
.meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; margin-bottom: 10px; }
.meta span {
  background: #111;
  color: #fff;
  padding: 5px 7px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.activate {
  width: 100%;
  border: 3px solid #000;
  background: var(--section);
  padding: 10px 10px 8px;
  font: 900 16px/1 "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
  box-shadow: 3px 4px 0 #000;
}
.activate:hover { filter: brightness(1.06); transform: translate(1px,1px); box-shadow: 2px 3px 0 #000; }
.activate:disabled {
  cursor: wait;
  opacity: .58;
  filter: grayscale(.35);
  transform: none;
  box-shadow: 2px 3px 0 #000;
}

.empty-state {
  max-width: 1280px;
  margin: 70px auto;
  border: 4px solid #000;
  padding: 35px;
  background: #fff;
  box-shadow: var(--shadow);
  font: 900 26px "Arial Black", Arial, sans-serif;
}

footer {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  align-items: end;
  padding: 48px clamp(20px, 6vw, 90px);
  color: #fff;
  background: #090909;
  border-top: 7px solid var(--green);
}
footer div { display: flex; flex-direction: column; }
footer strong { color: var(--green); font-size: 48px; }
footer span { font-weight: 800; opacity: .7; }
footer a { color: #fff; font: 900 13px "Arial Black", Arial; }

.effect-modal, .how-modal {
  width: min(920px, calc(100vw - 26px));
  max-height: 90vh;
  border: 5px solid #000;
  padding: 0;
  background: #fff;
  box-shadow: 12px 14px 0 rgba(0,0,0,.65);
  overflow: auto;
}
.effect-modal::backdrop, .how-modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }
.effect-modal { grid-template-columns: minmax(250px,.9fr) minmax(320px,1.1fr); }
.effect-modal[open] { display: grid; }
.modal-close {
  position: absolute;
  z-index: 6;
  top: 9px;
  right: 9px;
  width: 43px;
  height: 43px;
  border: 3px solid #000;
  background: var(--red);
  color: white;
  font: 900 27px/1 Arial;
}
.modal-art-wrap {
  min-height: 440px;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: linear-gradient(150deg, #6d88e1, #eaf0ff 62%);
  border-right: 5px solid #000;
  overflow: hidden;
}
.modal-art-wrap img { max-width: 95%; max-height: 370px; object-fit: contain; filter: drop-shadow(8px 9px 0 rgba(0,0,0,.25)); }
.modal-content { position: relative; padding: 80px 30px 28px; }
.modal-content .price-pill { top: 22px; left: 28px; }
.modal-content h2 {
  font-size: clamp(46px, 6vw, 76px);
  line-height: .85;
  margin: 0 0 16px;
  color: var(--green);
  -webkit-text-stroke: 5px #000;
  paint-order: stroke fill;
}
.modal-content p { font-size: 18px; line-height: 1.35; font-weight: 700; }
.hud-preview { border: 3px solid #000; background: #101010; color: white; padding: 13px; margin: 20px 0; }
.hud-preview span { display: block; color: #999; font: 900 10px "Arial Black", Arial; margin-bottom: 7px; }
.hud-preview strong { font: 800 14px/1.35 Arial; color: #fff; }

.donor-fields {
  display: grid;
  gap: 13px;
  margin: 18px 0 20px;
}
.donor-field {
  display: block;
  position: relative;
}
.donor-field > span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 6px;
  font: 900 13px/1 "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
}
.donor-field > span b {
  padding: 4px 6px 3px;
  background: var(--yellow);
  border: 2px solid #000;
  font-size: 8px;
  letter-spacing: .4px;
}
.donor-field input,
.donor-field textarea {
  width: 100%;
  border: 4px solid #000;
  outline: 0;
  background: #fff;
  color: #111;
  padding: 11px 12px;
  box-shadow: 4px 5px 0 #000;
  border-radius: 0;
  font: 800 15px/1.25 Arial, Helvetica, sans-serif;
  resize: vertical;
}
.donor-field input:focus,
.donor-field textarea:focus {
  background: #fff7cf;
  transform: translate(1px, 1px);
  box-shadow: 3px 4px 0 #000;
}
.donor-field textarea { min-height: 78px; max-height: 150px; }
.donor-field small {
  display: block;
  margin: 6px 1px 0;
  text-align: right;
  font: 900 10px/1 "Arial Black", Arial, sans-serif;
  color: #777;
}
.donor-field small strong { color: #111; }
.donor-field.invalid input {
  background: #ffdada;
  border-color: var(--red);
}

.modal-pay { width: 100%; }
.modal-pay:disabled { cursor: wait; filter: grayscale(.25); opacity: .72; transform: translate(2px, 2px); box-shadow: 2px 3px 0 #000; }
.modal-content small { display: block; margin-top: 11px; font-weight: 700; color: #666; }
.how-modal { padding: 34px; }
.how-modal h2 { font-size: 62px; line-height: .85; margin: 15px 50px 22px 0; color: var(--green); -webkit-text-stroke: 5px #000; paint-order: stroke fill; }
.how-modal ol { padding-left: 28px; font: 900 20px/1.55 "Arial Black", Arial; }
.how-modal p { font-weight: 700; line-height: 1.4; }

.toast {
  position: fixed;
  z-index: 99;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  width: min(570px, calc(100vw - 30px));
  padding: 13px 16px;
  color: #000;
  background: var(--yellow);
  border: 3px solid #000;
  box-shadow: 5px 6px 0 #000;
  font: 900 13px "Arial Black", Arial;
  transition: .18s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 1021px) {
  .hero {
    min-height: 790px;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 1fr);
    padding-bottom: 125px;
  }

  .hero-copy {
    max-width: 730px;
    position: relative;
    z-index: 3;
  }

  .hero-brush {
    width: min(1160px, 94vw);
    left: -120px;
    top: 0;
  }

  .hero-cj {
    width: min(980px, 68vw);
    max-width: none;
    justify-self: end;
    align-self: end;
    margin-right: -30px;
    margin-bottom: -95px;
    filter: drop-shadow(18px 20px 0 rgba(0,0,0,.24));
    transform: translateX(-110px) rotate(4deg) scaleX(1.42) scaleY(1.12);
    transform-origin: bottom right;
  }
}

@media (max-width: 1020px) {
  .hero { min-height: 560px; padding-top: 55px; }
  .effect-card { grid-column: span 6; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .top-strip { font-size: 10px; }
  .hero { grid-template-columns: 1fr; min-height: 720px; padding: 55px 20px 65px; text-align: center; }
  .hero-brush { width: 150%; left: -25%; top: 32px; }
  .hero-copy { margin: 0 auto; }
  .hero h1 { font-size: clamp(82px, 25vw, 126px); }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-cj { width: min(430px, 78vw); margin-top: -20px; }
  main { padding-left: 11px; padding-right: 11px; }
  .controls { top: 36px; margin-left: 2px; margin-right: 2px; }
  .category-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .category-tabs button { flex: 0 0 auto; }
  .menu-section { margin-top: 58px; }
  .menu-section::before { left: -10px; right: -10px; }
  .section-title { font-size: 58px; -webkit-text-stroke-width: 4px; }
  .effect-grid { display: flex; flex-direction: column; }
  .effect-card, .effect-card.wide, .effect-card.featured { min-height: 0; width: 100%; }
  .effect-art, .effect-card.featured .effect-art { height: 230px; }
  .effect-card.featured .effect-art img, .effect-art img { max-height: 202px; max-width: 98%; }
  footer { align-items: flex-start; flex-direction: column; }
  .effect-modal[open] { display: block; }
  .modal-art-wrap { min-height: 250px; border-right: 0; border-bottom: 5px solid #000; }
  .modal-art-wrap img { max-height: 220px; }
  .modal-content { padding-top: 72px; }
}
