/* ==========================================================================
   The Big Dill Grill — design system & site styles
   @file     assets/css/styles.css
   @layer    frontend
   @desc     All site styling: tokens, shell, components, per-page layouts.
   @owns     Every visual rule for the static site
   @not      Behavior (see assets/js/main.js), content markup in *.html
   @deps     Google Fonts: Alfa Slab One, Source Sans 3
   @used-in  all 7 HTML pages
   @status   in-progress
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --green: #2e7d3b;
  --green-deep: #1e5a2a;
  --green-ink: #14381c;
  --orange: #e8912b;
  --orange-deep: #b96f16;
  --cream: #fbf5e8;
  --paper: #fffdf7;
  --sand: #f1e6cd;
  --wood: #e5c99a;
  --ink: #26241e;
  --ink-soft: #5b574c;
  --line: #e4dcc8;
  --red: #b3402e;

  --font-display: "Alfa Slab One", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --container: 1160px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(38, 36, 30, 0.08);
  --shadow-md: 0 10px 30px rgba(38, 36, 30, 0.14);
  --shadow-lg: 0 24px 60px rgba(20, 56, 28, 0.25);

  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.14 0 0 0 0 0.10 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-deep);
  color: #fff;
  padding: 0.7rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
  vertical-align: -0.125em;
}

/* ---------- Type helpers ---------- */
.kicker {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 0.6rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.4rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  color: var(--green-ink);
}

.section-head p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* Pickle-slice divider between headline words where needed */
.dill {
  color: var(--green);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(46, 125, 59, 0.35);
}

.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(30, 90, 42, 0.4);
}

.btn-amber {
  background: var(--orange);
  color: var(--green-ink);
  box-shadow: 0 6px 16px rgba(232, 145, 43, 0.35);
}

.btn-amber:hover {
  background: #f5a13f;
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  background: rgba(20, 56, 28, 0.25);
  backdrop-filter: blur(2px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline {
  border-color: var(--green);
  color: var(--green-deep);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green);
  color: #fff;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 1rem 1.9rem;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--green-deep);
  color: #f2f7ee;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.42rem 1rem;
}

.topbar .sep {
  opacity: 0.55;
  margin: 0 0.45rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 3px solid var(--green);
  transition: box-shadow 0.2s ease;
}
/* dark-hero pages start header transparent over hero, solid after scroll */
.site-header.header-on-dark {
  position: fixed;
  left: 0;
  right: 0;
  background: rgba(251, 245, 232, 0.94);
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--green-ink);
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
}

.site-nav a:hover {
  color: var(--green-deep);
  background: var(--sand);
}

.site-nav a[aria-current="page"] {
  color: var(--green-deep);
  box-shadow: inset 0 -3px 0 var(--orange);
  border-radius: 8px 8px 2px 2px;
}

.header-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--green);
  border-radius: 10px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  position: relative;
}

.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2.5px;
  background: var(--green-deep);
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle .bars {
  top: 50%;
  margin-top: -1.25px;
}

.nav-toggle .bars::before {
  transform: translateX(-50%) translateY(-7px);
}

.nav-toggle .bars::after {
  transform: translateX(-50%) translateY(7px);
}

.nav-toggle[aria-expanded="true"] .bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .bars::before {
  transform: translateX(-50%) translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bars::after {
  transform: translateX(-50%) translateY(0) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 1rem 1.25rem 1.4rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.mobile-menu a {
  display: block;
  padding: 0.7rem 0.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-menu a[aria-current="page"] {
  color: var(--green-deep);
}

.mobile-menu .mm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

@media (max-width: 1023px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tag {
    font-size: 0.62rem;
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-bg .slide,
.hero-bg video.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-bg .slide {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg .slide {
    animation: heroCycle 32s linear infinite;
  }

  .hero-bg .slide:nth-child(2) {
    animation-delay: -8s;
  }

  .hero-bg .slide:nth-child(3) {
    animation-delay: -16s;
  }

  .hero-bg .slide:nth-child(4) {
    animation-delay: -24s;
  }

  @keyframes heroCycle {
    0% {
      opacity: 0;
      transform: scale(1);
    }
    4% {
      opacity: 1;
    }
    23% {
      opacity: 1;
      transform: scale(1.06);
    }
    29% {
      opacity: 0;
      transform: scale(1.06);
    }
    100% {
      opacity: 0;
      transform: scale(1);
    }
  }
}

.hero.has-video .slide {
  opacity: 0 !important;
  animation: none !important;
}

.hero video.hero-video {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero.has-video video.hero-video {
  opacity: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 56, 28, 0.42) 0%, rgba(20, 56, 28, 0.12) 40%, rgba(16, 30, 14, 0.78) 100%);
}

.hero-inner {
  padding: 7rem 0 4.5rem;
  max-width: 780px;
}

.hero-kicker {
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #ffe9bd;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  margin-bottom: 0.4em;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.45);
}

.hero h1 .hero-accent {
  color: var(--orange);
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 560px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.8rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.98rem;
  background: rgba(251, 245, 232, 0.14);
  border: 1px solid rgba(251, 245, 232, 0.35);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  backdrop-filter: blur(3px);
}

.hero-hours .icon {
  color: var(--orange);
}

@media (max-width: 640px) {
  .hero {
    min-height: 88svh;
  }

  .hero-inner {
    padding: 6rem 0 5.5rem;
  }

  .hero-ctas .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: 5.5rem 0 4.5rem;
}

.page-hero .ph-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero .hero-scrim {
  background: linear-gradient(180deg, rgba(20, 56, 28, 0.55), rgba(16, 30, 14, 0.82));
}

.page-hero .container {
  max-width: 720px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 560px;
}

.breadcrumbs {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 0.9rem;
}

.breadcrumbs a {
  color: inherit;
}

/* ---------- Info strip ---------- */
.info-strip {
  background: var(--green);
  color: #fff;
  position: relative;
}

.info-strip::before,
.info-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='9'%3E%3Ccircle cx='13' cy='9' r='9' fill='%232e7d3b'/%3E%3C/svg%3E");
  background-size: 26px 9px;
}

.info-strip::before {
  top: -9px;
}

.info-strip::after {
  bottom: -9px;
  transform: scaleY(-1);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.6rem 0;
}

.info-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.info-cell .icon {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--wood);
  margin-top: 0.15rem;
}

.info-cell b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.info-cell span {
  font-size: 0.92rem;
  opacity: 0.92;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
    padding: 2.2rem 0;
  }
}

@media (max-width: 520px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

/* ---------- Hungry-for chips ---------- */
.hungry {
  padding: 3.6rem 0 1rem;
  text-align: center;
}

.hungry h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--green-ink);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--green-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.chip .icon {
  color: var(--green);
}

.chip:hover {
  border-color: var(--green);
  background: #fff;
  transform: translateY(-2px);
}

/* ---------- Split sections ---------- */
.split {
  padding: 4.8rem 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-grid.rev {
  direction: rtl;
}

.split-grid.rev > * {
  direction: ltr;
}

.split-media {
  position: relative;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.split-media .media-badge {
  position: absolute;
  left: -14px;
  bottom: 22px;
  background: var(--orange);
  color: var(--green-ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
  max-width: 240px;
  line-height: 1.3;
}

.split h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--green-ink);
}

.split .lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.check-list {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 600;
}

.check-list .icon {
  color: var(--green);
  margin-top: 0.25rem;
}

@media (max-width: 860px) {
  .split-grid,
  .split-grid.rev {
    grid-template-columns: 1fr;
  }

  .split {
    padding: 3.4rem 0;
  }
}

/* ---------- Alt band colors ---------- */
.band-green {
  background: var(--green-deep);
  color: #eef5e9;
}

.band-green h2,
.band-dark .section-head h2 {
  color: #fff;
}

.band-green p,
.band-dark .section-head p {
  color: #d7e5cf;
}

.band-green .lead {
  color: #d7e5cf;
}

.band-green .kicker {
  color: var(--orange);
}

.band-sand {
  background: var(--sand);
}

.band-dark {
  background: var(--green-ink);
  color: #e9f0e4;
}

/* ---------- Favorites / cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.fav-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fav-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.fav-card .fc-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.fav-card .fc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fav-card:hover .fc-media img {
  transform: scale(1.05);
}

.fav-card .fc-body {
  padding: 1.2rem 1.3rem 1.35rem;
}

.fav-card h3 {
  font-size: 1.22rem;
  color: var(--green-ink);
  margin-bottom: 0.25rem;
}

.fav-card .fc-price {
  font-weight: 700;
  color: var(--orange-deep);
  font-size: 0.98rem;
}

.fav-card p {
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin: 0.45rem 0 0;
}

@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}

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

.review-card {
  background: rgba(251, 245, 232, 0.06);
  border: 1px solid rgba(251, 245, 232, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.review-stars {
  color: var(--orange);
  letter-spacing: 0.1em;
  font-size: 1.05rem;
}

.review-card blockquote {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.6;
  color: #f0f5ea;
}

.review-card cite {
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wood);
}

.rating-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(251, 245, 232, 0.1);
  border: 1px solid rgba(251, 245, 232, 0.28);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-weight: 700;
}

.rating-note .icon {
  color: var(--orange);
}

.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

@media (max-width: 860px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Community board ---------- */
.board {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
}

.board-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.board-item .icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--green);
  margin-top: 0.15rem;
}

.board-item b {
  display: block;
  color: var(--green-ink);
}

.board-item span {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- Gallery wall (home) ---------- */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 0.9rem;
}

.photo-wall a {
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  position: relative;
}

.photo-wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-wall a:hover img {
  transform: scale(1.06);
}

.pw-a {
  grid-column: span 2;
  grid-row: span 3;
}

.pw-b {
  grid-column: span 2;
  grid-row: span 2;
}

.pw-c {
  grid-row: span 2;
}

.pw-d {
  grid-row: span 3;
}

.pw-e {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 760px) {
  .photo-wall {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
  }
}

/* ---------- Visit block ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.hours-table td {
  padding: 0.55rem 0.2rem;
  border-bottom: 1px dashed var(--line);
}

.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-table .day {
  font-weight: 700;
  color: var(--green-ink);
}

.hours-table .today .day,
.hours-table .today .time {
  color: var(--orange-deep);
}

.contact-lines {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.contact-lines li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.contact-lines .icon {
  color: var(--green);
  margin-top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
}

.contact-lines a {
  font-weight: 700;
  color: var(--green-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  min-height: 340px;
}

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

@media (max-width: 860px) {
  .visit-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  isolation: isolate;
  color: #fff;
  text-align: center;
  padding: 6.5rem 0;
  overflow: hidden;
}

.final-cta .ph-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.final-cta .hero-scrim {
  background: linear-gradient(180deg, rgba(20, 56, 28, 0.62), rgba(16, 30, 14, 0.86));
}

.final-cta h2 {
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  color: #fff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
}

.final-cta p {
  font-size: 1.15rem;
  color: #e4ecdd;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.final-cta .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-ink);
  color: #cfdcc6;
  padding: 4rem 0 6.5rem;
  font-size: 0.97rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.4rem;
}

.footer-brand .f-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer-brand .f-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.footer-brand .f-logo b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.15;
}

.site-footer h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: #cfdcc6;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-hours td {
  padding: 0.2rem 0;
}

.footer-hours td:last-child {
  text-align: right;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 3rem;
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #9fb394;
}

.social-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background-color 0.15s ease;
}

.social-row a:hover {
  background: var(--green);
}

.social-row .icon {
  width: 1.15rem;
  height: 1.15rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mobile sticky action bar ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--green-ink);
  border-top: 3px solid var(--orange);
  padding-bottom: env(safe-area-inset-bottom);
}

.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  padding: 0.6rem 0.3rem 0.7rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.action-bar .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--orange);
}

.action-bar a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.action-bar .ab-call {
  background: var(--green);
}

@media (max-width: 719px) {
  .action-bar {
    display: grid;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }
}

/* ---------- Menu page ---------- */
.menu-jump {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
  box-shadow: 0 4px 14px rgba(38, 36, 30, 0.06);
}

.menu-jump ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  margin: 0;
  padding: 0.55rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.menu-jump ul::-webkit-scrollbar {
  display: none;
}

.menu-jump a {
  display: block;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
}

.menu-jump a:hover {
  color: var(--green-deep);
  border-color: var(--line);
  background: var(--cream);
}

.menu-section {
  padding: 3rem 0 1rem;
  scroll-margin-top: calc(var(--header-h) + 64px);
}

.menu-section > .container > h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--green-ink);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.menu-section > .container > h2 .ms-note {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.menu-cols {
  columns: 2;
  column-gap: 3.2rem;
  margin-top: 1.2rem;
}

.menu-cols > .mi {
  break-inside: avoid;
}

.mi {
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--line);
}

.mi:last-child {
  border-bottom: 0;
}

.mi-head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.mi-head b {
  font-size: 1.06rem;
  color: var(--ink);
}

.mi-head .dots {
  flex: 1;
  border-bottom: 2px dotted #cbc2ab;
  transform: translateY(-4px);
  min-width: 1.5rem;
}

.mi-head .price {
  font-weight: 700;
  color: var(--green-deep);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.mi .mi-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0.2rem 0 0;
  max-width: 52ch;
}

.mi .mi-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  margin-right: 0.4rem;
}

.menu-fine {
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 72ch;
  margin: 2.5rem 0 0;
}

.menu-fave-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin: 0.6rem 0 2rem;
}

.menu-fave {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.menu-fave img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-fave figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(16, 30, 14, 0.85));
  color: #fff;
  font-weight: 700;
  padding: 1.6rem 1rem 0.8rem;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .menu-cols {
    columns: 1;
  }

  .menu-fave-strip {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .menu-fave-strip {
    gap: 1rem;
  }
}

/* ---------- Steps (how it works) ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--orange);
  display: block;
  margin-bottom: 0.4rem;
}

.steps li b {
  display: block;
  font-size: 1.05rem;
  color: var(--green-ink);
  margin-bottom: 0.3rem;
}

.steps li span {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Event type grid ---------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-grid li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: var(--green-ink);
}

.event-grid .icon {
  color: var(--orange-deep);
  width: 1.15rem;
  height: 1.15rem;
}

@media (max-width: 760px) {
  .event-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-ink);
  padding: 1rem 1.3rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--orange-deep);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq-a {
  padding: 0 1.3rem 1.2rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  max-width: 720px;
  margin-inline: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #d9d0b9;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(232, 145, 43, 0.45);
  border-color: var(--green);
}

.form-field input.invalid,
.form-field input.invalid:focus {
  border-color: var(--red);
}

.field-error {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--sand);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  margin: 0;
}

.form-status {
  grid-column: 1 / -1;
  font-weight: 700;
  color: var(--green-deep);
  min-height: 1.2em;
  margin: 0;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Gallery page ---------- */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.masonry {
  columns: 3;
  column-gap: 1.1rem;
}

.masonry figure {
  margin: 0 0 1.1rem;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: zoom-in;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.masonry figure:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.masonry img {
  width: 100%;
}

.masonry figcaption {
  padding: 0.7rem 0.95rem 0.8rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.masonry figure.hidden-cat {
  display: none;
}

@media (max-width: 860px) {
  .masonry {
    columns: 2;
  }
}

@media (max-width: 540px) {
  .masonry {
    columns: 1;
  }
}

/* Lightbox */
dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1000px);
  max-height: 92svh;
  margin: auto;
}

dialog.lightbox::backdrop {
  background: rgba(16, 24, 14, 0.88);
  backdrop-filter: blur(3px);
}

.lb-inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}

.lb-inner img {
  max-width: 100%;
  max-height: 78svh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lb-cap {
  color: #e8eee2;
  font-size: 0.95rem;
  text-align: center;
  max-width: 60ch;
}

.lb-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

.lb-prev {
  left: 0.8rem;
}

.lb-next {
  right: 0.8rem;
}

.lb-close:hover,
.lb-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ---------- Story page ---------- */
.story-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.3;
  color: var(--green-deep);
  max-width: 21ch;
  margin: 0;
}

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

.fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
}

.fact b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--green-ink);
  display: block;
  margin-bottom: 0.2rem;
}

.fact span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .fact-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Truck page ---------- */
.truck-menu-note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: rgba(232, 145, 43, 0.14);
  border: 1px dashed var(--orange);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.truck-menu-note .icon {
  color: var(--orange-deep);
  margin-top: 0.2rem;
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .topbar,
  .action-bar,
  .final-cta,
  .site-footer {
    display: none !important;
  }
}
