/*
Theme Name: Babai Junction
Theme URI: https://babaijunction.com
Author: Babai Junction
Description: Custom theme for the Babai Junction Indian food truck: day/night hero, catering & franchise enquiries, gallery and full menu page.
Version: 1.2.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: babai-junction
*/

:root {
  color-scheme: light dark;
  --gold: #ffbf18;
  --gold-deep: #d98b00;
  --ink: #0b0b08;
  --charcoal: #141414;
  --paper: #f4efe5;
  --cream: #fff7e4;
  --chili: #b93927;
  --muted: #7d7468;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: white;
  font-family: Inter, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

/* ---------- Header / hero ---------- */
.site-header {
  min-height: 100svh;
  background-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.5), rgba(0,0,0,.05)), url("assets/day.jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
}
.site-header.is-day {
  background-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.5), rgba(0,0,0,.05)), url("assets/day.jpeg");
}
.site-header.is-night {
  background-image: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.52), rgba(0,0,0,.16)), url("assets/night.jpeg");
}
.site-header, .menu-page-header { padding-top: 98px; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  padding: 18px max(16px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled {
  background: rgba(8, 8, 8, .94);
  backdrop-filter: blur(8px);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-logo {
  width: 112px;
  height: 70px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.brand strong, h1, h2, h3, .button, .nav-links a, .label {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}
.brand small { display: block; font-size: 12px; opacity: .82; letter-spacing: 1px; text-transform: uppercase; }
.brand strong { display: block; font-size: 25px; line-height: .95; }
.site-header .brand strong { color: var(--gold); }
.site-header .brand small { color: rgba(255,255,255,.82); }

.nav-links {
  justify-self: center;
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 16px;
}
.nav-links a {
  position: relative;
  padding: 12px 2px;
  border-bottom: 0;
  letter-spacing: .05em;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
  transition: color .18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"], .nav-links a.is-active { color: var(--gold); border-color: transparent; }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="page"]::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
.nav-toggle { display: none; }

/* Order Online: plain gold rounded button */
.order-trigger {
  border: 0;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #090909;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.order-trigger:hover, .order-trigger:focus-visible { transform: translateY(-1px); }
.order-trigger:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.order-trigger:active { transform: translateY(0) scale(.97); }

.button {
  border: 0;
  min-height: 46px;
  border-radius: 7px;
  padding: 0 22px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #090909;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  text-decoration: none;
  transition: transform .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.secondary { background: transparent; color: white; border: 2px solid rgba(255,255,255,.6); box-shadow: none; }
.button.dark { background: #111; color: white; box-shadow: 0 10px 22px rgba(0,0,0,.35); }
.button.dark:hover { background: #000; }
.button.small { min-height: 42px; padding-inline: 18px; font-size: 14px; }
.button.full { width: 100%; }

.hero {
  min-height: calc(100svh - 98px);
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 60px 0 130px;
}
.hero-copy { max-width: 590px; }
.eyebrow, .label {
  color: var(--gold);
  margin: 0 0 12px;
  font-weight: 900;
}
h1 { margin: 0 0 18px; font-size: clamp(44px, 7vw, 76px); line-height: .96; color: white; }
.hero h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 118px);
  line-height: .82;
  text-shadow: 0 7px 1px rgba(0,0,0,.45);
}
h1 span, h2 span { color: var(--gold); }
/* Accent words use the same gold as "Street Soul", also on light sections (soft shadow keeps them readable) */
.light h2 span, .catering h2 span, .franchise h2 span { color: var(--gold); text-shadow: 1px 2px 0 rgba(0,0,0,.14); }
.hero-text {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.feature-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.9);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 18px max(16px, calc((100vw - 1120px) / 2));
}
.feature-strip article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 12px;
  align-items: center;
}
.feature-strip span { color: var(--gold); font-size: 31px; grid-row: span 2; }
.feature-strip strong { text-transform: uppercase; font-weight: 900; }
.feature-strip small { color: rgba(255,255,255,.74); }

/* ---------- Sections ---------- */
.section { padding: 48px max(18px, calc((100vw - 1120px) / 2)); scroll-margin-top: 98px; }
.light { background: var(--paper); color: var(--ink); }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
h2 { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: .92; }
/* Accent words use the same gold as "Street Soul", also on light sections */
.light h2 span, .catering h2 span, .franchise h2 span { color: var(--gold); text-shadow: 1px 2px 0 rgba(0,0,0,.14); }

/* ---------- Menu grid / dish cards (shared by homepage teaser + Full Menu) ---------- */
.full-menu-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
}
/* Homepage signatures: roomy cards, always a single row (4 desktop / 3 tablet / 2 phone; extras are hidden) */
.menu-grid { display: flex; flex-wrap: nowrap; justify-content: center; gap: 20px; }
.menu-grid .dish-card { flex: 0 0 calc(25% - 15px); min-width: 0; }
.menu-grid .dish-card-art { aspect-ratio: 16 / 10; font-size: clamp(44px, 5vw, 60px); }
.menu-grid .dish-card-label { padding: 16px 18px 18px; }
.menu-grid .dish-card-label strong { font-size: 20px; }
.menu-grid .dish-card-label span { font-size: 14px; margin-top: 4px; }
.menu-grid .dish-price { font-size: 20px; }
.full-menu-items { grid-template-columns: repeat(4, minmax(180px, 1fr)); }

.dish-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
  color: white;
  background: #0d0d0d;
  transition: transform .18s ease, box-shadow .18s ease;
  scroll-margin-top: 110px;
}
.dish-card:hover, .dish-card:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.24); }
.dish-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.dish-card.is-highlight { outline: 3px solid var(--gold); outline-offset: 3px; }
.dish-card-art {
  aspect-ratio: 1 / .9;
  display: grid;
  place-items: center;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 900;
  color: var(--gold);
  text-shadow: 3px 3px 0 #080808;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,191,24,.8), transparent 22%),
    radial-gradient(circle at 70% 45%, rgba(185,57,39,.88), transparent 24%),
    linear-gradient(135deg, #6f2b12, #17100b);
}
.dish-card-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
  padding: 12px 12px 12px;
  clip-path: polygon(0 9px, 5% 1px, 10% 8px, 17% 0, 24% 8px, 31% 1px, 38% 8px, 45% 0, 52% 8px, 59% 1px, 66% 8px, 73% 0, 80% 8px, 87% 1px, 94% 8px, 100% 1px, 100% 100%, 0 100%);
}
.dish-card-label strong { display: block; font-size: 17px; line-height: 1.05; text-transform: uppercase; }
.dish-card-label span { display: block; color: var(--gold); font-size: 13px; font-weight: 800; text-transform: uppercase; margin-top: 2px; }
.dish-card-desc { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.4; }
.dish-card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dish-price { color: white; font-size: 17px; font-weight: 900; }

/* ---------- Location / "Opening Soon" band ---------- */
.location-band {
  display: grid;
  grid-template-columns: minmax(240px, 310px) 1fr 1.15fr;
  gap: 18px;
  background: #0b0b0b;
  padding: 34px max(18px, calc((100vw - 1120px) / 2));
  scroll-margin-top: 98px;
}
.location-card {
  padding: 20px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.location-card .label { margin: 0 0 6px; color: rgba(255,255,255,.7); font-size: 13px; }
.location-card .live-badge {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: .98;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.location-card .date { color: var(--gold) !important; font-weight: 900; text-transform: uppercase; margin: 0 0 14px; font-size: 16px; letter-spacing: .02em; }
.location-card address { color: rgba(255,255,255,.82); font-style: normal; line-height: 1.5; margin: 0 0 14px; font-size: 16px; }
.location-card .open-now { color: rgba(255,255,255,.82); line-height: 1.5; margin: 0 0 20px; font-size: 16px; }
.location-card .open-now strong { color: #fff; }
.location-card .button.full { margin-top: auto; }

.truck-photo {
  min-height: 270px;
  background-image: url("assets/night.jpeg");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  transition: background-image .3s ease;
}
.map-panel { position: relative; border-radius: 8px; overflow: hidden; min-height: 270px; }
.map-panel iframe { width: 100%; height: 100%; min-height: 270px; border: 0; display: block; }
.map-pin {
  position: absolute;
  left: 14px;
  top: 14px;
  max-width: min(75%, 260px);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: white;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.45;
  color: #333;
}
.map-pin-dot { font-size: 17px; line-height: 1.1; }
.map-pin strong { display: block; color: var(--gold-deep); font-size: 14px; margin-bottom: 2px; }
.map-directions { position: absolute; right: 14px; bottom: 14px; }

/* ---------- Home gallery (bento) ---------- */
.gallery-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 215px;
  gap: 12px;
}
.g-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #141414;
  color: white;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  isolation: isolate;
}
.g-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  z-index: -2;
}
.g-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.78));
  z-index: -1;
}
.g-tile:hover img, .g-tile:focus-visible img { transform: scale(1.06); }
.g-tile:focus-visible, .social-card a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.g-feature { grid-column: 1 / 3; grid-row: 1 / 3; }
.g-second { grid-column: 3 / 5; grid-row: 1; }
.g-cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.g-cap strong { color: var(--gold); text-transform: uppercase; font-size: 15px; letter-spacing: .04em; }
.g-cap small { font-size: 13px; color: rgba(255,255,255,.85); }
.gallery-bento .social-card { grid-column: 3; grid-row: 2; justify-content: center; gap: 14px; }
.g-more {
  grid-column: 4;
  grid-row: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
}
.g-more img { filter: blur(3px) brightness(.55); transform: scale(1.08); }
.g-more::after { background: rgba(0,0,0,.35); }
.g-more-inner { display: grid; gap: 6px; justify-items: center; }
.g-more-count { font-size: 40px; line-height: 1; color: var(--gold); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; }
.g-more-label { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; }
.g-more-arrow {
  margin-top: 4px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid; place-items: center;
  font-weight: 900;
  transition: transform .25s ease;
}
.g-more:hover .g-more-arrow, .g-more:focus-visible .g-more-arrow { transform: translateX(6px); }

.social-card {
  background: var(--gold);
  color: var(--ink);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 900;
}
.social-icons { display: flex; gap: 8px; }
.social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #111;
  color: white;
  display: grid;
  place-items: center;
  transition: background .15s ease;
}
.social-icons svg { width: 16px; height: 16px; }
.social-icons a:hover { background: var(--gold); color: var(--ink); }
.social-card .button.dark { white-space: nowrap; align-self: flex-start; margin-top: 2px; font-weight: 800; }

@media (max-width: 980px) {
  .gallery-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .g-feature, .g-second { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery-bento .social-card { grid-column: auto; grid-row: auto; min-height: 200px; }
  .g-more { grid-column: auto; grid-row: auto; min-height: 200px; }
}
@media (max-width: 640px) {
  .g-feature, .g-second { grid-column: 1 / 3; aspect-ratio: 4 / 3; }
  .gallery-bento .social-card { grid-column: 1 / 3; min-height: 0; }
  .g-more { grid-column: 1 / 3; min-height: 130px; }
}

/* ---------- Full gallery page ---------- */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}
.gp-item {
  position: relative;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #141414;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.gp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gp-item:hover img, .gp-item:focus-visible img { transform: scale(1.05); }
.gp-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gp-item span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.75));
  color: white; text-align: left; font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: .04em;
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.gp-item:hover span, .gp-item:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .gp-item span { opacity: 1; transform: none; } }
.gallery-page-cta {
  margin-top: 40px;
  padding: 28px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink);
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
}
.gallery-page-cta h3 { margin: 0 0 4px; font-size: 26px; }
.gallery-page-cta p { margin: 0; font-weight: 700; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 56px 16px 64px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb-btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(255,255,255,.14); color: white;
  font-size: 26px; line-height: 1; display: grid; place-items: center;
}
.lb-btn:hover { background: var(--gold); color: var(--ink); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 14px; }
body.lb-open { overflow: hidden; }

/* ---------- Reviews ---------- */
.reviews {
  background: #0d0d0d;
  padding: 34px max(18px, calc((100vw - 1120px) / 2));
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.reviews > h2 { flex: 0 0 220px; }
.reviews-carousel { flex: 1 1 480px; min-width: 0; }
.reviews-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.reviews-track article {
  flex: 0 0 calc(33.333% - 12px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  min-height: 150px;
  background: #111;
  display: flex;
  flex-direction: column;
}
.reviews strong { color: var(--gold); }
.reviews p { line-height: 1.4; flex: 1; }
.review-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.review-foot small { color: rgba(255,255,255,.75); }
.google-g { width: 20px; height: 20px; flex-shrink: 0; }
.reviews-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.reviews-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.3); cursor: pointer; padding: 0;
}
.reviews-dots button:hover { background: var(--gold); }
.reviews-more { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 800; }
.reviews-more:hover { text-decoration: underline; }
.reviews-more[hidden] { display: none; }

/* ---------- Catering & Franchise (shared layout) ---------- */
.catering, .franchise {
  background: var(--paper);
  color: var(--ink);
  padding: 34px max(18px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 1.9fr) auto;
  gap: 32px;
  align-items: center;
  scroll-margin-top: 98px;
}
.franchise { background: var(--cream); }
.catering-items, .franchise-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}
.catering article, .franchise article { padding-left: 18px; border-left: 1px solid rgba(0,0,0,.18); }
.catering strong, .franchise strong { display: block; text-transform: uppercase; }
.catering small, .franchise small { color: var(--muted); }

/* ---------- About ---------- */
.about {
  background: var(--cream);
  color: var(--ink);
  padding: 44px max(18px, calc((100vw - 1120px) / 2));
  scroll-margin-top: 98px;
}
.about h2, .about p { max-width: 820px; }
.about p { font-size: 18px; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer {
  background: #080808;
  padding: 40px max(18px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 28px;
  scroll-margin-top: 98px;
}
.footer h3 { margin: 0 0 12px; color: var(--gold); }
.footer a, .footer p { display: block; color: rgba(255,255,255,.76); margin: 7px 0; }
.footer-intro { display: grid; gap: 18px; align-content: start; }
.footer .footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer .footer-brand .brand-logo { width: 220px; height: auto; max-width: 100%; }
.footer .footer-brand small { max-width: 260px; margin-top: 6px; line-height: 1.35; display: block; }
.footer .footer-brand strong { color: var(--gold); }
.partner-card {
  display: grid;
  gap: 8px;
  width: min(260px, 100%);
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}
.partner-card span { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.35; }
.partner-logo { width: 100%; max-width: 210px; height: auto; display: block; border-radius: 6px; object-fit: contain; }
.footer-hours { display: grid; align-content: start; gap: 8px; }
.footer-hours p { line-height: 1.45; }
.footer-hours strong { color: white; }

input, textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 7px;
  padding: 11px 12px;
}

/* ---------- Cart / catering / franchise side panels ---------- */
.catering-panel, .cart-panel, .franchise-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #121212;
  color: white;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 60;
  overflow-y: auto;
}
.catering-panel.open, .cart-panel.open, .franchise-panel.open { transform: translateX(0); }
.cart-shell, .catering-shell, .franchise-shell { padding: 26px; display: flex; flex-direction: column; gap: 18px; min-height: 100%; }
.cart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.icon-button { background: transparent; border: 0; color: white; font-size: 26px; cursor: pointer; line-height: 1; padding: 4px; }
.cart-items { display: grid; gap: 14px; }
.cart-line { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 10px; }
.checkout-form, .catering-form, .franchise-form { display: grid; gap: 14px; margin-top: auto; }
.checkout-form label, .catering-form label, .franchise-form label { display: grid; gap: 6px; font-size: 13px; color: rgba(255,255,255,.75); }
.checkout-form input, .checkout-form textarea,
.catering-form input, .catering-form textarea,
.franchise-form input, .franchise-form textarea, .franchise-form select { background: #1c1c1c; border: 1px solid rgba(255,255,255,.18); color: white; }
.franchise-form select { font: inherit; padding: 11px 12px; border-radius: 7px; width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.franchise-form select option { background: #1c1c1c; color: white; }
.total-row { display: flex; justify-content: space-between; font-size: 18px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.18); }
.form-actions { display: grid; gap: 10px; }
.form-note { font-size: 13px; color: var(--gold); min-height: 18px; }

/* ---------- Full menu page ---------- */
.menu-page { background: var(--paper); color: var(--ink); }
.menu-page-header {
  background-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.58)), url("assets/night.jpeg");
  background-size: cover;
  background-position: center;
  color: white;
}
.full-menu-hero { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 70px 0 82px; }
.full-menu-hero h1 { max-width: 720px; }
.full-menu-main { padding: 48px max(18px, calc((100vw - 1120px) / 2)); background: var(--paper); color: var(--ink); scroll-margin-top: 98px; }
.full-menu-head { border-bottom: 3px solid rgba(0,0,0,.14); padding-bottom: 22px; }
.full-menu-grid { display: grid; gap: 34px; }
.full-menu-category h2 { margin-bottom: 16px; color: var(--ink); font-size: clamp(28px, 3.5vw, 40px); }

@media (max-width: 980px) {
  .full-menu-items { grid-template-columns: repeat(2, 1fr); }
  .full-menu-items .dish-card-art { aspect-ratio: 1 / .7; }
}
@media (max-width: 640px) {
  .full-menu-hero { padding: 52px 0 60px; }
  .full-menu-items { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ---------- Responsive: nav / layout ---------- */
@media (min-width: 981px) and (max-width: 1180px) {
  .nav { gap: 12px; }
  .nav-links { gap: 14px; font-size: 14.5px; }
  .nav .order-trigger { padding: 0 16px; }
  .brand-logo { width: 84px; height: 52px; }
  .brand strong { font-size: 20px; }
}

@media (max-width: 980px) {
  .nav { grid-template-columns: auto auto; grid-template-rows: auto auto; }
  .nav .brand { grid-column: 1; grid-row: 1; }
  .nav .order-trigger { grid-column: 2; grid-row: 1; width: auto; min-height: 42px; padding: 0 14px; font-size: 14px; }
  .nav .nav-toggle { grid-column: 3; grid-row: 1; }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    width: 46px;
    min-height: 46px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.5);
    color: white;
    border-radius: 7px;
    padding: 10px;
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: white; margin: 4px auto; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    display: none;
    background: rgba(0,0,0,.82);
    border-radius: 8px;
    padding: 14px 16px;
    gap: 4px 22px;
    font-size: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; }
  .feature-strip, .footer, .location-band { grid-template-columns: 1fr 1fr; }
  .menu-grid .dish-card { flex-basis: calc(33.333% - 14px); }
  .menu-grid .dish-card:nth-child(n+4) { display: none; }
  .reviews > h2 { flex-basis: 100%; }
  .reviews-track article { flex-basis: calc(50% - 9px); }
  .catering, .franchise { grid-template-columns: 1fr; gap: 22px; }
  .catering .button, .franchise .button { justify-self: start; }
}

@media (max-width: 640px) {
  .site-header { min-height: 760px; background-position: 58% center; }
  .hero { align-items: end; padding-bottom: 230px; }
  .hero-actions .button { width: 100%; }
  .feature-strip { grid-template-columns: 1fr; padding-bottom: 20px; }
  .section-head { align-items: stretch; flex-direction: column; }
  .footer, .location-band { grid-template-columns: 1fr; }
  .menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .menu-grid .dish-card { flex: none; }
  .menu-grid .dish-card:nth-child(n+3) { display: none; }
  .menu-grid .dish-card-art { aspect-ratio: 1 / .8; }
  .menu-grid .dish-card-label { padding: 12px; }
  .dish-card-art { font-size: 32px; }
  .menu-grid .dish-card-label strong, .dish-card-label strong { font-size: 14px; }
  .menu-grid .dish-price { font-size: 16px; }
  .reviews-track article { flex-basis: 88%; }
  .catering-items, .franchise-items { gap: 18px 16px; }
  .catering .button, .franchise .button { width: 100%; justify-self: stretch; }
  .catering article, .franchise article { padding-left: 12px; }
  .brand strong { font-size: 21px; }
  .brand-logo { width: 92px; height: 58px; }
  .nav .brand > span { display: none; }
  .nav .brand-logo { width: 78px; height: 48px; }
  .site-header, .menu-page-header { padding-top: 84px; }
  .hero { min-height: calc(100svh - 84px); }
  .footer .footer-brand { align-items: start; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a, .nav-links a::after, .order-trigger { transition: none; }
}

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

/* Spam honeypot field in the enquiry forms - invisible to people */
.bj-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
