:root {
  --ink: #1c1914;
  --green: #0e3b32;
  --leaf: #1d6a46;
  --cream: #f3eee6;
  --paper: #fffdf9;
  --line: #e3d5c4;
  --wood: #8d5a34;
  --muted: #5e675f;
  --sold: #7c342c;
  --sold-bg: #f6ddd8;
  --in-bg: #e4f3ea;
  --max: 1120px;
  --shadow: 0 16px 40px rgba(36, 24, 12, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }

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

a:hover { color: var(--leaf); }

h1, h2, h3, .wordmark {
  font-family: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 5;
}

.skip:focus { top: 0.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #f7f4ee;
  border-bottom: 1px solid var(--line);
}

.header-inner, .wrap, .site-footer .wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-word {
  width: auto;
  height: 36px;
  max-width: min(280px, 52vw);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: center;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 0.25rem; }

.nav a.instagram {
  background: var(--green);
  color: #f6f1e8;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.nav a.instagram:hover { background: var(--leaf); color: white; }

.wrap { padding: 2rem 0 3.5rem; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  margin: 0 0 0.6rem;
  color: var(--wood);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 0 0 0.8rem; }

.lede { font-size: 1.2rem; margin: 0 0 1.2rem; max-width: 38rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0 0; }

.button, button {
  display: inline-block;
  background: var(--green);
  color: #f7f3ea;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary, button.secondary {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--green);
}

.button:hover, button:hover { background: var(--leaf); color: white; }

.hero-photo {
  margin: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d9c7b2;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: min(68vw, 520px);
  object-fit: cover;
}

.hero-photo figcaption {
  padding: 0.7rem 1rem 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-grid, .visit-grid, .product-grid, .related {
  display: grid;
  gap: 1rem;
}

.visit-grid { grid-template-columns: 1fr 1fr; margin-top: 2.5rem; }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem 1.3rem;
}

.panel h2 { margin-top: 0; font-size: 1.8rem; }

.hours { list-style: none; padding: 0; margin: 0; }

.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }

.hours li:last-child { border-bottom: 0; }

.holidays { list-style: none; padding: 0; margin: 0.4rem 0 0; }

.holidays li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

address { font-style: normal; }

.note { color: var(--muted); }

.visit-panel { margin-top: 2.5rem; }

.on-the-menu { margin-top: 1rem; }

.featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.featured a, .related a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.featured img, .related img, .featured .placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.featured span, .related span { display: block; padding: 0.7rem 0.8rem 0.9rem; font-weight: 600; }

.menu-bar { display: grid; gap: 0.8rem; margin-bottom: 1rem; }

.menu-search { display: flex; gap: 0.5rem; }

.menu-search input[type="search"] {
  flex: 1;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.categories {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  overflow: visible;
  height: auto;
}

.category-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  margin: 0;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}

.category-button[aria-current="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #f7f3ea;
}

.category-button.is-sold-out { color: var(--muted); }

.category-button[aria-current="true"] .badge-out {
  background: #f7f3ea;
  color: var(--sold);
}

.menu-status { color: var(--muted); min-height: 1.4rem; }

.state {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }

.card a { color: inherit; text-decoration: none; display: block; height: 100%; }

.card img, .placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #efe4d4;
}

.card[data-stock="out"] img, .product-photo.is-out { filter: grayscale(0.7); opacity: 0.72; }

.card-body, .product-copy { padding: 0.9rem 1rem 1.1rem; }

.card h2, .card h3 { margin: 0.35rem 0; font-size: 1.35rem; }

.card p { margin: 0.3rem 0; }

.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
}

.meta { display: flex; justify-content: space-between; gap: 0.6rem; align-items: center; margin-top: 0.7rem; }

.price { font-weight: 650; }

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-in { background: var(--in-bg); color: var(--leaf); }

.badge-out { background: var(--sold-bg); color: var(--sold); }

.crumbs { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }

.crumbs a { color: inherit; }

.product {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.product-photo {
  margin: 0;
  background: var(--paper);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.product-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

.banner {
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  margin: 0.8rem 0 1rem;
}

.banner-out { background: var(--sold-bg); color: var(--sold); }

.banner-in { background: var(--in-bg); }

.options { padding-left: 1.1rem; }

.options li { margin: 0.2rem 0; }

.related { grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; }

form.contact { display: grid; gap: 0.8rem; max-width: 38rem; }

label { font-weight: 600; display: grid; gap: 0.3rem; }

input, textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.hp {
  position: absolute;
  left: -10000px;
  height: 0;
  overflow: hidden;
}

.error { color: var(--sold); font-weight: 600; }

.success { background: var(--in-bg); border-radius: 0.8rem; padding: 0.9rem 1rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
}

.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.site-footer a { color: var(--green); }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }

@media (max-width: 860px) {
  .hero, .visit-grid, .product, .related { grid-template-columns: 1fr; }
  .featured { grid-template-columns: repeat(2, 1fr); }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 0.8rem 0; }
  .brand-word { height: 28px; }
  .hero-photo img { height: 240px; }
  .menu-search { flex-direction: column; }
}
