:root {
  --bg: #f5f0e6;
  --paper: #ffffff;
  --ink: #1a1814;
  --muted: #6b6358;
  --rule: #d9cfbf;
  --accent: #b85c38;
  --accent-hover: #9e4a2a;
  --card-bg: #ffffff;
  --focus-ring: #b85c38;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1814;
    --paper: #221f1a;
    --ink: #e8dfd0;
    --muted: #8a8174;
    --rule: #3a342c;
    --accent: #e07a4e;
    --accent-hover: #f08f62;
    --card-bg: #221f1a;
    --focus-ring: #e07a4e;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 0.5em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; color: var(--accent); margin-bottom: 0.75em; }

.muted { color: var(--muted); }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* Navigation */
.nav {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  font-weight: 500;
}

/* Hero */
.hero {
  margin-bottom: 2.5rem;
}
.hero h1 {
  margin-bottom: 0.15em;
}
.tagline {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.lede {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Menu */
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.menu-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-category li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.4em 0;
  border-bottom: 1px dotted var(--rule);
}
.menu-category li:last-child { border-bottom: none; }
.dish { font-weight: 500; }
.price::before { content: "$"; }
.price {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Hours */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hours-list div {
  display: flex;
  justify-content: space-between;
  padding: 0.3em 0;
  border-bottom: 1px dotted var(--rule);
}
.hours-list div:last-child { border-bottom: none; }
.hours-list dt { font-weight: 500; }
.hours-list dd { margin: 0; color: var(--muted); }

/* Map */
.map-embed {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}
.map-embed iframe {
  display: block;
}

/* Reservation form */
.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.req { color: var(--accent); }
.form-row input,
.form-row textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(184,92,56,0.15);
}
.btn {
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-start;
}
.btn:hover { background: var(--accent-hover); }
.btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  text-align: center;
}
footer .attribution {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

@media (max-width: 480px) {
  body { padding: 0 1rem 2rem; }
  .card { padding: 1.25rem 1rem; }
  .hours-list div { flex-direction: column; gap: 0.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
