/* =========================================================================
   ZubesGrub - Mockup Design System
   Static visual mockup only (no functionality). Isolated from the Next.js app.

   COLOR RULE (documented + locked):
     --orange  = THE global accent. ALL primary CTAs, links, focus = orange.
     --green   = NIGERIAN cultural signifier (used only to mark NG sections/tags)
     --red     = AMERICAN cultural signifier (used only to mark US sections/tags)
   Green/red never act as the interactive accent; orange does, everywhere.

   SHAPE RULE (locked): buttons = pill (full), cards = 20px, inputs/chips = 12px.
   THEME: single light theme, locked for the whole site.
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  /* Brand */
  --orange: #ff5a1f;
  --orange-deep: #e8410a;
  --green: #138a36;
  --green-deep: #0a4d22;
  --red: #d6242c;
  --red-deep: #9c1118;

  /* Neutrals (warm) */
  --paper: #fffcf7;
  --paper-2: #fff4e6;
  --cream: #fff1dd;
  --ink: #1a1512;
  --ink-2: #4a423c;
  --ink-3: #7d736b;
  --line: #ece2d3;
  --line-2: #e0d3bf;
  --white: #ffffff;

  /* Radius */
  --r-card: 20px;
  --r-input: 12px;
  --r-pill: 999px;

  /* Type */
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  /* Shadow (tinted warm, never pure black) */
  --shadow-sm: 0 1px 2px rgba(26, 21, 18, 0.06), 0 2px 8px rgba(26, 21, 18, 0.04);
  --shadow-md: 0 6px 20px rgba(26, 21, 18, 0.08), 0 2px 6px rgba(26, 21, 18, 0.05);
  --shadow-lg: 0 24px 60px rgba(26, 21, 18, 0.16);

  --maxw: 1240px;
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding-block: clamp(56px, 9vw, 120px);
}
.section-sm {
  padding-block: clamp(40px, 6vw, 72px);
}
.grid {
  display: grid;
  gap: 24px;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.h-xxl {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.95;
}
.h-xl {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
.h-l {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}
.h-m {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
  max-width: 60ch;
}
.muted {
  color: var(--ink-3);
}
.mono {
  font-family: var(--mono);
}
.price {
  font-family: var(--mono);
  font-weight: 700;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  font-weight: 700;
}
.underline-orange {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.12em;
}
.ink-orange {
  color: var(--orange);
}

/* ---------- Buttons (pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  padding: 0.85em 1.5em;
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.32);
}
.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 90, 31, 0.4);
}
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover {
  transform: translateY(-2px);
  background: #000;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 1.05em 1.9em;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 0.55em 1em;
  font-size: 0.85rem;
}

/* ---------- Chips / Badges / Tags ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  border-radius: var(--r-input);
  padding: 0.35em 0.7em;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--cream);
  color: var(--ink-2);
  border: 1px solid var(--line-2);
}
.tag-ng {
  background: rgba(19, 138, 54, 0.12);
  color: var(--green-deep);
  border-color: rgba(19, 138, 54, 0.3);
}
.tag-us {
  background: rgba(214, 36, 44, 0.1);
  color: var(--red-deep);
  border-color: rgba(214, 36, 44, 0.28);
}
.tag-spicy {
  background: rgba(255, 90, 31, 0.12);
  color: var(--orange-deep);
  border-color: rgba(255, 90, 31, 0.3);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot-green {
  background: var(--green);
}
.dot-red {
  background: var(--red);
}
.dot-orange {
  background: var(--orange);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-pad {
  padding: 24px;
}
.card-hover {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Food media block: colored backstop so layout holds even if photo is slow */
.media {
  position: relative;
  background: linear-gradient(135deg, var(--paper-2), var(--cream));
  overflow: hidden;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ratio-43 {
  aspect-ratio: 4 / 3;
}
.ratio-11 {
  aspect-ratio: 1 / 1;
}
.ratio-169 {
  aspect-ratio: 16 / 9;
}
.ratio-34 {
  aspect-ratio: 3 / 4;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 252, 247, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transform: rotate(-4deg);
}
.brand .mark span {
  transform: rotate(4deg);
}
.brand em {
  color: var(--orange);
  font-style: normal;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ---------- Today strip ---------- */
.today {
  background: var(--green-deep);
  color: #eafff0;
}
.today-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  flex-wrap: wrap;
}
.today-inner .where {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.today-inner .pin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
}

/* ---------- Forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-weight: 600;
  font-size: 0.9rem;
}
.field .hint {
  font-size: 0.8rem;
  color: var(--ink-3);
}
.field .err {
  font-size: 0.8rem;
  color: var(--red-deep);
}
.input,
.select,
.textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-input);
  padding: 0.8em 0.95em;
  font: inherit;
  color: var(--ink);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.input::placeholder,
.textarea::placeholder {
  color: #b3a99e;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}
.textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #d9cfc4;
  padding-block: 64px 32px;
}
.footer a {
  color: #d9cfc4;
}
.footer a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--sans);
  font-weight: 700;
}
.footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}
.footer .brand {
  color: #fff;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #9b9088;
}

/* ---------- Helpers ---------- */
.flex {
  display: flex;
}
.between {
  justify-content: space-between;
}
.center {
  align-items: center;
}
.gap-8 {
  gap: 8px;
}
.gap-12 {
  gap: 12px;
}
.gap-16 {
  gap: 16px;
}
.gap-24 {
  gap: 24px;
}
.wrap-flex {
  flex-wrap: wrap;
}
.col {
  flex-direction: column;
}
.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-40 {
  margin-top: 40px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-24 {
  margin-bottom: 24px;
}
.text-center {
  text-align: center;
}
.divider {
  height: 1px;
  background: var(--line);
  border: 0;
}
.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bg-cream {
  background: var(--cream);
}
.bg-paper2 {
  background: var(--paper-2);
}
.bg-ink {
  background: var(--ink);
  color: var(--paper);
}
.bg-green {
  background: var(--green-deep);
  color: #eafff0;
}
.bg-red {
  background: var(--red-deep);
  color: #fff0f0;
}

/* ---------- Scroll reveal (motion, reduced-motion safe) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 820px) {
  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
  }
  .mobile-open .nav-links a {
    padding: 10px 0;
    font-size: 1.05rem;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .wrap {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
