/* ============================================================================
   DUBE FLAME & FEAST — DESIGN SYSTEM & STYLES
   Minimalist / premium / editorial. Inspired by Allan Gray's restraint,
   Magalies' one-page structure, Nyama's food-led storytelling.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --black: #101010;
  --charcoal: #252525;
  --offwhite: #F7F7F5;
  --white: #FFFFFF;
  --red: #E9272E;
  --red-dark: #c71f25;
  --silver: #AFAFAF;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Merriweather", Georgia, "Times New Roman", serif;

  --maxw: 1240px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 50px -20px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.6);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--offwhite);
  color: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.serif { font-family: var(--font-serif); font-weight: 700; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  margin: 0.6rem 0 1rem;
  max-width: 18ch;
}
.section-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #4a4a4a;
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--dark { background: var(--black); color: var(--offwhite); }
.section--charcoal { background: var(--charcoal); color: var(--offwhite); }
.section--dark .section-lead,
.section--charcoal .section-lead { color: var(--silver); }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-title { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -12px rgba(233, 39, 46, 0.7); }
.btn--red:hover { background: var(--red-dark); box-shadow: 0 16px 34px -12px rgba(233, 39, 46, 0.85); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--charcoal); }
.btn--outline-dark { border: 1.5px solid var(--black); color: var(--black); }
.btn--outline-dark:hover { background: var(--black); color: #fff; }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.textlink svg { transition: transform 0.3s var(--ease); }
.textlink:hover svg { transform: translateX(5px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(16, 16, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px -14px rgba(0,0,0,0.6);
  height: 66px;
}
.nav__inner {
  width: min(100% - 2.6rem, var(--maxw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__logo { display: flex; align-items: center; height: 60px; }
.nav__logo img { height: 100%; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link.active { color: #fff; }
.nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.nav__cta .btn { padding: 0.72rem 1.3rem; }

/* Mobile toggle */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 1100;
}
.nav__toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
body.menu-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu panel */
.nav__mobile {
  position: fixed;
  /* The parent .nav uses backdrop-filter when scrolled, which makes it the
     containing block for fixed-position descendants. So inset:0 would size the
     panel to the ~66px nav, not the viewport (this hid most menu options on
     small phones). Pin to the viewport-sized nav origin and force full
     viewport dimensions so the panel always covers the screen. */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  /* See-through overlay: the page content stays visible behind a dark tint.
     A light blur keeps the floating menu text readable over busy imagery
     without hiding what's underneath. */
  background: rgba(16, 16, 16, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* When the items are taller than the viewport, centering would clip the
     top rows out of scroll reach; fall back to top alignment so every option
     stays reachable on short/small screens. */
  justify-content: safe center;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  z-index: 1050;
}
body.menu-open .nav__mobile { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__mobile a {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  text-align: center;
  /* Keep links readable over whatever page content shows through the tint. */
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(14px);
}
.nav__mobile .btn { font-family: var(--font-sans); font-size: 0.85rem; }
/* Reveal every item (links and the CTA button) when the menu opens.
   The animation only enhances the entrance — the open state alone
   guarantees the options are visible and interactive. */
body.menu-open .nav__mobile a { animation: mobileLink 0.5s var(--ease) forwards; }
body.menu-open .nav__mobile a:nth-child(1) { animation-delay: 0.1s; }
body.menu-open .nav__mobile a:nth-child(2) { animation-delay: 0.16s; }
body.menu-open .nav__mobile a:nth-child(3) { animation-delay: 0.22s; }
body.menu-open .nav__mobile a:nth-child(4) { animation-delay: 0.28s; }
body.menu-open .nav__mobile a:nth-child(5) { animation-delay: 0.34s; }
body.menu-open .nav__mobile a:nth-child(6) { animation-delay: 0.40s; }
body.menu-open .nav__mobile a:nth-child(7) { animation-delay: 0.46s; }
@keyframes mobileLink { to { opacity: 1; transform: translateY(0); } }
/* Fallback: once the stagger animation has run it holds the end state via
   `forwards`; this guards the (rare) case where a browser skips the keyframes
   so the menu options never get stuck invisible. */
@supports not (animation: mobileLink) {
  body.menu-open .nav__mobile a { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -6% 0 0 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  animation: heroZoom 18s ease-out forwards;
  will-change: transform;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(16,16,16,0.86) 0%, rgba(16,16,16,0.55) 45%, rgba(16,16,16,0.3) 100%),
    linear-gradient(to top, rgba(16,16,16,0.9) 0%, rgba(16,16,16,0.15) 55%);
}
.hero__inner { padding-top: var(--nav-h); max-width: 820px; }
.hero__eyebrow { color: #fff; }
.hero__eyebrow::before { background: var(--red); }
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 1.04;
  margin: 1.1rem 0 1.4rem;
}
.hero__title .flame { color: var(--red); }

/* Per-letter reveal: each character rises and fades in one at a time on first
   launch. The --i index (set in JS) staggers the start of every letter. */
.hero__title .word { display: inline-block; }
.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  will-change: transform, opacity;
}
.hero.ready .hero__title .char {
  animation: letterIn 0.5s var(--ease) forwards;
  /* 0.3s intro delay, then ~45ms between letters. */
  animation-delay: calc(0.3s + var(--i) * 0.045s);
}
.hero__desc {
  font-size: clamp(1.02rem, 1.7vw, 1.3rem);
  color: #e9e9e9;
  max-width: 54ch;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 600;
}
.hero__badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

.hero__scroll {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero__scroll .mouse {
  width: 24px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  position: relative;
}
.hero__scroll .mouse::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} 100%{opacity:0} }

/* Hero staggered entrance */
.hero [data-hero] { opacity: 0; transform: translateY(26px); }
.hero.ready [data-hero] { animation: heroIn 0.9s var(--ease) forwards; }
.hero.ready [data-hero="1"] { animation-delay: 0.15s; }
.hero.ready [data-hero="2"] { animation-delay: 0.3s; }
.hero.ready [data-hero="3"] { animation-delay: 0.45s; }
.hero.ready [data-hero="4"] { animation-delay: 0.6s; }
.hero.ready [data-hero="5"] { animation-delay: 0.75s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow-card);
}
.about__media::after {
  content: "";
  position: absolute;
  left: -18px; bottom: -18px;
  width: 120px; height: 120px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  z-index: -1;
}
.about__body p { margin-bottom: 1.1rem; color: #3f3f3f; }
.about__pull {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--black);
  border-left: 3px solid var(--red);
  padding-left: 1.2rem;
  margin-top: 1.6rem;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.svc-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.svc-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s var(--ease);
}
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(16,16,16,0.92) 8%, rgba(16,16,16,0.35) 55%, rgba(16,16,16,0.1) 100%);
  transition: background 0.4s var(--ease);
}
.svc-card:hover img { transform: scale(1.08); }
.svc-card:hover::after { background: linear-gradient(to top, rgba(16,16,16,0.95) 10%, rgba(16,16,16,0.45) 60%, rgba(16,16,16,0.15) 100%); }
/* Menu cards: fine-tune how specific photos are framed */
#menuCats .svc-card:nth-child(1) img { object-position: center 82%; }
#menuCats .svc-card:nth-child(4) img { object-fit: cover; object-position: center 40%; }
.svc-card__body { padding: 1.6rem; }
.svc-card__num { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--red); font-weight: 700; }
.svc-card__title { font-family: var(--font-serif); font-size: 1.35rem; margin: 0.5rem 0 0.6rem; color: #fff; }
.svc-card__desc {
  color: #d9d9d9;
  font-size: 0.92rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}
.svc-card:hover .svc-card__desc,
.svc-card:focus-within .svc-card__desc { max-height: 170px; opacity: 1; margin-bottom: 0.9rem; }
.services__note {
  text-align: center;
  margin-top: 2.4rem;
  color: var(--silver);
  font-size: 0.95rem;
}
.services__cta { text-align: center; margin-top: 1.8rem; }

/* ---------- Services background (home-style hero band) ---------- */
.services--bg { position: relative; overflow: hidden; isolation: isolate; }
.services__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.services__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(16,16,16,0.28) 0%, rgba(16,16,16,0.48) 100%),
    linear-gradient(to top, rgba(16,16,16,0.55) 0%, rgba(16,16,16,0.3) 100%);
}
/* Keep the body copy readable over the photo */
.services--bg .section-lead {
  color: #f4f4f4;
  text-shadow: 0 1px 10px rgba(0,0,0,0.75);
  max-width: 62ch;
  margin-inline: auto;
  line-height: 1.75;
}
/* Even spacing between the two paragraphs */
.services--bg .section-lead + .section-lead {
  margin-top: 1.6rem;
}
.services--bg .services__note {
  color: #eaeaea;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

/* ---------- Why choose us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}
.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 3px;
  padding: 2rem 1.6rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}
.why-card:hover { border-color: rgba(233,39,46,0.5); transform: translateY(-5px); background: rgba(255,255,255,0.05); }
.why-card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(233,39,46,0.12);
  color: var(--red);
  margin-bottom: 1.2rem;
}
.why-card__icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #fff; }
.why-card p { color: var(--silver); font-size: 0.93rem; }

/* ---------- Menu & packages ---------- */
.menu-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.cat-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  isolation: isolate;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(16,16,16,0.9), rgba(16,16,16,0.25)); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card__body { padding: 1.4rem; }
.cat-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.cat-card p { font-size: 0.86rem; color: #d7d7d7; margin-bottom: 0.9rem; }

.packages__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.4rem,4vw,3.4rem); }
.packages__head p { color: #3f3f3f; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pkg-card {
  background: #fff;
  color: var(--black);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease);
  position: relative;
}
.pkg-card:hover { transform: translateY(-6px); }
.pkg-card.featured { outline: 2px solid var(--red); }
.pkg-card__flag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--red); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: 2px; z-index: 2;
}
.pkg-card__img { position: relative; aspect-ratio: 16 / 11; }
.pkg-card__img img { width: 100%; height: 100%; object-fit: cover; }
.pkg-card__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.pkg-card__name { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 0.4rem; }
.pkg-card__price { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.2rem; }
.pkg-card__price .amount { font-size: 2.2rem; font-weight: 800; color: var(--red); letter-spacing: -0.03em; }
.pkg-card__price .unit { font-size: 0.85rem; color: #666; font-weight: 600; }
.pkg-card__note { font-size: 0.74rem; color: #888; margin-bottom: 1.1rem; }
.pkg-card__items { border-top: 1px solid #eee; padding-top: 1.1rem; margin-bottom: 1.4rem; display: grid; gap: 0.55rem; }
.pkg-card__items li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.94rem; }
.pkg-card__items li svg { color: var(--red); flex-shrink: 0; }
.pkg-card .btn { margin-top: auto; }
.packages__disclaimer {
  text-align: center;
  margin-top: 2rem;
  color: #555;
  font-size: 0.9rem;
  max-width: 620px; margin-inline: auto;
}
.packages__cta { text-align: center; margin-top: 2rem; }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.team-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.team-card__img { position: relative; min-height: 340px; }
.team-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 1.9rem; display: flex; flex-direction: column; }
.team-card__name { font-family: var(--font-serif); font-size: 1.4rem; color: #101010; }
.team-card__role { color: var(--red); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0.3rem 0 1rem; }
.team-card__text { color: #444; font-size: 0.92rem; }
.team-card__text .clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; transition: all 0.4s var(--ease); }
.team-card__text.open .clamp { -webkit-line-clamp: unset; }
.team-card__more {
  margin-top: 0.9rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
}

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  isolation: isolate;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(16,16,16,0);
  transition: background 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.09); }
.gallery__item:hover::after { background: rgba(16,16,16,0.25); }
.gallery__item .tag {
  position: absolute; left: 0.9rem; bottom: 0.9rem;
  color: #fff; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  z-index: 1;
}
.gallery__item:hover .tag { opacity: 1; transform: translateY(0); }
.gallery__item.tall { grid-row: span 2; }
.gallery__item.wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,10,10,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 3px; box-shadow: var(--shadow-card); }
.lightbox__btn {
  position: absolute;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  transition: background 0.3s var(--ease);
}
.lightbox__btn:hover { background: var(--red); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: var(--silver); font-size: 0.85rem; letter-spacing: 0.1em; }

/* ---------- Vision & commitment ---------- */
#about { padding-bottom: 0; }
.about__vision {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.vision__block h3 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 1rem; color: #fff; }
.vision__block p { color: var(--silver); }
.commit-list { display: grid; gap: 0.8rem; margin-top: 0.4rem; }
.commit-list li { display: flex; gap: 0.8rem; color: var(--silver); font-size: 0.95rem; }
.commit-list li svg { color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* ---------- Testimonials ---------- */
.testi__track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}
.testi-card {
  scroll-snap-align: start;
  flex: 0 0 min(90%, 420px);
  background: #fff;
  border-radius: 4px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.testi-card__stars { color: var(--red); margin-bottom: 0.9rem; display: flex; gap: 2px; }
.testi-card__text { font-family: var(--font-serif); font-size: 1.1rem; color: #2a2a2a; margin-bottom: 1.2rem; }
.testi-card__name { font-weight: 800; }
.testi-card__event { color: var(--red); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }

/* ---------- Quote form ---------- */
.quote { background: var(--black); color: var(--offwhite); }
.quote__grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.quote__intro p { color: var(--silver); margin-bottom: 1.6rem; }
.quote__contacts { display: grid; gap: 1.1rem; margin-top: 2rem; }
.quote__contact { display: flex; gap: 0.9rem; align-items: center; }
.quote__contact .ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(233,39,46,0.12); color: var(--red); flex-shrink: 0; }
.quote__contact span { color: var(--silver); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; }
.quote__contact strong { color: #fff; font-weight: 700; font-size: 1.02rem; }

.form {
  background: #fff;
  color: var(--black);
  border-radius: 4px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid #e2e2e2;
  border-radius: 3px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fafafa;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233,39,46,0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); background: #fff6f6; }
.field__error { color: var(--red); font-size: 0.78rem; margin-top: 0.35rem; display: none; }
.field.invalid .field__error { display: block; }
/* Brief highlight on fields the site auto-filled after a card click. */
.field.prefilled input, .field.prefilled select, .field.prefilled textarea {
  border-color: var(--red);
  background: #fff6f0;
  box-shadow: 0 0 0 3px rgba(233,39,46,0.14);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.form__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.4rem; }
.form__consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.82rem; color: #555; margin: 0.4rem 0 1.2rem; }
.form__consent input { width: auto; margin-top: 3px; }
.form__note { font-size: 0.8rem; color: #777; margin-top: 1rem; }
.form__status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 3px; font-size: 0.92rem; display: none; }
.form__status.show { display: block; }
.form__status.success { background: #e9f7ec; color: #176b2c; border: 1px solid #b6e3c0; }
.form__status.error { background: #fdecec; color: #a3161c; border: 1px solid #f3bcbe; }
.form__status.info { background: #eef1f6; color: #2a3a52; border: 1px solid #cdd6e4; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn__label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }
/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--red); color: #fff; }
.newsletter__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.newsletter h2 { font-family: var(--font-serif); font-size: clamp(1.7rem,3vw,2.4rem); }
.newsletter p { color: rgba(255,255,255,0.85); margin-top: 0.6rem; }
.newsletter__form { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.newsletter__form input {
  flex: 1 1 240px;
  padding: 0.95rem 1.1rem;
  border: none; border-radius: 2px;
  font-size: 0.95rem; font-family: inherit;
}
.newsletter__form input:focus { outline: 3px solid rgba(255,255,255,0.5); }
.newsletter__form .btn { background: var(--black); color: #fff; }
.newsletter__form .btn:hover { background: var(--charcoal); }
.newsletter__consent { font-size: 0.78rem; color: rgba(255,255,255,0.85); margin-top: 0.9rem; display: flex; gap: 0.5rem; align-items: flex-start; }
.newsletter__consent a { text-decoration: underline; }
.newsletter__status { margin-top: 0.8rem; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.contact__logo { height: 70px; margin-bottom: 1.6rem; }
.contact__details { display: grid; gap: 1.1rem; margin: 1.6rem 0; }
.contact__row { display: flex; gap: 0.9rem; align-items: center; }
.contact__row .ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(233,39,46,0.12); color: var(--red); flex-shrink: 0; }
.contact__socials { display: flex; gap: 0.8rem; margin-top: 1rem; }
.contact__socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--black); border-radius: 50%; transition: all 0.3s var(--ease); }
.contact__socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.contact__map {
  background: var(--charcoal);
  color: #fff;
  border-radius: 4px;
  padding: clamp(2rem,4vw,3rem);
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
}
.contact__map .pin { width: 56px; height: 56px; margin: 0 auto 1.2rem; display: grid; place-items: center; border-radius: 50%; background: rgba(233,39,46,0.15); color: var(--red); }
.contact__map h3 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 0.6rem; }
.contact__map p { color: var(--silver); }

/* Service-area box (left column, above contact details) */
.contact__area {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(16,16,16,0.1);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  background: rgba(16,16,16,0.03);
  margin-bottom: 1.6rem;
}
.contact__area .pin { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(233,39,46,0.12); color: var(--red); }
.contact__area h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.35rem; color: #101010; }
.contact__area p { color: #4a4a4a; font-size: 0.9rem; line-height: 1.55; }

/* Contact logo panel — clean black face with an animated flaming border */
.contact__logobox {
  position: relative;
  border-radius: 10px;
  padding: 1.5px;
  min-height: 320px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.6);
  isolation: isolate;
}
/* Outer soft glow — sits furthest back and only shows around the edges */
.contact__logobox::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: 12px;
  background: conic-gradient(from 0deg, #e9272e, #ff6a00, #ffcc00, #ff6a00, #e9272e, #ff8c1a, #ffd93b, #ff5a00, #e9272e);
  background-size: 300% 300%;
  filter: blur(9px) saturate(1.4);
  opacity: 0.4;
  animation: fireSpin 6s linear infinite reverse, fireGlowFlicker 2.4s ease-in-out infinite;
}
/* The flaming ring + clean black face.
   The conic gradient paints the border; a mask carves out the centre so
   only a 3px edge of flame shows, and the black inner layer fills the rest. */
.contact__logobox::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from 0deg, #e9272e, #ff6a00, #ffcc00, #ff6a00, #e9272e, #ff8c1a, #ffd93b, #ff5a00, #e9272e);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: fireSpin 6s linear infinite, fireFlicker 2.4s ease-in-out infinite;
}
.contact__logobox::before,
.contact__logobox::after { pointer-events: none; }
/* Clean solid-black interior: a real child element sits above the glow,
   inside the flaming ring, holding the logo. */
.contact__logobox__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  align-self: stretch;
  border-radius: 7px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem,3vw,2.4rem);
}
.contact__logobox img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

@keyframes fireSpin {
  to { background-position: 300% 0; }
}
@keyframes fireFlicker {
  0%, 100% { opacity: 1; }
  25%      { opacity: 0.8; }
  50%      { opacity: 1; }
  75%      { opacity: 0.88; }
}
@keyframes fireGlowFlicker {
  0%, 100% { opacity: 0.4; filter: blur(9px) saturate(1.4) brightness(1); }
  25%      { opacity: 0.55; filter: blur(11px) saturate(1.6) brightness(1.2); }
  50%      { opacity: 0.3; filter: blur(8px) saturate(1.3) brightness(0.9); }
  75%      { opacity: 0.5; filter: blur(12px) saturate(1.7) brightness(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .contact__logobox::before,
  .contact__logobox::after { animation: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--silver); padding: clamp(3rem,5vw,4.5rem) 0 1.6rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.5rem; }
.footer__logo { height: 56px; margin-bottom: 1.1rem; }
.footer__about { font-size: 0.92rem; max-width: 36ch; }
.footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a:hover { color: var(--red); }
.footer__contact { display: grid; gap: 0.7rem; font-size: 0.92rem; }
.footer__socials { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.footer__socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; color: #fff; transition: all 0.3s var(--ease); }
.footer__socials a:hover { background: var(--red); border-color: var(--red); }
.footer__bottom {
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem;
}
.footer__bottom a:hover { color: var(--red); }
.footer__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,0.6);
  z-index: 900;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
@keyframes waPulse {
  0% { box-shadow: 0 10px 30px -8px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 10px 30px -8px rgba(37,211,102,0.6), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px -8px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================================
   BRANDED PLACEHOLDER PANELS
   Used wherever a real photograph of people (owners, team, guests, staff)
   must be supplied by the business. Clearly labelled, on-brand, swappable.
   ========================================================================== */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  padding: 1.6rem;
  background:
    radial-gradient(120% 90% at 50% 0%, #2b2b2b 0%, var(--black) 70%);
  color: var(--silver);
  overflow: hidden;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 10px, transparent 10px 20px);
  pointer-events: none;
}
.ph img { width: 58px; height: auto; opacity: 0.95; }
.ph__label {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.25;
}
.ph__role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}
.ph__hint {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--silver);
  max-width: 24ch;
}
/* Light variant for use on off-white backgrounds (about split) */
.ph--tall { aspect-ratio: 4 / 5; min-height: 0; }

/* Placeholder inside service / category image slots */
.svc-card .ph, .cat-card .ph { position: absolute; inset: 0; z-index: -2; }
.svc-card.is-ph::after,
.cat-card.is-ph::after { background: linear-gradient(to top, rgba(16,16,16,0.75) 10%, rgba(16,16,16,0.25) 100%); }

/* Team placeholder sits in the image column */
.team-card__img .ph { position: absolute; inset: 0; min-height: 0; }

/* ============================================================================
   FOOD / MENU SHOWCASE  (verified South African braai photography)
   ========================================================================== */
.food__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.food-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}
.food-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.food-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,16,16,0.85) 6%, rgba(16,16,16,0.1) 60%);
}
.food-card:hover img { transform: scale(1.08); }
.food-card__label {
  position: absolute;
  left: 1.1rem; bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.food-card__label span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.2rem;
}
