:root {
  --bg: #f5f0e6;
  --paper: #ffffff;
  --ink: #1a1814;
  --muted: #6b6358;
  --rule: #d9cfbf;
  --accent: #b85c3a;
  --accent-light: #e8d5c8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1814;
    --paper: #221f1a;
    --ink: #e8dfd0;
    --muted: #8a8174;
    --rule: #3a342c;
    --accent: #d48a6a;
    --accent-light: #2f2820;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Iowan Old Style", "Charter", "Georgia", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  max-width: 70ch;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-size: 1.125rem;
}
h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
h1 {
  font-size: 2.8rem;
  margin: 0.25em 0 0.1em;
}
h2 {
  font-size: 1.6rem;
  margin: 1.5em 0 0.75em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.3em;
}
h3 {
  font-size: 1.15rem;
  margin: 0 0 0.25em;
}
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { opacity: 0.8; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* header */
header { margin-bottom: 3rem; }
.location-tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0;
}
.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* sections */
section { margin-bottom: 3rem; }

/* menu grid */
.menu-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}
.menu-item {
  background: var(--paper);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}
.menu-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* gallery placeholder */
.gallery-placeholder {
  background: var(--paper);
  border: 2px dashed var(--rule);
  border-radius: 4px;
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.gallery-icon {
  font-size: 2.5rem;
  line-height: 1;
}

/* form */
form {
  background: var(--paper);
  padding: 1.5rem;
  border-radius: 4px;
  margin-top: 1rem;
}
.field {
  margin-bottom: 1rem;
}
label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.3em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
input, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.5em 0.75em;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--bg);
  color: var(--ink);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-light);
}
button {
  font: inherit;
  font-size: 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.6em 1.5em;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.15s;
}
button:hover { opacity: 0.85; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-style: italic;
}

/* footer */
footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  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.5rem;
}

/* responsive */
@media (min-width: 600px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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