/* Meal Prep Sunday — NeighborhoodLocal archetype
   Fonts: Lexend + Source Sans 3 (Google Fonts CDN)
   Motion: CSS + IO fade-in only; open-now badge from hours JSON */

:root {
  --forest: #1e6b52;
  --forest-dark: #155a43;
  --sun: #f4a024;
  --sun-dark: #d9890f;
  --cream: #fffcf5;
  --ink: #1a2332;
  --ink-muted: #4a5568;
  --border: #e2e8f0;
  --white: #ffffff;
  --open: #15803d;
  --closed: #b45309;
  --font-display: "Lexend", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 2px 12px rgba(26, 35, 50, 0.08);
  --header-h: 68px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--forest); }
a:hover { color: var(--forest-dark); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin-inline: auto;
  padding: 0.75rem 1rem;
  min-height: var(--header-h);
}

.logo img { height: 32px; width: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin-inline: auto;
  transition: var(--transition);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink-muted);
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--forest); }

.nav-cta {
  background: var(--forest) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--forest-dark) !important;
  color: var(--white) !important;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.btn-primary:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

.btn-full { width: 100%; }

/* Visit block */
.visit-block {
  background: var(--white);
  border-bottom: 3px solid var(--sun);
  padding: 1.5rem 0 2rem;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.visit-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.visit-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.open-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: var(--border);
  color: var(--ink-muted);
}

.open-badge.is-open {
  background: #dcfce7;
  color: var(--open);
}

.open-badge.is-closed {
  background: #fef3c7;
  color: var(--closed);
}

.visit-address {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.hours-table {
  width: 100%;
  max-width: 320px;
  border-collapse: collapse;
  margin-bottom: 0.5rem;
}

.hours-table th,
.hours-table td {
  padding: 0.35rem 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.hours-table th {
  font-weight: 600;
  width: 40%;
  color: var(--ink);
}

.hours-table td { color: var(--ink-muted); }

.hours-note {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.map-card:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow);
}

.map-placeholder {
  position: relative;
  min-height: 220px;
  background:
    linear-gradient(135deg, #dbeafe 0%, #bfdbfe 40%, #93c5fd 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.map-pin {
  position: relative;
  width: 28px;
  height: 28px;
  background: var(--forest);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.map-pin::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--sun);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.9375rem;
}

.map-cta {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--cream);
  color: var(--forest);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
}

/* Welcome */
.welcome-section {
  padding: 2.5rem 0;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest);
  margin: 0 0 0.5rem;
}

.welcome-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
  color: var(--forest);
}

.about-card p {
  margin: 0 0 0.75rem;
  font-size: 0.975rem;
  color: var(--ink-muted);
}

.about-facts {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.about-facts li { margin-bottom: 0.25rem; }

/* Services */
.services-section {
  padding: 2.5rem 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 0.35rem;
}

.section-header p {
  margin: 0;
  color: var(--ink-muted);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--sun);
}

.service-icon {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sun-dark);
  margin-bottom: 0.35rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* Menu — two-column lists */
.menu-section {
  padding: 2.5rem 0;
}

.menu-category {
  margin-bottom: 2rem;
}

.menu-category h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--forest);
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--sun);
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.975rem;
}

.item-name { flex: 1; color: var(--ink); }

.item-price {
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
}

/* FAQ */
.faq-section {
  padding: 2.5rem 0;
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--cream);
}

.faq-list summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--forest);
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  color: var(--ink-muted);
  font-size: 0.975rem;
}

/* Booking */
.booking-section {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, var(--cream) 0%, #eef6f2 100%);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.booking-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 0.75rem;
}

.booking-copy p {
  color: var(--ink-muted);
  margin: 0 0 0.75rem;
}

.booking-note { font-size: 0.9375rem; }

.booking-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(30, 107, 82, 0.15);
}

.form-field input.is-invalid,
.form-field select.is-invalid {
  border-color: #dc2626;
}

.field-error {
  display: block;
  font-size: 0.8125rem;
  color: #dc2626;
  min-height: 1.25rem;
  margin-top: 0.25rem;
}

.form-success {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: #dcfce7;
  color: var(--open);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
}

.form-success:focus { outline: none; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 2.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sun);
  margin: 0 0 0.75rem;
}

.footer-col p {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
}

.footer-col a {
  color: #e2e8f0;
  text-decoration: none;
}

.footer-col a:hover { color: var(--sun); }

.footer-note {
  font-size: 0.8125rem;
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding: 1rem 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: #94a3b8;
  text-align: center;
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .visit-grid,
  .welcome-grid,
  .booking-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .price-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    margin: 0.5rem 1rem;
    text-align: center;
  }

  .visit-actions .btn {
    flex: 1;
    min-width: 140px;
  }
}
