:root {
  --ink: #21183b;
  --muted: #6f6784;
  --paper: #fffdf8;
  --purple: #6d4cff;
  --purple-dark: #5033d7;
  --yellow: #ffd84d;
  --orange: #ff8b3d;
  --pink: #ff5f9f;
  --aqua: #49d9cf;
  --mint: #bff45e;
  --line: #e8e1f1;
  --shadow: 0 18px 45px rgba(49, 28, 94, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.announcement {
  background: var(--ink);
  color: white;
  padding: 10px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.site-header {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-cube {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 27px;
  transform: rotate(-4deg);
}
.brand strong { display: block; font: 800 24px/20px "Baloo 2", sans-serif; }
.brand small { display: block; margin-top: 4px; font-size: 9px; font-weight: 900; letter-spacing: .22em; }
nav { display: flex; gap: 28px; font-weight: 800; font-size: 14px; }
nav a:hover { color: var(--purple); }
.cart-button {
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}
.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  margin-left: 4px;
  color: white;
  background: var(--purple);
}

.hero {
  width: min(1180px, calc(100% - 36px));
  min-height: 570px;
  margin: 18px auto 72px;
  padding: 72px 70px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  border: 3px solid var(--ink);
  border-radius: 38px;
  background:
    radial-gradient(circle at 8% 15%, rgba(255,216,77,.75) 0 7%, transparent 7.2%),
    radial-gradient(circle at 92% 20%, rgba(73,217,207,.58) 0 12%, transparent 12.2%),
    linear-gradient(135deg, #f5efff 0%, #fff9e8 50%, #f8fbff 100%);
  box-shadow: 12px 12px 0 var(--ink);
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -70px;
  border-radius: 50%;
  border: 30px solid var(--pink);
  opacity: .25;
}
.eyebrow, .kicker {
  display: inline-block;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .16em;
}
.hero h1, h2, h3 { font-family: "Baloo 2", sans-serif; }
.hero h1 {
  margin: 12px 0 18px;
  max-width: 650px;
  font-size: clamp(64px, 7.2vw, 102px);
  line-height: .78;
  letter-spacing: -.045em;
}
.hero h1 span { color: var(--purple); }
.hero-copy > p { max-width: 620px; font-size: 18px; line-height: 1.65; color: #514867; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translate(-2px,-2px); }
.button.primary { background: var(--purple); color: white; box-shadow: 5px 5px 0 var(--ink); }
.button.secondary { background: white; box-shadow: 5px 5px 0 var(--ink); }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; font-size: 12px; font-weight: 900; color: var(--muted); }

.hero-art { position: relative; min-height: 320px; display: grid; place-items: center; }
.photo-card {
  position: relative;
  width: min(248px, 82%);
  padding: 12px 12px 40px;
  background: white;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(4deg);
  z-index: 2;
}
.owen-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid var(--ink);
}
.hand-note { position: absolute; bottom: 12px; right: 12px; font: 800 15px "Baloo 2", sans-serif; transform: rotate(-2deg); }
.printer-illustration { width: 122px; filter: drop-shadow(6px 7px 0 rgba(33,24,59,.16)); }
.printer-top { height: 18px; background: var(--purple); border: 3px solid var(--ink); border-radius: 12px 12px 3px 3px; }
.printer-window { height: 94px; display: grid; place-items: center; background: #292141; border: 3px solid var(--ink); border-top: 0; }
.printer-window span { font-size: 44px; }
.printer-base { height: 19px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 3px 3px 10px 10px; }
.spark { position: absolute; font-size: 42px; z-index: 1; }
.spark-a { left: 1%; top: 10%; color: var(--pink); transform: rotate(-15deg); }
.spark-b { right: 2%; top: 2%; color: var(--orange); }
.spark-c { right: 0; bottom: 9%; color: var(--purple); }

.ticker {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  padding: 14px 20px;
  background: var(--yellow);
  border-block: 3px solid var(--ink);
  font: 900 13px "Baloo 2", sans-serif;
  letter-spacing: .07em;
  white-space: nowrap;
  overflow: hidden;
}

.shop-section { width: min(1180px, calc(100% - 36px)); margin: 90px auto; }
.section-heading { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 34px; }
.section-heading h2 { margin: 3px 0 0; font-size: clamp(38px, 5vw, 58px); line-height: 1; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); line-height: 1.6; }
.section-heading.centered { display: block; text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.product-card {
  overflow: hidden;
  background: white;
  border: 2.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.product-art {
  min-height: 215px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2.5px solid var(--ink);
}
.product-art:before, .product-art:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.34);
}
.product-art:before { width: 110px; height: 110px; left: -30px; top: -35px; }
.product-art:after { width: 70px; height: 70px; right: -18px; bottom: -25px; }
.product-art .model { font-size: 92px; transform: rotate(-5deg); filter: drop-shadow(0 12px 2px rgba(33,24,59,.16)); }
.product-tag { position: absolute; top: 12px; left: 12px; background: white; border: 2px solid var(--ink); border-radius: 999px; padding: 5px 9px; font-size: 10px; font-weight: 1000; z-index: 2; }
.product-body { padding: 17px; }
.product-title-row { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.product-title-row h3 { margin: 0; font-size: 22px; line-height: 1.05; }
.price { font-weight: 1000; font-size: 18px; }
.product-body p { min-height: 57px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.product-footer { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 14px; }
.tax-note { font-size: 10px; color: var(--muted); font-weight: 800; }
.add-button { border: 0; border-radius: 10px; padding: 10px 13px; background: var(--ink); color: white; font-weight: 900; cursor: pointer; }
.add-button:hover { background: var(--purple); }

.about-section {
  width: min(1180px, calc(100% - 36px));
  margin: 110px auto;
  display: grid;
  gap: 22px;
}
.about-badge, .quote-card, .about-card, .about-photo-card { border: 3px solid var(--ink); border-radius: 26px; box-shadow: 7px 7px 0 var(--ink); }
.about-card {
  background: white;
  padding: 32px 36px 28px;
  overflow: hidden;
}
.about-photo-card {
  float: left;
  width: 176px;
  margin: 6px 22px 14px 0;
  position: relative;
  overflow: hidden;
  transform: rotate(-2deg);
  background: var(--yellow);
}
.owen-photo-about {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: 50% 18%;
}
.about-badge-overlay {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 7px 8px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  text-align: center;
  font: 900 13px/.95 "Baloo 2", sans-serif;
}
.about-card h2 { margin: 5px 0 12px; font-size: 44px; }
.about-card p { color: var(--muted); line-height: 1.66; margin: 0 0 12px; }
.about-tagline {
  display: inline-block;
  margin: 18px 0 14px !important;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink) !important;
  font: 900 15px/1.25 "Baloo 2", sans-serif;
  letter-spacing: .02em;
}
.quote-card {
  padding: 18px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: var(--aqua);
  transform: rotate(0.4deg);
}
.quote-card > span { font: 900 64px/.6 Georgia, serif; }
.quote-card p { margin: 0; font: 800 24px/1.15 "Baloo 2", sans-serif; }
.quote-card small { font-weight: 900; white-space: nowrap; }

.how-section { width: min(1180px, calc(100% - 36px)); margin: 90px auto 110px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 34px; }
.steps article { min-height: 180px; display: flex; gap: 14px; padding: 24px; background: white; border: 2px solid var(--line); border-radius: 20px; }
.steps b { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--purple); color: white; font: 900 21px "Baloo 2", sans-serif; }
.steps h3 { margin: 1px 0 5px; font-size: 22px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 13px; }

.cta-section { width: min(1180px, calc(100% - 36px)); margin: 0 auto 100px; padding: 45px 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 3px solid var(--ink); border-radius: 28px; background: var(--purple); color: white; box-shadow: 8px 8px 0 var(--ink); }
.cta-section span { font-size: 11px; font-weight: 1000; letter-spacing: .14em; }
.cta-section h2 { margin: 3px 0 0; font-size: 46px; }
.button.light { background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }

footer { padding: 50px 22px 65px; text-align: center; background: #f4effd; border-top: 2px solid var(--ink); }
.footer-brand { margin-bottom: 12px; }
footer > p { color: var(--muted); }
.fine-print { max-width: 760px; margin: 16px auto 0; font-size: 12px; }
.copyright { font-size: 11px; font-weight: 900; }

.cart-backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(25,16,46,.52); backdrop-filter: blur(4px); }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 21;
  width: min(460px, 100%);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-left: 3px solid var(--ink);
  transform: translateX(105%);
  transition: transform .25s ease;
  box-shadow: -20px 0 60px rgba(35,21,62,.23);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--line); }
.cart-header h2 { margin: 2px 0 0; font-size: 34px; }
.close-cart { width: 38px; height: 38px; border-radius: 50%; background: white; border: 2px solid var(--ink); font-size: 24px; cursor: pointer; }
.cart-items { overflow-y: auto; padding: 14px 22px 0; }
.cart-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-item-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: #eee8ff; font-size: 32px; }
.cart-item h4 { margin: 0 0 3px; font-size: 14px; }
.cart-item .item-price { color: var(--muted); font-size: 12px; }
.qty-controls { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.qty-controls button { width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 7px; background: white; font-weight: 900; cursor: pointer; }
.remove-item { margin-top: 5px; border: 0; background: transparent; color: #a43d68; padding: 0; font-size: 10px; font-weight: 900; cursor: pointer; }
.cart-empty { padding: 55px 30px; text-align: center; color: var(--muted); }
.cart-empty > div { font-size: 54px; }
.cart-empty h3 { color: var(--ink); font-size: 23px; margin-bottom: 6px; }
.cart-empty p { margin: 0; }
.cart-bottom { margin-top: auto; padding: 19px 22px 22px; background: white; border-top: 2px solid var(--line); }
.fulfillment h3 { margin: 0 0 9px; font-size: 17px; }
.fulfillment-option { display: flex; gap: 10px; align-items: center; margin-top: 7px; padding: 11px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.fulfillment-option.selected { border-color: var(--purple); background: #f4f0ff; }
.fulfillment-option span { display: flex; flex-direction: column; }
.fulfillment-option strong { font-size: 13px; }
.fulfillment-option small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.totals { margin: 15px 0 12px; }
.totals > div { display: flex; justify-content: space-between; margin: 8px 0; color: var(--muted); font-size: 13px; }
.totals small { font-size: 9px; }
.grand-total { padding-top: 9px; border-top: 1px solid var(--line); color: var(--ink) !important; font-size: 18px !important; font-weight: 1000; }
.checkout-button { width: 100%; min-height: 50px; border: 2px solid var(--ink); border-radius: 12px; background: var(--purple); color: white; font-weight: 1000; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); }
.checkout-button:disabled { opacity: .55; cursor: wait; }
.checkout-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.4; }
.checkout-error { margin: 8px 0 0; color: #a12c59; text-align: center; font-size: 11px; font-weight: 900; }

@media (max-width: 960px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 55px 42px; }
  .hero-art { min-height: 280px; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px) {
  .announcement { font-size: 10px; }
  .site-header { height: 72px; width: min(100% - 22px, 1180px); }
  .brand-cube { width: 38px; height: 38px; }
  .brand strong { font-size: 20px; }
  .cart-button { font-size: 12px; }
  .hero { width: calc(100% - 22px); margin-top: 8px; padding: 42px 24px; border-radius: 26px; box-shadow: 7px 7px 0 var(--ink); }
  .hero h1 { font-size: 63px; }
  .hero-copy > p { font-size: 15px; }
  .photo-card { width: 210px; }
  .ticker { justify-content: flex-start; gap: 28px; }
  .shop-section, .about-section, .how-section, .cta-section { width: calc(100% - 24px); }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 15px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-art { min-height: 240px; }
  .about-photo-card {
    float: none;
    width: min(180px, 55%);
    margin: 0 auto 18px;
  }
  .quote-card { flex-direction: column; align-items: flex-start; gap: 6px; }
  .quote-card small { white-space: normal; }
  .steps { grid-template-columns: 1fr; }
  .cta-section { display: block; padding: 34px 27px; }
  .cta-section h2 { font-size: 38px; }
  .cta-section .button { margin-top: 20px; }
}
