:root {
  --tan: #E7D4BE;
  --cream: #E7D4BE;
  --paper: #FBF7F2;
  --blush: #F6D9D4;
  --ink: #1A100C;
  --ink-soft: #3C2A22;
  --gold: #8C6233;
  --gold-deep: #8C6233;
  --line: rgba(26, 16, 12, 0.14);
  --shadow: 0 10px 30px rgba(26, 16, 12, 0.06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", sans-serif;
  --header: 6.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at top, #F0E2D0 0%, var(--tan) 32rem),
    var(--tan);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

body.has-cart-bar { padding-bottom: 5.4rem; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, p { overflow-wrap: break-word; }

a { color: var(--ink); }
a:hover { color: var(--ink-soft); }

::selection { background: var(--blush); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.btn-dark:focus-visible,
.cart-bar:focus-visible,
.skip:focus-visible {
  outline-color: var(--blush);
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  z-index: 50;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(231, 212, 190, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  width: min(68rem, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1rem 0.15rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.nav a:hover { background: rgba(26, 16, 12, 0.06); }

main, .site-footer {
  width: min(68rem, calc(100% - 2rem));
  margin: 0 auto;
}

.hero { padding: 1.4rem 0 0.5rem; text-align: center; }

.kicker {
  margin: 0 0 0.45rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 13vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.logo-wrap { margin: 0.15rem 0 0.2rem; }

.logo {
  display: block;
  width: min(100%, 40rem);
  height: auto;
  margin-inline: auto;
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  margin: 0.95rem auto 0;
  max-width: 28rem;
  font-weight: 700;
}

.tagline span {
  flex: 1 1 14rem;
  min-width: 0;
  text-wrap: balance;
}

.wheat {
  width: 1.15rem;
  height: 2.3rem;
  flex: none;
  color: var(--gold);
}

.wheat-flip { transform: scaleX(-1); }

.lede {
  margin: 0.85rem auto 0;
  max-width: 34rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: grid;
  gap: 0.7rem;
  margin: 1.15rem auto 0;
  max-width: 28rem;
}

.hero-phone { margin: 0.95rem 0 0; font-weight: 700; }

.hero-photo {
  margin: 1.2rem auto 0;
  width: min(100%, 22rem);
  border-radius: 1.2rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #E7DCC8;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section { padding: 2.1rem 0 0.2rem; scroll-margin-top: var(--header); }

h2 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  scroll-margin-top: var(--header);
}

h2::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 2px;
  margin-top: 0.55rem;
  background: var(--gold-deep);
}

.intro { margin: 0; max-width: 40rem; }

.highlights {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.highlights li,
.ig-panel,
.card,
.receipt {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.highlights li {
  padding: 0.95rem 1rem 1rem;
  background: var(--blush);
  border-color: #E8C4BE;
}

.highlight-title {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.highlight-price {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
}

.highlights p:last-child { margin-bottom: 0; }

.category-block { margin-top: 1.35rem; }

.category {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.menu-grid { display: grid; gap: 0.85rem; }

.card { overflow: hidden; }

.gallery,
.category-photo {
  display: flex;
  aspect-ratio: 3 / 4;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  background: #E7DCC8;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}

.category-photo {
  margin: 0 0 0.85rem;
  border-radius: 1rem;
  overflow: hidden;
}

.category-photo img,
.gallery img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  scroll-snap-align: start;
}

.card-body { padding: 0.9rem 1rem 1rem; }

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.badge {
  margin: 0;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: var(--blush);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blurb { margin: 0.35rem 0 0; color: var(--ink-soft); }

.single-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.price, .from-price {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.price { font-size: 1.7rem; }
.from-price { margin-top: 0.55rem; color: var(--ink-soft); font-size: 1.05rem; }

.options {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.option-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.option-label { font-weight: 700; }
.option-price { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.stepper {
  display: inline-flex;
  align-items: center;
  flex: none;
  border: 1px solid rgba(26, 16, 12, 0.28);
  border-radius: 999px;
  background: #fffdf9;
}

.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.stepper button:disabled {
  color: rgba(26, 16, 12, 0.35);
  cursor: default;
}

.stepper span {
  min-width: 1.4rem;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ig-panel { padding: 1rem 1rem 0.95rem; margin-top: 1rem; }

.or-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.or-rule::before,
.or-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.receipt { padding: 1rem 1rem 1.15rem; }

.receipt h3 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
}

.receipt-line span:first-child { min-width: 0; }
.amt { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cookie-line { color: var(--ink-soft); }

.empty-cart { margin: 0.2rem 0 0.8rem; }

.total {
  display: flex;
  justify-content: space-between;
  margin: 0.8rem 0 0.25rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.minimum { margin: 0.15rem 0 0.9rem; font-weight: 700; }
.minimum.is-short { color: #7A2E1E; }

.field { margin: 0 0 0.9rem; }

label { display: block; margin-bottom: 0.3rem; font-weight: 700; }
.optional { font-weight: 400; color: var(--ink-soft); }

input, textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(26, 16, 12, 0.28);
  border-radius: 0.7rem;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

textarea { min-height: 7rem; resize: vertical; }

input[aria-invalid="true"],
textarea[aria-invalid="true"] { border-color: #7A2E1E; }

.error { margin: 0.35rem 0 0; color: #7A2E1E; font-weight: 700; }
.fine { margin: 0.4rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.pay-note { text-align: center; }

.notice {
  margin: 0.8rem 0;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  background: var(--blush);
  color: var(--ink);
  font-weight: 700;
}

.honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #3A2418; color: var(--paper); }
.btn-gold { background: var(--blush); color: var(--ink); }
.btn-gold:hover { background: #E8C4BE; color: var(--ink); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 16, 12, 0.35);
}
.btn-line:hover { background: rgba(26, 16, 12, 0.05); color: var(--ink); }

.text-btn {
  display: block;
  margin: 0.7rem auto 0;
  padding: 0.4rem 0.6rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.success h3 { margin-top: 0; }
.recap {
  white-space: pre-wrap;
  margin: 0.8rem 0;
  padding: 0.85rem 0.9rem;
  border-radius: 0.75rem;
  background: var(--cream);
}

.pickup-line {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.contact-actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.site-footer {
  padding: 2.4rem 0 2rem;
  text-align: center;
}

.footer-name { font-size: clamp(2rem, 8vw, 3rem); }

.legal {
  margin: 1rem auto;
  max-width: 36rem;
  color: var(--ink);
  font-weight: 700;
}

.qr { margin: 1rem auto 0; max-width: 22rem; }
.qr img {
  width: 168px;
  height: auto;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
}
.qr figcaption { margin-top: 0.55rem; color: var(--ink-soft); }

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.6rem;
  margin-top: 1rem;
}

.photo-grid figure { margin: 0; }

.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
  background: #E7DCC8;
}

.photo-grid figcaption {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

.cart-bar {
  position: fixed;
  left: 0.7rem;
  right: 0.7rem;
  bottom: calc(0.6rem + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(26, 16, 12, 0.22);
}

#cart-bar-action { color: var(--blush); white-space: nowrap; }
#cart-bar-text { min-width: 0; }

@media (min-width: 700px) {
  .hero-actions { grid-template-columns: 1fr 1fr; max-width: 36rem; }
  .highlights { grid-template-columns: repeat(3, 1fr); }
  .contact-actions { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .hero.has-photo {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
    text-align: left;
    padding-top: 2rem;
  }
  .hero.has-photo .tagline,
  .hero.has-photo .lede,
  .hero.has-photo .hero-actions { margin-left: 0; }
  .hero.has-photo .tagline { justify-content: flex-start; }
  .hero.has-photo .hero-photo {
  width: 100%;
  margin-top: 0;
}
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 1rem; }
.pay-card { margin: 0; background: #fff; border-radius: 14px; padding: 0.8rem; text-align: center; box-shadow: 0 2px 8px rgba(40,25,10,.08); }
.pay-card img { width: 100%; height: auto; max-width: 240px; border-radius: 8px; }
.pay-card figcaption { margin-top: 0.4rem; font-weight: 700; color: var(--ink-soft); }
