@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #241C1A;
  --ink-soft: #5C4F49;
  --parchment: #FBEDE4;
  --parchment-light: #FFF9F5;
  --card: #FFFFFF;
  --burgundy: #E8491D;
  --burgundy-dark: #C4380F;
  --brass: #2F9E44;
  --brass-light: #F6C9B4;
  --sage: #2F9E44;

  --font-display: 'Fraunces', serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 4px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment-light);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header.site-header {
  background: var(--parchment-light);
  border-bottom: 1px solid var(--brass-light);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}

.logo span { color: var(--burgundy); }

nav.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}

.nav-cta {
  background: var(--burgundy);
  color: var(--parchment-light) !important;
  padding: 9px 18px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
}

.nav-cta:hover {
  background: var(--burgundy-dark);
  border-bottom: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 760px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--parchment-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 22px;
    border-bottom: 1px solid var(--brass-light);
    display: none;
    gap: 14px;
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { align-self: flex-start; }
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; }
h3 { font-size: 1.2rem; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--burgundy);
  font-weight: 500;
  margin-bottom: 10px;
  display: inline-block;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
p.lede { font-size: 1.15rem; color: var(--ink); max-width: 640px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--burgundy);
  color: var(--parchment-light);
}
.btn-primary:hover { background: var(--burgundy-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--parchment-light); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.section-alt { background: var(--parchment); }

.section-head { max-width: 620px; margin-bottom: 48px; }

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 60px;
  background:
    radial-gradient(circle at 85% 15%, rgba(232,73,29,0.20), transparent 42%),
    radial-gradient(circle at 8% 85%, rgba(47,158,68,0.14), transparent 40%),
    var(--parchment-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Dot leader (signature device) ---------- */

.menu-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(27,27,24,0.08);
}

.menu-line .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  white-space: nowrap;
}

.menu-line .leader {
  flex: 1;
  border-bottom: 2px dotted var(--brass);
  transform: translateY(-4px);
  min-width: 20px;
}

.menu-line .price {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  color: var(--burgundy);
  white-space: nowrap;
}

/* ---------- Mini interactive demo (hero) ---------- */

.demo-card {
  background: var(--card);
  border: 1px solid var(--brass-light);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 24px 48px -28px rgba(27,27,24,0.35);
}

.demo-card .demo-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brass);
  margin-bottom: 14px;
  display: block;
}

.dish-tap {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px dashed rgba(27,27,24,0.15);
  padding: 14px 4px;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ink);
}

.dish-tap:last-of-type { border-bottom: none; }

.dish-tap .icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 8px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dish-tap .icon svg { width: 26px; height: 26px; }

.dish-tap .txt { flex: 1; }
.dish-tap .txt strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.dish-tap .txt small { display: block; color: var(--ink-soft); font-size: 0.85rem; margin-top: 2px; }

.dish-tap .price { font-family: var(--font-mono); color: var(--burgundy); font-size: 0.95rem; }

.dish-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--parchment);
  border-radius: 8px;
}

.dish-panel.open {
  max-height: 220px;
  padding: 16px;
  margin: 4px 0 10px;
}

.dish-panel-inner { display: flex; gap: 16px; align-items: flex-start; }
.dish-panel-inner svg { width: 64px; height: 64px; flex: none; }
.dish-panel-inner p { margin: 0; font-size: 0.92rem; }

/* ---------- Feature grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.feature {
  background: var(--card);
  border: 1px solid var(--brass-light);
  border-radius: 8px;
  padding: 26px;
}

.feature .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature .icon-wrap svg { width: 22px; height: 22px; color: var(--burgundy); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  position: relative;
  padding-top: 8px;
}

.step .num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* ---------- Band / CTA strip ---------- */

.band {
  background: var(--ink);
  color: var(--parchment-light);
}

.band h2, .band p { color: var(--parchment-light); }
.band p { color: rgba(247,243,233,0.75); }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.plan {
  background: var(--card);
  border: 1px solid var(--brass-light);
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--burgundy);
  box-shadow: 0 24px 48px -30px rgba(122,46,46,0.4);
  position: relative;
}

.plan.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--burgundy);
  color: var(--parchment-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 3px;
}

.plan .plan-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 4px; }
.plan .plan-price {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--burgundy);
  margin: 12px 0 4px;
}
.plan .plan-price span { font-size: 0.95rem; color: var(--ink-soft); font-family: var(--font-body); }
.plan .plan-desc { font-size: 0.92rem; margin-bottom: 20px; }

.plan-list { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan-list li {
  padding: 9px 0;
  border-bottom: 1px dashed rgba(27,27,24,0.12);
  font-size: 0.94rem;
  display: flex;
  gap: 8px;
}
.plan-list li:last-child { border-bottom: none; }
.plan-list li::before { content: '—'; color: var(--brass); flex: none; }

/* ---------- Demo page ---------- */

.menu-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.menu-tab {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--brass);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-tab.active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--parchment-light);
}

.menu-section { display: none; }
.menu-section.active { display: block; }

.menu-item {
  background: var(--card);
  border: 1px solid var(--brass-light);
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}

.menu-item-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
}

.menu-item-head .icon {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 8px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-item-head .icon svg { width: 30px; height: 30px; }

.menu-item-head .txt { flex: 1; }
.menu-item-head .txt strong { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }
.menu-item-head .txt small { display: block; color: var(--ink-soft); font-size: 0.86rem; margin-top: 3px; }
.menu-item-head .price { font-family: var(--font-mono); color: var(--burgundy); }
.menu-item-head .chevron { transition: transform 0.2s ease; color: var(--brass); flex: none; }
.menu-item.open .chevron { transform: rotate(135deg); }

.menu-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-top: 1px solid transparent;
}

.menu-item.open .menu-item-body {
  max-height: 300px;
  border-top-color: var(--brass-light);
}

.menu-item-body-inner {
  padding: 18px;
  display: flex;
  gap: 18px;
}

.menu-item-body-inner svg { width: 84px; height: 84px; flex: none; }
.menu-item-body-inner .tags { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--parchment);
  color: var(--sage);
  padding: 3px 8px;
  border-radius: 3px;
}

.qr-note {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--parchment);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 32px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--brass-light);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--burgundy);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

#form-success {
  display: none;
  background: var(--sage);
  color: var(--parchment-light);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
}
#form-success.show { display: block; }

#form-error {
  display: none;
  background: var(--burgundy);
  color: var(--parchment-light);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-size: 0.92rem;
}
#form-error.show { display: block; }

.contact-info .menu-line .name { font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; }

/* ---------- Footer ---------- */

footer {
  background: var(--ink);
  color: rgba(247,243,233,0.7);
  padding: 48px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(247,243,233,0.14);
  margin-bottom: 20px;
}

footer .logo { color: var(--parchment-light); }
footer .logo span { color: var(--brass); }

footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a { text-decoration: none; color: rgba(247,243,233,0.7); font-size: 0.92rem; }
footer nav a:hover { color: var(--parchment-light); }

.footer-bottom {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(247,243,233,0.45);
}

/* ---------- Focus visibility ---------- */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
}

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