:root {
  --bg: #fbf6ee;
  --bg-alt: #f3e9da;
  --text: #2e2118;
  --muted: #6e5a4a;
  --accent: #b5562a;
  --accent-dark: #8f3f1b;
  --border: #e2d3bf;
  --crust: #c98a4b;
  --score: #f2d3a2;
  --shadow: rgba(46, 33, 24, 0.12);
  --radius: 10px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }

a { color: var(--accent); }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 680px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8em 1.4em;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 600 1rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-small { padding: 0.45em 1em; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 246, 238, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font: 700 1.4rem var(--serif);
  color: var(--text);
  text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:not(.btn):hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.hero-art svg { width: 100%; height: auto; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.about > p { max-width: 42em; font-size: 1.1rem; }
.features {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.features li {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.features strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.features span { color: var(--muted); }

/* Menu */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.5rem 0 2rem;
}
.tabs button {
  padding: 0.5em 1.2em;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: 500 1rem var(--sans);
  cursor: pointer;
}
.tabs button[aria-selected="true"] {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 48px;
}
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
}
.menu-list h3 { margin: 0 0 0.2em; }
.menu-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.price { font-weight: 600; white-space: nowrap; }

/* Visit */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
address { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.hours th { font-weight: 500; }
.hours td { text-align: right; }
.note { color: var(--muted); font-size: 0.95rem; }

/* Order form */
.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 1.5rem;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full, .order-form .field:nth-child(3) { grid-column: span 2; }
.field label { font-weight: 500; }
.field input, .field textarea {
  padding: 0.7em 0.9em;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: inherit;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.field .invalid { border-color: #c0392b; }
.order-form .btn { justify-self: start; }
.form-status { grid-column: span 2; margin: 0; font-weight: 500; }

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer p { margin: 0; }

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; }
  .site-nav .btn { margin-top: 8px; padding: 0.6em 1.2em; }

  .hero { padding: 48px 0 32px; }
  .hero-inner, .visit { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; }
  .section { padding: 56px 0; }
  .menu-list { grid-template-columns: 1fr; }
  .order-form { grid-template-columns: 1fr; }
  .field-full, .order-form .field:nth-child(3), .form-status { grid-column: auto; }
}
