:root {
  --brand-red: #c2410c;
  --brand-red-dark: #9a3412;
  --barn-brown: #241712;
  --barn-brown-light: #3a2a20;
  --mustard: #eab308;
  --cream: #faf3e6;
  --ink: #1f1710;
  --muted: rgba(31, 23, 16, 0.68);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: 'Rye', 'Poppins', system-ui, sans-serif;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
}

h3 {
  font-size: 1.5rem;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--brand-red);
  margin: 0 0 0.6rem;
}

/* Buttons */
.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(194, 65, 12, 0.4);
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-order:hover,
.btn-order:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(194, 65, 12, 0.5);
}

.btn-order.small {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.65rem;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Top bar */
.topbar {
  background: var(--barn-brown);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  padding: 0.55rem 0;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar a {
  color: var(--mustard);
  text-decoration: none;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 243, 230, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 23, 16, 0.1);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  gap: 1rem;
}

.brand {
  font-family: 'Rye', 'Poppins', system-ui, sans-serif;
  font-size: 1.4rem;
  color: var(--barn-brown);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 700;
}

.nav-links a:not(.btn-order) {
  text-decoration: none;
  color: var(--ink);
}

.nav-links a:not(.btn-order):hover {
  color: var(--brand-red);
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(20, 12, 8, 0.55), rgba(20, 12, 8, 0.78)), url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero .wrap {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: 6rem 1.25rem 4rem;
}

.hero .eyebrow {
  color: var(--mustard);
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  text-transform: uppercase;
  max-width: 900px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Sections */
main section {
  padding: 5rem 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
}

#story {
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.story-image img {
  border-radius: 1.5rem;
  box-shadow: 0 24px 50px rgba(31, 23, 16, 0.25);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.story-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.badge {
  background: var(--cream);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
}

.badge strong {
  display: block;
  font-size: 1.4rem;
  color: var(--brand-red);
  font-family: 'Rye', 'Poppins', system-ui, sans-serif;
}

.badge span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Menu */
#menu {
  background: var(--barn-brown);
  color: #fff;
}

#menu .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.menu-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.menu-category h3 {
  color: var(--mustard);
  border-bottom: 2px solid rgba(234, 179, 8, 0.35);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-name {
  font-weight: 700;
}

.menu-item-desc {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.2rem;
}

.menu-item-price {
  font-weight: 800;
  color: var(--mustard);
  white-space: nowrap;
}

.menu-note {
  text-align: center;
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Gallery */
#gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(31, 23, 16, 0.15);
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.gallery-grid .wide {
  grid-column: span 2;
}

/* Reviews */
#reviews {
  background: #fff;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--cream);
  border-radius: 1.25rem;
  padding: 1.75rem;
  position: relative;
}

.review-stars {
  color: var(--mustard);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.review-card p {
  color: var(--ink);
  margin: 0 0 1rem;
}

.review-author {
  font-weight: 700;
  color: var(--brand-red);
}

/* Contact */
#contact {
  background: var(--barn-brown-light);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card h3 {
  color: var(--mustard);
}

.contact-card p {
  margin: 0.2rem 0 1.2rem;
}

.contact-card a {
  text-decoration: none;
}

.contact-card a.plain {
  color: #fff;
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

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

.hours-list li.closed {
  color: rgba(255, 255, 255, 0.5);
}

.map-embed {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Footer */
footer {
  background: var(--barn-brown);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-family: 'Rye', 'Poppins', system-ui, sans-serif;
  font-size: 1.5rem;
  color: #fff;
}

footer .fine-print {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* Mobile floating CTA */
.mobile-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: none;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 8, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 60;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #fff;
  color: var(--ink);
  border-radius: 1.5rem;
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-close {
  border: 0;
  background: rgba(31, 23, 16, 0.08);
  border-radius: 999px;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-card p {
  color: var(--muted);
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .story-grid,
  .menu-categories,
  .review-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a:not(.btn-order) {
    display: none;
  }

  .topbar {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img {
    height: 160px;
  }

  .mobile-cta {
    display: block;
  }

  main section {
    padding: 3.5rem 0;
  }
}
