:root {
  --naija-green: #008751;
  --jamaica-green: #009b3a;
  --jamaica-gold: #fed100;
  --black: #101010;
  --bg: #fffef7;
  --muted: #f6f3ea;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --grad: linear-gradient(135deg, var(--naija-green) 0%, var(--jamaica-gold) 55%, var(--jamaica-green) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--grad);
  border-bottom: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.brand img {
  width: clamp(48px, 6vw, 60px);
  height: clamp(48px, 6vw, 60px);
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.brand h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #fff;
  line-height: 1;
}
.tag { font-size: .8rem; color: #fff; opacity: .9; }

.navlinks {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.pill {
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.12);
  color: #fff;
  transition: background .2s, transform .2s;
}
.pill:hover { background: rgba(255,255,255,.25); transform: scale(1.03); }
.pill.cta {
  background: #fff;
  color: #000;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.hero-card {
  background: #fff;
  border-left: 10px solid var(--jamaica-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.hero p { color: #444; margin: 0; }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.btn.primary {
  background: var(--grad);
  color: #101010;
  border-color: transparent;
  font-weight: 600;
}
.btn.alt {
  background: #101010;
  color: #fff;
  border-color: transparent;
}
.btn:hover { transform: scale(1.03); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--grad);
  color: #fff;
  padding: 48px 0;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.footer-grid h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: .8rem;
}
.footer-grid p, .footer-grid a {
  font-size: .95rem;
  color: #f8f8f8;
}
.footer-grid a:hover { text-decoration: underline; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
  color: #fff;
  font-weight: 600;
  transition: opacity .2s;
}
.social a:hover { opacity: .8; }

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 700px) {
  .hero-card { padding: 20px; }
  .nav { flex-direction: column; align-items: flex-start; }
  .brand img { width: 52px; height: 52px; }
}



/* ===== ABOUT — GRID + MEDIA FIX ===== */
.container .about {
  display: grid;
  gap: 24px;
  align-items: start;
  /* 2-col on desktop, 1-col on mobile */
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

@media (max-width: 900px) {
  .container .about { grid-template-columns: 1fr; }
}

/* The image card: remove padding so the image touches the card edges */
.container .about aside.card { padding: 0; }

/* Make the about image behave (no stretching) */
.container .about .card-img {
  display: block;
  width: 100%;
  height: auto;          /* <-- key: don't force height */
  aspect-ratio: 4 / 3;   /* keeps a nice shape; change to 16/9 if you prefer */
  object-fit: cover;
  border-radius: 12px;
}

/* Tidy text rhythm in the story card */
.container .about .card h4 { margin: 0 0 8px; }
.container .about .card p  { margin: 0 0 12px; }

/* ===== TEAM — CONSISTENT GRID & CARD ===== */
.team {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .team { grid-template-columns: 1fr 1fr; }
}

.tcard {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  paddin
::contentReference[oaicite:0]{index=0}


/* =========================
   MEET THE CHEFS — Trendy cards
   ========================= */
.team {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;
}

.tcard {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1.5px solid rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  isolation: isolate;
}

/* Top gradient bar accent */
.tcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  border-radius: 22px 22px 0 0;
  background: var(--grad);
  opacity: .9;
}

/* Subtle background texture */
.tcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 100% 0%, rgba(254,209,0,.08), transparent 40%),
              radial-gradient(40% 40% at 0% 100%, rgba(0,139,74,.06), transparent 50%);
  z-index: -1;
  border-radius: 22px;
}

.tcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
  border-color: rgba(0,0,0,.12);
}

/* Avatar with gradient ring */
.tcard .portrait {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  position: relative;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  background:
    linear-gradient(#fff,#fff) padding-box,
    conic-gradient(from 180deg, var(--naija-green), var(--jamaica-gold), var(--jamaica-green)) border-box;
}

/* Name + tiny badge */
.tcard h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tcard .badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: .74rem;
  border-radius: 999px;
  background: rgba(254,209,0,.18);
  color: #6b5600;
  border: 1px solid rgba(254,209,0,.5);
}

/* Copy */
.tcard p {
  margin: 0;
  color: #4a4a4a;
  line-height: 1.6;
}

/* Staggered entrance for a lively feel */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.team .tcard { animation: floatIn .5s ease both; }
.team .tcard:nth-child(1) { animation-delay: .05s; }
.team .tcard:nth-child(2) { animation-delay: .12s; }
.team .tcard:nth-child(3) { animation-delay: .18s; }
.team .tcard:nth-child(4) { animation-delay: .24s; }

/* =========================
   GALLERY — Metro grid + hover
   ========================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 180px;                 /* base row height */
  gap: 14px;
}

/* Use existing .tile.square, but make it flexible and interactive */
.tile.square {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  background: #fff;
}
.tile.square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .35s ease;
}
.tile.square:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
}
.tile.square:hover img {
  transform: scale(1.06);
}

/* Auto caption from the image alt text */
.tile.square::after {
  content: attr(alt) ""; /* fallback if figure lacks alt; overridden below */
  display: none;
}

.gallery figure.tile.square::after {
  content: attr(data-caption);
}

.gallery figure.tile.square::before {
  /* subtle overlay for caption readability */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}

.gallery figure.tile.square:hover::before { opacity: 1; }

/* Caption that pulls from the image alt if data-caption is missing */
.gallery figure.tile.square figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.gallery figure.tile.square:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Make a few tiles bigger for a metro look (first 2 enlarge on wide screens) */
@media (min-width: 900px) {
  .gallery .tile.square:nth-child(1) { grid-row: span 2; grid-column: span 2; }
  .gallery .tile.square:nth-child(2) { grid-row: span 2; grid-column: span 1; }
  /* Adjust auto row height for nicer proportions on desktop */
  .gallery { grid-auto-rows: 190px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tcard, .tile.square, .tile.square img { transition: none !important; animation: none !important; }
}
/* =========================
   TEAM SECTION WRAPPER — border + tint
   ========================= */
.team-section,
section[aria-labelledby="team-title"] {
  /* subtle theme-tinted background + border that matches your palette */
  --tint: color-mix(in srgb, var(--jamaica-green) 6%, #ffffff);
  background: linear-gradient(180deg, #fff 0%, var(--tint) 100%);
  border: 2.5px solid color-mix(in srgb, var(--jamaica-green) 40%, #000 0%);
  border-radius: 22px;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  margin-top: 12px; /* space from preceding section */
}

/* Section title spacing inside wrapper */
.team-section .section-title { margin: 0 0 14px; }

/* =========================
   MEET THE CHEFS — vertical cards with top image
   ========================= */
.team {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.tcard {
  position: relative;
  display: flex;
  flex-direction: column;        /* vertical layout */
  background: #fff;
  border-radius: 18px;
  overflow: hidden;              /* clip image corners */
  box-shadow: var(--shadow);
  border: 1.5px solid rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  isolation: isolate;
}

/* top gradient accent bar */
.tcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--grad);
  opacity: .9;
}

/* IMAGE ON TOP — full width, nice ratio */
.tcard .portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;           /* adjust to 16/9 if you prefer */
  object-fit: cover;
  display: block;
  box-shadow: none;
  border: 0;
  border-radius: 0;              /* flush with card edges */
}

/* content area */
.tcard .tcard-body {
  padding: 16px 18px 18px;
}

.tcard h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tcard .badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: .74rem;
  border-radius: 999px;
  background: rgba(254,209,0,.18);
  color: #6b5600;
  border: 1px solid rgba(254,209,0,.5);
}

.tcard p { margin: 0; color: #4a4a4a; line-height: 1.6; }

.tcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
  border-color: rgba(0,0,0,.12);
}

/* subtle texture */
.tcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(254,209,0,.06), transparent 42%),
    radial-gradient(40% 40% at 0% 100%, rgba(0,139,74,.05), transparent 52%);
  z-index: -1;
}

/* optional: soft stagger in */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.team .tcard { animation: floatIn .45s ease both; }
.team .tcard:nth-child(1){ animation-delay:.04s }
.team .tcard:nth-child(2){ animation-delay:.10s }
.team .tcard:nth-child(3){ animation-delay:.16s }
.team .tcard:nth-child(4){ animation-delay:.22s }

/* Reduce motion compliance */
@media (prefers-reduced-motion: reduce) {
  .tcard { transition: none !important; animation: none !important; }
}

/* =========================
   GALLERY — keep metro style synced & tidy
   ========================= */
.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 180px;
}

.tile.square {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile.square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .35s ease;
}
.tile.square:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.tile.square:hover img { transform: scale(1.06); }

/* enlarge a couple on wide screens for a metro feel */
@media (min-width: 900px) {
  .gallery { grid-auto-rows: 190px; }
  .gallery .tile.square:nth-child(1) { grid-row: span 2; grid-column: span 2; }
  .gallery .tile.square:nth-child(2) { grid-row: span 2; }
}

/* Optional hover captions (if you add <figcaption>) */
.gallery figure.tile.square::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery figure.tile.square:hover::before { opacity: 1; }

.gallery figure.tile.square figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  color: #fff; font-weight: 600; font-size: .95rem; text-shadow: 0 2px 8px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.gallery figure.tile.square:hover figcaption { opacity: 1; transform: translateY(0); }

/* ===== Header base ===== */
.site-header{
  position: sticky; top: 0; z-index: 1000;
  background: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* Layout container used across site */
.container.nav{
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px clamp(12px, 3vw, 24px);
}

/* Brand */
.brand{ display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo{
  width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex: 0 0 auto;
}
.brand-text h1{ margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.8rem); color: #fff; line-height: 1.1; }
.brand-text .tag{ display:block; font-size: .95rem; color:#cfcfcf; }

/* Nav links (desktop default) */
.navlinks{
  display: flex; align-items: center; gap: 8px; transition: height .25s ease, opacity .25s ease;
}
.navlinks a{ text-decoration: none; color:#eee; padding: 10px 14px; border-radius: 999px; }
.navlinks a:hover{ background: rgba(255,255,255,.08); }
.pill.active{ background: #0b8f3a; color: #fff; }
.pill.cta{ background: #0b8f3a; color:#fff; display: inline-flex; align-items:center; gap:8px; }
.cart-badge{
  display:inline-flex; align-items:center; justify-content:center;
  min-width: 22px; height: 22px; border-radius:999px; background:#ffd100; color:#222; font-size:.8rem; font-weight:700;
  padding: 0 6px; margin-left: 6px;
}

/* Hamburger */
.hamburger{
  display:none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px;
}
.hamburger:focus-visible{ outline: 2px solid #ffd100; outline-offset: 2px; }
.hamburger .bar{
  display:block; width: 26px; height: 3px; background:#fff; border-radius: 3px; margin: 5px auto; transition: transform .25s ease, opacity .2s ease;
}

/* Mobile menu state */
@media (max-width: 880px){
  .brand-logo{ width: 56px; height: 56px; }
  .brand-text .tag{ font-size: .9rem; }
  .hamburger{ display:block; }
  .navlinks{
    position: absolute; left: 0; right: 0;
    top: calc(100% - 2px);
    background: #111; border-top: 1px solid rgba(255,255,255,.08);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 10px clamp(12px, 3vw, 24px);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
  }
  .navlinks a{ padding: 12px 14px; border-radius: 10px; }
  .navlinks.open{ max-height: 70vh; opacity: 1; pointer-events: auto; }
  /* Hamburger → X animation */
  .hamburger[aria-expanded="true"] .bar:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .hamburger[aria-expanded="true"] .bar:nth-child(2){ opacity: 0; }
  .hamburger[aria-expanded="true"] .bar:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }
}

/* Flag bar */
.flagbar{
  height: 4px;
  background: linear-gradient(90deg,#009b3a 0%, #ffd100 50%, #009e60 100%);
}

/* Respect safe areas on modern phones */
@supports (padding: max(0px)) {
  .container.nav { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
}
/* --- Mobile-first toggle: select ON, pills OFF --- */
.site-header .navlinks { display: none !important; }   /* hide pills by default (mobile) */
.site-header .navselect { display: block !important; } /* show select by default */

/* Basic select styling */
.site-header .navselect select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background:#111 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10"><path d="M1 1l6 6 6-6" stroke="white" stroke-width="2" fill="none" stroke-linecap="round"/></svg>') no-repeat right 12px center/14px 10px;
  color:#fff; border:1px solid rgba(255,255,255,.18); border-radius:12px;
  padding:12px 40px 12px 14px; font-size:1rem; line-height:1;
}
.site-header .navselect select:focus{ outline:2px solid #ffd100; outline-offset:2px; }

/* Desktop: flip it (pills ON, select OFF) */
@media (min-width: 881px){
  .site-header .navlinks { display: flex !important; align-items:center; gap:8px; }
  .site-header .navselect { display: none !important; }
}

/* Optional: hide any leftover hamburger from earlier attempts */
.site-header .hamburger{ display:none !important; }

/* Screen-reader utility (if not already present) */
.sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

