/* Hillbilly Market & Deli — warm country store, not a caricature */
:root {
  --barn: #8a1f1b;
  --barn-deep: #5e1210;
  --forest: #1f3d2a;
  --gold: #c9a24a;
  --ink: #221915;
  --paper: #f3ead8;
  --cream: #fbf6ea;
  --line: #d6c6a8;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Karla", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--barn-deep); }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

.awning {
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--barn) 0 22px, var(--cream) 22px 44px);
}
.site-header { position: sticky; top: 0; z-index: 40; background: var(--forest); color: var(--cream); }
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.wordmark {
  text-decoration: none; color: var(--cream);
  font-family: "Bitter", Georgia, serif; font-weight: 700; font-size: 1.25rem; line-height: 1.15;
}
.wordmark span { display: block; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--gold); }
.site-nav { display: flex; gap: 1.3rem; }
.site-nav a { color: var(--cream); text-decoration: none; font-weight: 700; }
.site-nav a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 2.5rem; height: 2.5rem; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--gold); margin: 6px 0; }

.hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-banner {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(34, 25, 21, 0.88));
  color: var(--cream);
  padding: 8rem 1.5rem 2.8rem;
}
.hero-banner > * { max-width: 740px; margin-left: auto; margin-right: auto; }
.eyebrow { margin: 0 0 0.5rem; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; color: var(--gold); }
h1, h2, h3 { font-family: "Bitter", Georgia, serif; line-height: 1.15; margin: 0 0 0.7rem; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.lede { font-size: 1.15rem; margin: 0 0 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 0.75rem 1.2rem; }
.btn-primary { background: var(--barn); color: #fff; }
.btn-primary:hover { background: var(--barn-deep); }
.btn-ghost { border: 2px solid var(--gold); color: var(--cream); }
.btn-ghost:hover { background: var(--gold); color: var(--ink); }

section { padding: 4.5rem 1.5rem; }
.about, .contact { background: var(--cream); }
.market { background: var(--paper); }
.visit { background: var(--forest); color: var(--cream); }
.visit h2 { color: var(--cream); }
.visit .eyebrow { color: var(--gold); }
.reviews { background: #efe4cc; }

.about-grid, .visit-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center;
}
.about-grid figure { margin: 0; border: 6px solid #fff; box-shadow: 0 12px 30px rgba(34,25,21,0.12); }
.about-grid img { width: 100%; height: 420px; object-fit: cover; }
.about-grid figcaption { padding: 0.7rem 0.9rem; font-size: 0.92rem; background: #fff; }

.section-intro { max-width: 700px; margin: 0 auto 2.3rem; }
.cards {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
}
.cards article { background: var(--cream); border-top: 5px solid var(--barn); }
.cards article:nth-child(-n+3) { grid-column: span 2; }
.cards article:nth-child(n+4) { grid-column: span 3; }
.cards img { width: 100%; height: 200px; object-fit: cover; }
.cards h3, .cards p { padding: 0 1rem; }
.cards p { margin: 0 0 1.1rem; }
.note { font-size: 0.92rem; font-style: italic; }
.visit .note { color: #d6c6a8; }

.hours { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.hours caption { text-align: left; font-family: "Bitter", serif; font-size: 1.3rem; margin-bottom: 0.4rem; }
.hours th, .hours td { padding: 0.45rem 0; border-bottom: 1px solid rgba(243,234,216,0.25); text-align: left; }
.map-wrap { min-height: 360px; border: 4px solid var(--gold); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

.review-grid {
  max-width: 1120px; margin: 0 auto 1rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
blockquote { margin: 0; padding: 1.3rem 1.2rem; background: var(--cream); border-bottom: 4px solid var(--gold); }
blockquote p { margin: 0 0 0.8rem; }
blockquote footer { font-size: 0.85rem; color: var(--barn); }

.contact-cards {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.contact-cards article { background: var(--paper); padding: 1.3rem; border-left: 5px solid var(--forest); }
.contact-cards a { font-weight: 700; text-decoration: none; }

.site-footer { background: var(--ink); color: #d6c6a8; text-align: center; padding: 2.2rem 1.5rem; }
.credit { font-family: "Bitter", serif; color: var(--gold); font-size: 1.15rem; margin: 0 0 0.6rem; }
.fineprint { max-width: 46rem; margin: 0 auto; font-size: 0.85rem; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--forest); flex-direction: column; padding: 1rem 1.4rem 1.3rem;
  }
  body.nav-open .site-nav { display: flex; }
  .about-grid, .visit-grid, .review-grid, .contact-cards, .cards { grid-template-columns: 1fr; }
  .cards article:nth-child(-n+3), .cards article:nth-child(n+4) { grid-column: auto; }
  .hero { min-height: 78vh; }
  .about-grid img, .cards img { height: 220px; }
}


/* contain off-canvas nav so it doesn't widen the page on small screens */
html, body {
  max-width: 100%;
  overflow-x: clip;
}
@media (max-width: 760px) {
  html, body { overflow-x: clip; }
  .site-nav {
    max-width: min(20rem, 86vw);
  }
}


.contact-cards li { min-width: 0; }
.contact-cards a, .contact-cards li { overflow-wrap: anywhere; word-break: break-word; }
.contact-cards a { font-size: 0.95rem; }
