:root {
  color-scheme: light;
  --cream: #fff8ee;
  --paper: #fffcf6;
  --ink: #391d18;
  --red: #881b16;
  --line: #e9d6c7;
  --muted: #6e5149;
  --serif: Georgia, 'Times New Roman', serif;
  font: 16px/1.5 system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #bd6323; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.hero { background: radial-gradient(ellipse at 71% 55%, #a62b1e, #791813 75%); color: var(--cream); overflow: hidden; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 0; }
.wordmark { display: inline-flex; }
.wordmark img { display: block; width: 122px; height: auto; }
.eyebrow { font-size: .71rem; font-weight: 750; letter-spacing: .18em; }
.intro { display: grid; justify-items: center; text-align: center; padding-block: clamp(32px, 5vw, 65px) clamp(32px, 5vw, 59px); }
.intro h1 { width: min(100%, 660px); margin: 0; }
.intro h1 img { display: block; width: 100%; height: auto; }
.intro-prompt { color: #fff8ee; margin: 18px 0 5px; font-size: .95rem; font-weight: 750; }
.intro-rule { color: #ffebd6; margin: 0 0 18px; font-size: min(.875rem, 2.45vw); white-space: nowrap; }
.primary { display: inline-flex; gap: 16px; align-items: center; justify-content: center; border-radius: 50px; min-height: 46px; padding: 10px 21px; font-weight: 750; text-decoration: none; border: 0; }
.hero-link { background: #ffdfb4; color: #542019; }
.hero-link:hover { background: #ffeacb; }
.categories { position: sticky; top: 0; z-index: 2; background: var(--cream); border-bottom: 1px solid var(--line); }
.nav-items { display: flex; justify-content: center; gap: clamp(9px, 4vw, 54px); }
.nav-items a { display: grid; place-items: center; text-align: center; min-height: 56px; padding: 5px 9px; color: var(--muted); border-bottom: 3px solid transparent; text-decoration: none; font-size: .875rem; font-weight: 750; }
.nav-items a:hover, .nav-items a[aria-current="location"] { color: var(--red); border-bottom-color: var(--red); }
.menu-section { scroll-margin-top: 69px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.cart-header .eyebrow { margin: 0 0 5px; color: var(--red); }
.section-head h2, .cart-header h2 { font: 400 clamp(2rem, 4.6vw, 3.4rem)/1.1 var(--serif); letter-spacing: -.045em; margin: 0; }
.section-count { color: var(--muted); white-space: nowrap; font-size: .82rem; padding-bottom: 4px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.card-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #b43c26, #891b14); }
.card-photo img { position: absolute; inset: 5% 6%; width: 88%; height: 90%; object-fit: contain; filter: drop-shadow(0 5px 5px #45170e6e); }
.product-photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.card-details { flex: 1; display: flex; flex-direction: column; padding: 13px; }
.card h3 { font: 600 clamp(1rem, 2vw, 1.24rem)/1.15 var(--serif); margin: 0 0 10px; }
.card-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.price { color: var(--red); font-size: .85rem; font-weight: 750; }
.add { color: var(--red); border: 1px solid #e4bcac; background: #fff5e8; border-radius: 25px; min-height: 40px; padding: 4px 9px; font-size: .78rem; font-weight: 750; }
.add:hover { color: white; background: var(--red); border-color: var(--red); }
.footer { margin-top: 36px; background: #351b16; color: var(--cream); }
.footer > .wrap { padding-block: 42px 34px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; gap: 24px; }
.footer-brand { justify-self: start; margin-top: 5px; }
.footer-brand img { display: block; width: 140px; height: auto; }
.footer-nav, .footer-social { display: grid; justify-items: start; align-content: start; gap: 4px; }
.footer-nav { justify-self: center; }
.footer-social { justify-self: end; }
.footer-nav a, .footer-social a, .footer-about summary { display: block; min-height: 36px; padding-block: 5px; text-decoration: none; }
.footer-about summary { cursor: pointer; list-style: none; }
.footer-about summary::-webkit-details-marker { display: none; }
.footer-nav a:hover, .footer-social a:hover, .footer-about summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-about p { max-width: 27ch; margin: 0; padding-top: 4px; color: #ead8cc; font-size: .86rem; }
.footer-copyright { margin: 42px 0 0; color: #d8c6bc; text-align: center; font-size: .87rem; }
.cart-button { display: flex; align-items: center; gap: 9px; border: 2px solid #fff8ee; background: #ffe0b1; color: #5d1813; border-radius: 16px; font-size: .95rem; font-weight: 800; }
.cart-button:hover { background: #ffedcf; }
.cart-button-top { min-height: 44px; padding: 5px 8px 5px 10px; }
.cart-button-floating { position: fixed; z-index: 3; right: max(20px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); min-height: 60px; padding: 9px 13px 9px 18px; box-shadow: 0 0 0 1px #7a1913, 0 7px 28px #42140b65; }
.cart-count { display: grid; place-items: center; min-width: 28px; height: 28px; padding-inline: 5px; border-radius: 50px; color: white; background: var(--red); }
dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 460px); height: 100%; max-width: none; max-height: none; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #2e100e9c; }
body:has(dialog[open]) { overflow: hidden; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); }
.close, .step { display: grid; place-items: center; border-radius: 50%; color: var(--red); background: var(--cream); border: 1px solid var(--line); }
.close { width: 44px; height: 44px; font-size: 27px; }
.cart-body { overflow: auto; overscroll-behavior: contain; padding: 16px 20px 28px; }
#empty-cart { color: var(--muted); }
#cart-items { margin: 0; padding: 0; list-style: none; }
.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.cart-row small { display: block; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 8px; }
.step { width: 42px; height: 42px; font-size: 18px; }
.total { display: flex; justify-content: space-between; padding: 15px 0; }
.total strong { color: var(--red); }
form label { display: block; font-size: .9rem; font-weight: 750; margin: 8px 0 5px; }
form input { display: block; width: 100%; border: 1px solid #d8b5a4; border-radius: 9px; background: white; color: var(--ink); padding: 10px 12px; }
.order { width: 100%; margin-top: 18px; background: #225e42; color: white; }
.order:hover { background: #17462f; }
.form-note { font-size: .82rem; text-align: center; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .footer > .wrap { padding-block: 30px 96px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: 112px; }
  .footer-nav, .footer-social { justify-self: start; }
  .footer-copyright { margin-top: 26px; }
  .top { padding-block: 13px; }
  .wordmark img { width: 98px; }
  .cart-button-top { gap: 5px; font-size: .8rem; }
  .cart-button-top .cart-count { min-width: 24px; height: 24px; }
  .cart-button-floating { left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .cart-button-floating .cart-count { margin-left: auto; }
  .nav-items { gap: 0; justify-content: space-between; }
  .nav-items a { font-size: .76rem; padding-inline: 6px; min-height: 51px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .menu-section { padding: 29px 0; scroll-margin-top: 51px; }
  .card-details { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
