:root {
  --burgundy: #7A1F35;
  --raspberry: #C2325B;
  --rose: #F2A7B8;
  --blush: #FBDDE2;
  --cream: #FFF6EC;
  --butter: #F6DFA4;
  --display: 'Bagel Fat One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --hand: 'Gochi Hand', 'Comic Sans MS', cursive;
  --body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--burgundy);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
h2 { font-size: clamp(2.25rem, 6vw, 3.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.hand { font-family: var(--hand); font-size: 1.75rem; line-height: 1; margin: 0 0 0.25rem; }
.tilt { transform: rotate(-4deg); transform-origin: left bottom; display: inline-block; }
.small { font-size: 0.9rem; }
.opt { font-weight: 400; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 48px; padding: 0.6rem 1.4rem;
  border-radius: 999px; border: 2px solid var(--burgundy);
  font: 800 1rem var(--body); letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--burgundy); color: var(--cream); }
.btn-solid:hover { background: #5f1628; }
.btn-line { background: transparent; color: var(--burgundy); }
.btn-big { min-height: 56px; padding: 0.8rem 1.8rem; font-size: 1.1rem; }
:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 3px; }
.count {
  background: var(--butter); color: var(--burgundy);
  border-radius: 999px; min-width: 1.6rem; height: 1.6rem;
  display: inline-grid; place-items: center; font-size: 0.9rem;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1.25rem;
  background: var(--cream); border-bottom: 2px solid var(--burgundy);
}
.wordmark { display: flex; align-items: baseline; gap: 0.4rem; text-decoration: none; }
.wordmark-by { font-family: var(--hand); font-size: 1.2rem; transform: rotate(-5deg); }
.wordmark-name { font-family: var(--display); font-size: 2.2rem; line-height: 1; }

/* Hero */
.hero {
  background: var(--blush); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 2rem;
  padding: 4rem max(1.25rem, calc((100vw - 1080px) / 2 + 1.25rem));
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.hero-text p { margin: 0; }
.lede { font-size: 1.25rem; max-width: 30ch; }
.pill {
  background: var(--butter); border-radius: 999px;
  padding: 0.5rem 1.1rem; font-weight: 800; font-size: 0.95rem;
}
.seal { width: min(100%, 440px); justify-self: center; transform: rotate(6deg); }

/* Striped bands */
.band {
  padding: 4.5rem 0;
  background: repeating-linear-gradient(90deg, var(--rose) 0 40px, var(--cream) 40px 80px);
}
.band .wrap { background: var(--cream); border: 2px solid var(--burgundy); border-radius: 28px; padding: 2.5rem 1.5rem; max-width: 1040px; }

/* Menu */
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card {
  border: 2px solid var(--burgundy); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; background: var(--cream);
}
.card-photo {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  font-family: var(--hand); font-size: 1.3rem; text-align: center; padding: 1rem;
  border-bottom: 2px solid var(--burgundy);
}
.tint-butter { background: var(--butter); }
.tint-rose { background: var(--rose); }
.tint-blush { background: var(--blush); }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-body p { margin: 0; font-size: 0.98rem; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.6rem; }
.price { font-weight: 800; font-size: 1.15rem; }
.stepper { display: flex; align-items: center; gap: 0.35rem; }
.stepper button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--burgundy); background: var(--cream); color: var(--burgundy);
  font: 800 1.3rem var(--body); cursor: pointer;
}
.stepper button:hover { background: var(--blush); }
.stepper button:disabled { opacity: 0.35; cursor: default; }
.qty { min-width: 1.6rem; text-align: center; font-weight: 800; }
.closed { font-family: var(--hand); font-size: 1.6rem; }

/* Steps */
.steps { padding: 4.5rem 0; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.step-list li { background: var(--blush); border-radius: 22px; padding: 1.5rem; }
.step-list p { margin: 0.5rem 0 0; font-size: 1rem; }
.num {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: 50%; background: var(--burgundy); color: var(--cream);
  font-family: var(--display); font-size: 1.3rem; margin-bottom: 0.75rem;
}

/* About */
.about { background: var(--burgundy); color: var(--cream); padding: 4.5rem 0; }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.5rem; align-items: center; }
.about .hand { color: var(--butter); }
.verse { background: var(--rose); color: var(--burgundy); border-radius: 28px; padding: 2rem; transform: rotate(-3deg); }
.verse .hand { color: var(--burgundy); margin: 0; }
.verse-text { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; }

/* Order */
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.cart { list-style: none; margin: 0 0 1rem; padding: 0; }
.cart li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 2px dotted var(--rose); font-weight: 600; }
.cart .empty { font-weight: 400; border: 0; }
.total { font-weight: 800; font-size: 1.2rem; }
form { display: flex; flex-direction: column; gap: 1rem; }
label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 800; font-size: 0.95rem; }
input, select, textarea {
  font: 400 1rem var(--body); color: var(--burgundy);
  padding: 0.75rem 0.9rem; min-height: 48px;
  border: 2px solid var(--burgundy); border-radius: 14px; background: #fff;
}
.form-msg { margin: 0; font-weight: 800; color: var(--raspberry); min-height: 1.4rem; }
.thanks { grid-column: 1 / -1; }
[hidden] { display: none !important; }

/* Footer */
.foot { background: var(--blush); padding: 3rem 0; text-align: center; }
.foot p { margin: 0 0 0.4rem; }
.foot-mark { font-family: var(--display); font-size: 2rem; line-height: 1; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .seal { order: -1; width: min(70%, 300px); }
  .about-grid, .order-grid { grid-template-columns: 1fr; }
  .band { padding: 2.5rem 0.75rem; }
  .band .wrap { padding: 1.75rem 1.1rem; }
  .top .btn { padding: 0.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
