/*
  Loam & Crate — neighborhood market sample.
  Edit colors in :root. This file styles only this folder.
*/

:root {
  --bg: #e7efe4;
  --ink: #1c241c;
  --muted: #3e4a40;
  --paper: #f7f6f1;
  --line: #ddd6c8;
  --forest: #17382c;
  --forest-ink: #f4fff8;
  --tomato: #9d341f;
  --tomato-ink: #fff7f4;
  --gold: #8a5a12;
  --focus: #0b3f86;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); margin-bottom: 0.45rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

a { color: var(--forest); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: min(72rem, calc(100% - 1.5rem)); margin-inline: auto; }

.sheet {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.util {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 0 0.2rem;
}
.wordmark { margin: 0; font-family: var(--serif); font-size: 1.55rem; }
.phone { font-weight: 800; white-space: nowrap; }

.page-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.4rem 0 0.85rem; }
.page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.hero { display: grid; gap: 1rem; padding: 1.2rem 0 1.4rem; }
.kicker {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.lede { color: var(--muted); font-size: 1.12rem; max-width: 40rem; }
.hero-art { width: 100%; display: block; border-radius: 1rem; }

.section { padding: 1.5rem 0; }
.note { color: var(--muted); max-width: 62ch; }

.aisles { display: grid; gap: 0.7rem; }
.aisle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  border: 2px solid transparent;
}
.aisle strong { font-family: var(--serif); font-size: 1.8rem; line-height: 1; }
.aisle h3 { margin: 0 0 0.2rem; font-size: 1.2rem; }
.aisle p { margin: 0; color: var(--muted); }
.aisle:hover { border-color: var(--forest); }
.a1 { background: #e8f5e4; }
.a2 { background: #f7f1e4; }
.a3 { background: #fde8e2; }
.a4 { background: #f8efd8; }
.a5 { background: #e7f0ea; }

.counter { overflow: hidden; border-radius: 1.1rem; background: var(--paper); border: 1px solid var(--line); }
.counter-head {
  padding: 1rem 1.05rem 0.9rem;
  background: var(--tomato);
  color: var(--tomato-ink);
}
.counter-head h2 { margin-bottom: 0.3rem; }
.counter-head p { margin: 0; color: var(--tomato-ink); }
.menu-list { margin: 0; padding: 0.3rem 1rem 0.4rem; list-style: none; }
.menu-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list h3 { margin: 0; font-size: 1.05rem; }
.menu-list li > p { margin: 0.15rem 0 0; color: var(--muted); grid-column: 1; }
.menu-list .price {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.actions { display: flex; flex-direction: column; gap: 0.55rem; padding: 0 1rem 1.1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  background: var(--forest);
  color: var(--forest-ink);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}
.btn-secondary { background: transparent; color: var(--forest); border: 2px solid var(--forest); }
.btn:hover { background: #0f2820; }
.btn-secondary:hover { background: #e7f0ea; }

.special {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: #f8efd8;
}
.special strong { color: var(--gold); }

.visit-grid { display: grid; gap: 0.9rem; }
.hours { margin: 0; padding: 0; list-style: none; background: var(--paper); border-radius: 0.9rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.hours li:last-child { border-bottom: 0; }

.map { overflow: hidden; border-radius: 0.9rem; background: var(--paper); border: 1px solid var(--line); }
.map svg { display: block; width: 100%; height: auto; }
.map p { margin: 0; padding: 0.8rem 0.95rem 1rem; }

.demo-notice {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 0.9rem;
  background: var(--forest);
  color: var(--forest-ink);
}
.demo-notice h2 { color: var(--forest-ink); font-size: 1.4rem; }
.demo-notice a { color: #d6f5e4; }

.site-foot { padding: 0.2rem 0 2rem; }
.site-foot p { color: var(--muted); max-width: 62ch; }

@media (min-width: 700px) {
  .aisles { grid-template-columns: 1fr 1fr; }
  .actions { flex-direction: row; }
  .actions .btn { flex: 1; }
}

@media (min-width: 980px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .aisles { grid-template-columns: 1fr 1fr 1fr; }
  .visit-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
