:root {
  --paper: #f7f2e8;
  --ink: #111111;
  --yellow: #ffd45d;
  --pink: #ff6f91;
  --mint: #a7f3d0;
  --white: #fffdf8;
  --muted: #6b675f;
  --line: #111111;
  --shadow: 9px 9px 0 var(--ink);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: .7rem 1rem;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
}
.nav-wrap { height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 950; text-decoration: none; font-size: 1.15rem; letter-spacing: -.03em; }
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; background: #ffffff; border: 3px solid var(--ink); border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.brand-logo { background: #ffffff; padding: 0; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; border-radius: 50%; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 750; font-size: .95rem; }
.nav a:hover { text-decoration: underline 3px var(--pink); text-underline-offset: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.02em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(0,0); box-shadow: none; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-dark { background: var(--ink); color: white; }
.btn-small { min-height: 42px; padding-inline: 17px; }
.btn-wide { width: 100%; }

.hero { overflow: hidden; }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-block: 70px 80px; }
.eyebrow { display: inline-block; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; padding: 6px 10px; border: 2px solid var(--ink); background: var(--white); transform: rotate(-1deg); }
h1, h2, h3 { margin: 0; line-height: .98; letter-spacing: -.055em; }
h1 { font-size: clamp(4.2rem, 8vw, 8rem); margin-top: 22px; font-weight: 1000; }
h1 span { color: var(--pink); text-shadow: 3px 3px 0 var(--ink); -webkit-text-stroke: 1.5px var(--ink); }
.lede { max-width: 670px; font-size: clamp(1.15rem, 2vw, 1.5rem); margin: 28px 0; font-weight: 650; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { font-weight: 900; text-underline-offset: 5px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.trust-row span { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 7px 11px; font-size: .83rem; font-weight: 800; }

.hero-art { position: relative; display: grid; place-items: center; padding: 22px; }
.card-frame { width: min(480px, 92%); background: white; border: 3px solid var(--ink); border-radius: 30px; padding: 14px; box-shadow: 14px 14px 0 var(--ink); transform: rotate(2.4deg); }
.card-frame img { border-radius: 18px; aspect-ratio: 853 / 1280; object-fit: cover; }
.sticker { position: absolute; z-index: 2; border: 2px solid var(--ink); padding: 9px 14px; font-weight: 1000; box-shadow: 4px 4px 0 var(--ink); }
.sticker-top { top: 10%; right: 0; background: var(--mint); transform: rotate(8deg); }
.sticker-bottom { bottom: 8%; left: 0; background: var(--pink); transform: rotate(-8deg); }

.ticker { overflow: hidden; background: var(--ink); color: var(--yellow); border-block: 2px solid var(--ink); }
.ticker-track { white-space: nowrap; font-weight: 1000; letter-spacing: .04em; padding: 14px 0; animation: marquee 28s linear infinite; width: max-content; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

.section { padding-block: 100px; }
.section-heading { max-width: 800px; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(2.7rem, 5vw, 5.2rem); margin-top: 18px; }
.section-heading.compact h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { min-height: 250px; border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; background: var(--white); box-shadow: 7px 7px 0 var(--ink); }
.step-card:nth-child(2) { background: var(--yellow); transform: rotate(-1deg); }
.step-card:nth-child(3) { background: var(--mint); transform: rotate(1deg); }
.step-number { font-weight: 1000; font-size: .82rem; letter-spacing: .12em; }
.step-card h3 { font-size: 2.3rem; margin: 52px 0 12px; }
.step-card p { font-weight: 650; margin: 0; }

.build-section { background: var(--pink); border-block: 2px solid var(--ink); }
.build-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; }
.builder-card { background: var(--white); border: 2px solid var(--ink); border-radius: 30px; padding: 30px; box-shadow: 10px 10px 0 var(--ink); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; margin: 28px 0; background: var(--paper); }
.seg { border: 0; background: transparent; padding: 13px 16px; font-weight: 900; }
.seg + .seg { border-left: 2px solid var(--ink); }
.seg.active { background: var(--yellow); }

form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; font-weight: 900; }
input, textarea, select { width: 100%; border: 2px solid var(--ink); border-radius: 14px; background: white; padding: 13px 14px; outline: none; }
input:focus, textarea:focus, select:focus { box-shadow: 0 0 0 4px var(--yellow); }
textarea { resize: vertical; }
.form-row { display: grid; gap: 16px; }
.two-col { grid-template-columns: 1fr 1fr; }
.counter { float: right; color: var(--muted); font-size: .78rem; font-weight: 800; }
.order-summary { border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; }
.order-summary > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 14px; }
.order-summary > div + div { border-top: 1px dashed var(--ink); }
.total-row { background: var(--yellow); font-size: 1.15rem; }
.tiny-note { margin: -6px 4px 0; color: var(--muted); font-size: .76rem; font-weight: 650; }

.preview-wrap { position: sticky; top: 105px; }
.preview-label { display: inline-block; background: var(--ink); color: white; padding: 7px 10px; font-weight: 1000; letter-spacing: .12em; font-size: .72rem; margin-bottom: 15px; transform: rotate(-2deg); }
.postcard { border: 3px solid var(--ink); background: white; border-radius: 22px; overflow: hidden; box-shadow: 12px 12px 0 var(--ink); transform: rotate(1deg); }
.postcard-single { display: block; }
.postcard-single-image { width: 100%; height: auto; display: block; }
.turnover-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 18px 4px 0;
  padding: 12px 14px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
}
.turnover-arrow {
  font-size: 2rem;
  line-height: 1;
  font-weight: 1000;
}
.turnover-copy {
  display: grid;
  gap: 2px;
  line-height: 1.15;
}
.turnover-copy strong {
  font-size: .95rem;
  font-weight: 1000;
  letter-spacing: -.02em;
}
.turnover-copy span {
  font-size: .9rem;
  font-weight: 800;
}

.manifesto { background: var(--ink); color: white; }
.manifesto .eyebrow { color: var(--ink); background: var(--yellow); }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.manifesto h2 { margin-top: 20px; font-size: clamp(3rem, 6vw, 6rem); }
.manifesto-copy { font-size: 1.25rem; font-weight: 650; }
.manifesto-copy p { margin: 0 0 20px; }

details { border-bottom: 2px solid var(--ink); }
summary { list-style: none; cursor: pointer; padding: 22px 4px; font-size: 1.2rem; font-weight: 950; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; }
details[open] summary::after { content: "−"; }
details p { margin: 0 4px 22px; max-width: 760px; font-weight: 600; color: #35332f; }
code { background: #ece6da; border: 1px solid #b9b1a3; padding: .12rem .32rem; border-radius: 5px; }

.site-footer { border-top: 2px solid var(--ink); padding: 42px 0; }
.footer-grid { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.footer-brand { margin-bottom: 10px; }
.site-footer p, .footer-note { margin: 0; color: var(--muted); font-weight: 700; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 13px 18px; border-radius: 999px; font-weight: 850; opacity: 0; pointer-events: none; transition: .2s ease; z-index: 100; box-shadow: 4px 4px 0 var(--yellow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-wrap .btn { margin-left: auto; }
  .hero-grid, .build-grid, .manifesto-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 50px 70px; }
  .hero-art { margin-top: 8px; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: 210px; }
  .step-card h3 { margin-top: 35px; }
  .preview-wrap { position: static; }
  .manifesto-grid { gap: 38px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); }
  .section { padding-block: 70px; }
  h1 { font-size: clamp(3.5rem, 18vw, 5.5rem); }
  .builder-card { padding: 20px; }
  .two-col, .segmented { grid-template-columns: 1fr; }
  .seg + .seg { border-left: 0; border-top: 2px solid var(--ink); }
  .postcard { transform: none; }
  .turnover-note { width: 100%; }
  .footer-grid { align-items: start; flex-direction: column; }
}

/* Streamlined order controls */
.quick-order {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) minmax(240px, 1.35fr);
  gap: 16px;
  align-items: end;
  margin-top: 22px;
}
.quantity-control { margin: 0; }
.quick-order .btn { min-height: 52px; }

/* Cart */
.cart-main { min-height: calc(100vh - 74px); padding: 72px 0 100px; }
.cart-shell { width: min(760px, calc(100% - 36px)); margin-inline: auto; }
.cart-card { background: var(--white); border: 2px solid var(--ink); border-radius: 30px; padding: 30px; box-shadow: 10px 10px 0 var(--ink); }
.cart-card h1 { font-size: clamp(3rem, 8vw, 5.7rem); margin: 18px 0 32px; }
.cart-item { display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: center; padding: 18px; border: 2px solid var(--ink); border-radius: 20px; background: var(--paper); }
.cart-thumb { aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid var(--ink); border-radius: 16px; background: white; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-copy h2 { font-size: 1.55rem; margin: 0 0 8px; letter-spacing: -.03em; }
.cart-copy p { margin: 0 0 16px; font-weight: 700; color: var(--muted); }
.cart-controls { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; }
.cart-price { font-size: 1.35rem; font-weight: 1000; white-space: nowrap; padding-bottom: 10px; }

.delivery-details {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}
.delivery-heading { margin-bottom: 20px; }
.delivery-heading h2 { margin-top: 14px; font-size: clamp(2rem, 5vw, 3rem); }
.delivery-form { display: grid; gap: 16px; }
.delivery-row { display: grid; grid-template-columns: 1fr .7fr; gap: 16px; }
.optional { color: var(--muted); font-size: .75rem; font-weight: 750; margin-left: 4px; }

.cart-total { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 24px 0 18px; padding: 18px 2px 0; border-top: 2px solid var(--ink); font-size: 1.3rem; font-weight: 1000; }
.cart-actions { display: grid; gap: 12px; }
.back-link { text-align: center; font-weight: 850; text-underline-offset: 4px; }

@media (max-width: 620px) {
  .quick-order { grid-template-columns: 1fr; }
  .cart-main { padding-top: 50px; }
  .cart-card { padding: 20px; }
  .cart-item { grid-template-columns: 82px 1fr; gap: 15px; }
  .cart-controls { grid-template-columns: 1fr; }
  .cart-price { padding-bottom: 0; }
  .delivery-row { grid-template-columns: 1fr; }
}
.keep-shopping { margin-left: auto; }
.affection-note { font-size: .95em; font-weight: 400; }

/* Price + postage offer */
.order-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.offer-price {
  font-size: 1.35rem;
  font-weight: 1000;
  letter-spacing: -.02em;
}
.offer-price span {
  font-size: .95rem;
  font-weight: 800;
}
.free-postage-banner {
  width: fit-content;
  padding: 7px 11px 6px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: .76rem;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}
.free-postage-banner-inline { margin-left: auto; }
.price-stack { text-align: right; }
.delivery-speed {
  margin-top: 2px;
  font-size: .76rem;
  font-weight: 850;
  color: var(--muted);
  white-space: nowrap;
}
.cart-total small {
  font-size: .72em;
  font-weight: 800;
  color: var(--muted);
}
@media (max-width: 620px) {
  .free-postage-banner-inline { margin-left: 0; }
  .price-stack { text-align: left; }
}
