:root {
  --ink: #101010;
  --paper: #f4efdf;
  --lime: #b7ff18;
  --purple: #6c39ff;
  --orange: #ff5b22;
  --pink: #ff4c9d;
  --muted: #d9d2bf;
  --line: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 16, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 16, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 4px solid var(--purple);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border: var(--line);
  background: var(--lime);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.pilot-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 34px;
  padding: 6px 18px;
  color: white;
  background: var(--ink);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.pilot-bar span {
  padding: 2px 6px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
}

.pilot-bar p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: var(--line);
  background: rgba(244, 239, 223, 0.94);
  backdrop-filter: blur(10px);
}

.wordmark {
  display: inline-grid;
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 1000;
  line-height: 0.82;
  letter-spacing: -0.08em;
  transform: skew(-7deg);
}

.wordmark span {
  width: max-content;
  padding: 4px 7px;
  background: var(--ink);
}

.wordmark span:last-child {
  margin-left: 12px;
  color: var(--ink);
  background: var(--lime);
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 42px);
}

.site-header nav a,
.text-link {
  border: 0;
  background: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 800;
  cursor: pointer;
}

.cart-button,
.filters button {
  padding: 10px 14px;
  border: var(--line);
  color: var(--ink);
  background: white;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 4px;
  border-radius: 999px;
  color: white;
  background: var(--purple);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 690px;
  border-bottom: var(--line);
}

.hero-copy,
.hero-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 110px) clamp(22px, 5vw, 80px);
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "15%ish";
  position: absolute;
  right: -28px;
  bottom: 30px;
  color: rgba(108, 57, 255, 0.12);
  font-size: clamp(80px, 12vw, 190px);
  font-weight: 1000;
  letter-spacing: -0.1em;
  transform: rotate(-12deg);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 126px);
  font-weight: 1000;
  line-height: 0.82;
  letter-spacing: -0.085em;
}

h1 span {
  color: var(--purple);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 6px 6px 0 var(--lime);
}

.hero-intro {
  max-width: 650px;
  margin: 0 0 28px;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: var(--line);
  color: var(--ink);
  background: white;
  box-shadow: 6px 6px 0 var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Courier New", monospace;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

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

.button-full {
  width: 100%;
}

.hero-stamps {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.hero-stamps span,
.product-badge {
  padding: 6px 8px;
  border: 2px solid var(--ink);
  background: white;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 900;
}

.hero-art {
  overflow: hidden;
  border-left: var(--line);
  background:
    radial-gradient(circle at 20% 30%, var(--pink) 0 3px, transparent 4px),
    linear-gradient(135deg, transparent 0 43%, rgba(16, 16, 16, 0.18) 43% 47%, transparent 47% 100%),
    var(--purple);
  background-size: 24px 24px, 54px 54px, auto;
}

.window {
  width: min(100%, 570px);
  margin: auto;
  border: 4px solid var(--ink);
  background: #bdbdbd;
  box-shadow: 14px 14px 0 rgba(16, 16, 16, 0.65);
  transform: rotate(2deg);
}

.window-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px;
  border-bottom: 4px solid var(--ink);
  color: white;
  background: linear-gradient(90deg, #010081, #1084d0);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
}

.window-body {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(45deg, #ddd 25%, transparent 25%),
    linear-gradient(-45deg, #ddd 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ddd 75%),
    linear-gradient(-45deg, transparent 75%, #ddd 75%),
    #f5f5f5;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.window-body::after,
.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.window-body img {
  width: 82%;
  filter: saturate(0.75) contrast(1.16) brightness(0.98);
  image-rendering: auto;
  transform: rotate(-8deg);
}

.window-body p {
  position: absolute;
  top: 18px;
  left: 20px;
  margin: 0;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 1000;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.sticker {
  position: absolute;
  right: 14px;
  bottom: 20px;
  padding: 12px;
  border: 3px solid var(--ink);
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Courier New", monospace;
  font-weight: 900;
  line-height: 1.1;
  transform: rotate(6deg);
}

.ticker {
  overflow: hidden;
  border-bottom: var(--line);
  color: white;
  background: var(--ink);
  font-family: "Courier New", monospace;
  font-weight: 900;
  white-space: nowrap;
}

.ticker div {
  width: max-content;
  padding: 10px 0;
  animation: ticker 26s linear infinite;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section-shell {
  padding: clamp(64px, 9vw, 130px) clamp(18px, 5vw, 80px);
  border-bottom: var(--line);
}

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

.section-heading h2,
.deal h2,
.fine-print h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 1000;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

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

.filters button.is-active {
  color: white;
  background: var(--purple);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: var(--line);
  background: #fffdf5;
  box-shadow: var(--shadow);
}

.product-card[hidden] {
  display: none;
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  border-bottom: var(--line);
  background: var(--muted);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.72) contrast(1.14) brightness(0.98);
  transition: transform 180ms steps(3, end), filter 180ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.045) rotate(-1deg);
  filter: saturate(0.9) contrast(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--lime);
  transform: rotate(-3deg);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-meta {
  margin: 0 0 10px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 1000;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.product-description {
  margin: 0 0 18px;
  color: #3d3d3d;
}

.spec-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: auto 0 18px;
  padding: 0;
  list-style: none;
}

.spec-list li {
  padding: 4px 7px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 900;
}

.product-buy {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 2px dashed var(--ink);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price strong {
  font-size: 28px;
  line-height: 1;
}

.price s {
  color: #696969;
  font-family: "Courier New", monospace;
  font-size: 13px;
}

.add-button {
  padding: 10px 12px;
  border: 3px solid var(--ink);
  background: var(--orange);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 1000;
  cursor: pointer;
}

.add-button:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

.deal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 110px);
  color: white;
  background: var(--purple);
}

.deal-lead > p:last-child {
  max-width: 660px;
  font-size: 20px;
  font-weight: 700;
}

.deal-steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.deal-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 20px;
  padding: 22px;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.deal-steps li:nth-child(2) {
  transform: translateX(18px) rotate(0.5deg);
}

.deal-steps span {
  grid-row: span 2;
  font-family: "Courier New", monospace;
  font-size: 28px;
  font-weight: 900;
}

.deal-steps h3 {
  margin-bottom: 5px;
  font-size: 24px;
}

.deal-steps p {
  margin: 0;
}

.manifesto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: var(--lime);
}

.manifesto p {
  margin: 0;
  padding: 14px 18px;
  border: var(--line);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: clamp(28px, 4vw, 66px);
  font-weight: 1000;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.manifesto p:nth-child(2),
.manifesto p:nth-child(3) {
  color: white;
  background: var(--ink);
}

.fine-print {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 100px);
}

.fine-print-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.fine-print-grid p {
  margin: 0;
  padding-top: 14px;
  border-top: var(--line);
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 36px clamp(18px, 5vw, 80px);
  color: white;
  background: var(--ink);
  font-size: 13px;
}

footer p {
  margin: 0;
}

.wordmark-small {
  font-size: 15px;
}

.overlay {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(16, 16, 16, 0.68);
  backdrop-filter: blur(3px);
}

.cart-drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  height: 100dvh;
  padding: 24px;
  border-left: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: -12px 0 0 var(--lime);
  transform: translateX(110%);
  transition: transform 180ms ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-header,
.checkout-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: var(--line);
}

.drawer-header h2,
.checkout-head h2 {
  margin: 0;
  font-size: 38px;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: var(--line);
  background: white;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.cart-items {
  overflow: auto;
  padding: 8px 2px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 2px dashed var(--ink);
}

.cart-item img {
  width: 74px;
  height: 74px;
  border: 2px solid var(--ink);
  background: white;
  object-fit: contain;
  filter: saturate(0.75) contrast(1.12);
}

.cart-item h3 {
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1;
}

.cart-item p {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
}

.quantity {
  display: grid;
  grid-template-columns: repeat(3, 28px);
  align-items: center;
  margin-top: 8px;
  text-align: center;
}

.quantity button {
  height: 28px;
  border: 2px solid var(--ink);
  background: white;
  font-weight: 900;
  cursor: pointer;
}

.remove-button {
  border: 0;
  background: none;
  text-decoration: underline;
  font-size: 12px;
  cursor: pointer;
}

.cart-empty {
  margin: auto;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.cart-totals {
  margin-top: auto;
  padding-top: 18px;
  border-top: var(--line);
}

.cart-totals > div,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 22px;
}

.cart-totals > p {
  font-size: 12px;
}

.checkout-modal {
  position: fixed;
  z-index: 60;
  inset: 50% auto auto 50%;
  width: min(960px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: clamp(20px, 4vw, 38px);
  border: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--lime);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease;
}

.checkout-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 32px;
  padding-top: 26px;
}

.notice {
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  background: var(--lime);
}

fieldset {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 18px;
  border: var(--line);
  background: #fffdf5;
}

legend {
  padding: 0 6px;
  font-family: "Courier New", monospace;
  font-weight: 900;
}

label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input {
  min-width: 0;
  height: 44px;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: white;
}

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

.field-row-three {
  grid-template-columns: 1fr 0.6fr 0.6fr;
}

.payment-placeholder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.payment-placeholder > span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 52px;
  border: 2px solid var(--ink);
  background: #71f0bd;
  font-weight: 1000;
  transform: skew(-5deg);
}

.payment-placeholder p,
.payment-placeholder strong {
  margin: 0;
}

.payment-placeholder p {
  font-size: 12px;
}

.form-result {
  min-height: 24px;
  margin-bottom: 0;
  font-weight: 900;
}

.checkout-summary {
  align-self: start;
  padding: 20px;
  border: var(--line);
  background: white;
  box-shadow: 6px 6px 0 var(--ink);
}

.checkout-summary h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 2px dashed var(--ink);
  font-size: 13px;
}

.summary-total {
  margin-top: 16px;
  font-size: 16px;
}

.noscript {
  position: fixed;
  z-index: 100;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 12px;
  border: var(--line);
  background: var(--lime);
  text-align: center;
  font-weight: 900;
}

@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fine-print { grid-template-columns: 1fr; }
  .fine-print-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: auto 1fr; gap: 16px; }
  .site-header nav { display: none; }
  .cart-button { justify-self: end; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 560px; border-top: var(--line); border-left: 0; }
  .deal { grid-template-columns: 1fr; }
  .deal-steps li:nth-child(2) { transform: none; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { grid-row: 1; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .pilot-bar { align-items: start; text-align: left; }
  .hero-copy, .hero-art { padding-inline: 20px; }
  .hero-art { min-height: 480px; }
  .window-body { min-height: 380px; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr; }
  .fine-print-grid { grid-template-columns: 1fr; }
  .field-row, .field-row-three { grid-template-columns: 1fr; }
  .checkout-modal { width: calc(100% - 18px); max-height: calc(100dvh - 18px); box-shadow: 6px 6px 0 var(--lime); }
  .cart-drawer { padding: 18px; }
}

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