:root {
  --bg: #fbf6ee;
  --surface: #ffffff;
  --ink: #2b211a;
  --ink-soft: #6c5f54;
  --primary: #b5341f;
  --primary-dark: #8f2716;
  --accent: #e0922f;
  --line: #ece1d3;
  --veg: #2e7d32;
  --vegan: #15803d;
  --spice: #c2410c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(43, 33, 26, 0.08);
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 140px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .4em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; cursor: pointer;
  padding: .72rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .12s ease, background .2s ease, color .2s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,246,238,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.45rem; color: var(--primary); }
.brand-sub { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.site-nav { display: flex; align-items: center; gap: 1.3rem; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav a.active, .site-nav a:hover { color: var(--primary); text-decoration: none; }
.cart-btn { position: relative; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: .55rem 1.1rem; font: inherit; font-weight: 600; cursor: pointer; }
.cart-count { background: var(--accent); color: #2b211a; border-radius: 999px; padding: 0 .45rem; font-size: .78rem; font-weight: 700; margin-left: .3rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; font-weight: 600; color: var(--accent); margin: 0 0 .6rem; }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-art img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }

/* Values */
.values { padding: 1rem 0 2.5rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.value h3 { color: var(--primary); font-size: 1.25rem; }
.value p { margin: 0; color: var(--ink-soft); }

/* Sections */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.link-arrow { font-weight: 600; white-space: nowrap; }
.featured { padding: 2rem 0 3rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.dish-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dish-media { aspect-ratio: 16/11; overflow: hidden; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dish-card:hover .dish-media img { transform: scale(1.05); }
.dish-body { padding: 1rem 1.1rem 1.2rem; }
.dish-top { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.dish-top h3 { margin: 0; font-size: 1.15rem; }
.price { font-weight: 700; color: var(--primary); white-space: nowrap; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .2rem .55rem; border-radius: 999px; }
.tag-veg { background: #e6f3e6; color: var(--veg); }
.tag-vegan { background: #e2f5e8; color: var(--vegan); }
.tag-spice { background: #fdebe2; color: var(--spice); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; margin-top: 1rem; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.6rem 22px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn-primary { background: #fff; color: var(--primary); }
.cta-band .btn-primary:hover { background: #fff; }

/* Page head */
.page-head { padding: 2.6rem 0 1.4rem; }
.page-head p { color: var(--ink-soft); max-width: 46rem; }
.menu-head { padding-bottom: 1rem; }

/* Menu nav */
.menu-nav-wrap { position: sticky; top: 71px; z-index: 30; background: rgba(251,246,238,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.menu-nav { display: flex; gap: .5rem; overflow-x: auto; padding: .7rem 0; scrollbar-width: thin; }
.menu-nav a { white-space: nowrap; font-size: .85rem; font-weight: 600; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); padding: .4rem .85rem; border-radius: 999px; }
.menu-nav a:hover { color: var(--primary); border-color: var(--primary); text-decoration: none; }

/* Menu body */
.menu-body { padding: 2rem 0 3rem; }
.menu-section { padding-top: 1.5rem; margin-bottom: 2.5rem; }
.menu-section-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; padding-bottom: .9rem; border-bottom: 2px solid var(--line); }
.cat-thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.menu-section-head h2 { margin: 0; }
.cat-blurb { margin: .2rem 0 0; color: var(--ink-soft); font-size: .95rem; }

.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.menu-item { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.menu-item-media { background: #f3ece1; }
.menu-item-media img { width: 100%; height: 100%; object-fit: cover; min-height: 140px; }
.menu-item-media--empty { display: flex; align-items: center; justify-content: center; }
.menu-item-media--empty span { font-family: "Fraunces", serif; color: var(--accent); font-weight: 700; }
.menu-item-info { padding: 1rem 1.1rem 1.1rem 0; }
.menu-item-top { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.menu-item-top h3 { margin: 0; font-size: 1.1rem; }
.menu-item-desc { font-size: .86rem; color: var(--ink-soft); margin: .4rem 0 .2rem; }
.menu-item-actions { display: flex; align-items: center; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.opt-select { font: inherit; padding: .45rem .6rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn-add { background: var(--primary); color: #fff; padding: .5rem 1.2rem; border: 0; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.btn-add:hover { background: var(--primary-dark); }
.btn-add.added { background: var(--veg); }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: start; padding-bottom: 3rem; }
.about-portrait img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.about-copy p { margin: 0 0 1.1rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; padding-bottom: 3rem; }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-media { aspect-ratio: 16/10; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { padding: 1.1rem 1.2rem 0; color: var(--primary); }
.service-card p { padding: .4rem 1.2rem 1.4rem; margin: 0; color: var(--ink-soft); }

/* Info (payments) */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; padding-bottom: 3rem; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.info-card h3 { color: var(--primary); }
.info-card ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.info-card li { margin-bottom: .5rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; padding-bottom: 3rem; }
.contact-details p { margin: .2rem 0 1rem; }
.commit { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; }
.contact-form input, .contact-form textarea { font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form-note, .cart-hint { font-size: .8rem; color: var(--ink-soft); }

/* Cart drawer */
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 90vw; background: var(--surface); box-shadow: -10px 0 40px rgba(0,0,0,.2); transform: translateX(100%); transition: transform .3s ease; z-index: 90; display: flex; flex-direction: column; }
body.cart-open .cart-drawer { transform: translateX(0); }
.cart-overlay { position: fixed; inset: 0; background: rgba(20,12,8,.45); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 80; }
body.cart-open .cart-overlay { opacity: 1; pointer-events: auto; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart-head h3 { margin: 0; }
.cart-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.cart-empty { color: var(--ink-soft); text-align: center; margin-top: 2rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: .3rem .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cart-line-name { font-weight: 600; }
.cart-line-opt { font-size: .8rem; color: var(--ink-soft); }
.cart-line-price { font-weight: 700; color: var(--primary); }
.qty { display: inline-flex; align-items: center; gap: .5rem; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; color: var(--ink); }
.cart-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.15rem; }

/* Footer */
.site-footer { background: #241a14; color: #e9dccb; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem 22px 2rem; }
.footer-brand { font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 700; color: #fff; }
.footer-tag { color: #b8a692; margin-top: .4rem; }
.site-footer h4 { color: #fff; margin-bottom: .6rem; }
.site-footer a { color: #e9dccb; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { margin: .25rem 0; }
.socials { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0; font-size: .85rem; color: #b8a692; }

/* Responsive */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .values-grid, .card-grid, .services-grid, .info-grid { grid-template-columns: 1fr; }
  .menu-list { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; top: 0; right: 0; height: 100%; width: 260px; background: var(--surface); flex-direction: column; align-items: flex-start; padding: 5rem 1.6rem 2rem; gap: 1.2rem; transform: translateX(100%); transition: transform .3s ease; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
  body.nav-open .site-nav { transform: translateX(0); }
  .menu-nav-wrap { top: 69px; }
}
