/* Palette taken from the Revive Gambia logo and product labels */
:root {
  --brown-900: #2f1a10;
  --brown-700: #4a2a1a;
  --rust: #9a4522;
  --orange: #e2a05c;
  --sand: #e2c373;
  --green: #1f7a36;
  --green-dark: #17602a;
  --leaf: #4caf50;
  --charcoal: #3a3a3c;
  --cream: #fdfaf3;
  --tint: #f6eedb;
  --ink: #2a2522;
  --muted: #655c55;
  --line: #e7dcc4;
  --radius: 16px;
  --display: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.14; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 800; color: var(--brown-700); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: var(--brown-700); }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--brown-700); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Gambian flag stripe, as on the product labels */
.flag {
  height: 6px;
  background: linear-gradient(90deg, #ce1126 0 30%, #fff 30% 34%, #1a2e8a 34% 66%, #fff 66% 70%, #2f8f3e 70% 100%);
}

.eyebrow {
  font-family: var(--display);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rust); margin: 0 0 14px;
}
.eyebrow-light { color: var(--sand); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-top: 20px; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--green); color: #fff;
  font-weight: 600; text-decoration: none; border: 2px solid var(--green);
  transition: background .15s, transform .15s, color .15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn-small { padding: 9px 18px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-light { background: var(--sand); border-color: var(--sand); color: var(--brown-900); }
.btn-light:hover { background: #fff; border-color: #fff; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); }
.brand img { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; font-family: var(--display); line-height: 1; }
.brand-text strong { font-weight: 800; font-size: 1.45rem; letter-spacing: .01em; }
.brand-text span { font-weight: 600; font-size: .78rem; letter-spacing: .42em; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:not(.btn):hover { color: var(--rust); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brown-700); margin: 5px 0; border-radius: 2px; }

/* Full-screen cover */
.cover {
  position: relative; display: flex; align-items: flex-end;
  min-height: calc(100vh - 83px); min-height: calc(100svh - 83px);
  padding: 72px 0 96px; color: #fff; background: var(--brown-900); overflow: hidden;
}
.cover-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 16, 9, .25) 0%, rgba(30, 16, 9, .55) 45%, rgba(30, 16, 9, .9) 100%);
}
.cover-copy { position: relative; z-index: 1; }
.cover h1 { color: #fff; font-size: clamp(2.3rem, 6.2vw, 4.6rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.cover .lead { color: #f1e7da; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.cover .eyebrow { font-size: .85rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-on-dark { background: transparent; border-color: #fff; color: #fff; }
.btn-on-dark:hover { background: #fff; border-color: #fff; color: var(--brown-900); }
.scroll-hint {
  position: absolute; z-index: 1; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; color: #fff;
  border: 2px solid rgba(255, 255, 255, .6); border-radius: 50%;
}
.scroll-hint svg { width: 22px; height: 22px; }
.scroll-hint:hover { background: rgba(255, 255, 255, .15); }

.hero { padding: 0 0 8px; }
.pillars {
  position: relative; z-index: 2;
  list-style: none; margin: -1px 0 0; padding: 0; transform: translateY(40px); margin-bottom: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
}
.pillars li { padding: 22px 26px; border-left: 1px solid var(--line); }
.pillars li:first-child { border-left: 0; }
.pillars strong { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--brown-700); }
.pillars span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prose p { color: var(--muted); font-size: 1.06rem; }
.prose p:last-of-type { margin-bottom: 0; }
.prose .btn { margin-top: 26px; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 22px 22px 24px; }
.card p { color: var(--muted); font-size: .97rem; margin: 8px 0 0; }
.sizes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 16px 0 0; }
.sizes li {
  padding: 3px 11px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--cream); border: 1px solid var(--line); color: var(--rust);
}
.also { margin: 32px 0 0; color: var(--muted); max-width: 46em; }
.also strong { color: var(--brown-700); }

/* Reasons */
.reasons {
  list-style: none; counter-reset: r; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.reasons li { counter-increment: r; border-top: 3px solid var(--leaf); padding-top: 16px; }
.reasons li::before {
  content: "0" counter(r); display: block; margin-bottom: 8px;
  font-family: var(--display); font-weight: 800; font-size: .95rem; color: var(--green);
}
.reasons p { color: var(--muted); font-size: .95rem; margin: 8px 0 0; }

/* Fish feature band */
.feature { background: var(--brown-700); color: #efe4d6; }
.feature h2 { color: #fff; }
.feature .prose p { color: #dccdbb; }
.facts {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.facts li { border-top: 2px solid var(--sand); padding-top: 16px; }
.facts strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.15; color: #fff; }
.facts span { color: #dccdbb; font-size: .97rem; }
.cycle {
  margin-top: 48px; padding: 32px; border-radius: var(--radius);
  background: var(--brown-900); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.cycle h3 { color: #fff; }
.cycle p { color: #dccdbb; margin: 10px 0 0; }
.cycle figure { margin: 0; }
.cycle blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.35; color: var(--sand); }
.cycle figcaption { margin-top: 12px; font-size: .9rem; color: #b9a892; }
.cycle figcaption a { color: var(--orange); text-underline-offset: 3px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* Where to buy */
.buy-list { display: grid; gap: 18px; }
.buy-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.buy-item p { color: var(--muted); margin: 8px 0 12px; }
.text-link { font-weight: 600; color: var(--rust); text-underline-offset: 4px; }
.text-link:hover { color: var(--green); }

/* Contact */
.contact-box { text-align: center; max-width: 760px; }
.phone {
  display: inline-block; margin: 22px 0 10px;
  font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 6.5vw, 3.4rem);
  color: var(--green); text-decoration: none; line-height: 1.1; letter-spacing: -0.02em;
}
.phone:hover { color: var(--rust); }
.more-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: 0 0 22px; }
.more-contacts a { font-weight: 600; color: var(--brown-700); text-underline-offset: 4px; }
.more-contacts a:hover { color: var(--rust); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

/* Footer */
.site-footer { background: var(--brown-900); color: #d3c4b1; padding: 26px 0; font-size: .93rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sand); }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
  .nav { gap: 18px; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 58px 0; }
  .cover { min-height: calc(100svh - 73px); padding: 56px 0 88px; }
  .two-col { grid-template-columns: 1fr; gap: 22px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li { border-left: 0; border-top: 1px solid var(--line); padding: 18px 22px; }
  .pillars li:first-child { border-top: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; margin-top: 40px; }
  .facts strong { font-size: 1.4rem; }
  .cycle { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .header-row { min-height: 66px; }
  .brand img { height: 46px; }
  .brand-text strong { font-size: 1.25rem; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 18px 18px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { justify-content: center; margin-top: 14px; }
}
@media (max-width: 520px) {
  .cards, .reasons { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .cover h1 { font-size: 1.72rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Landing page: cover only, no navigation or buttons */
.landing { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.cover-full { flex: 1; min-height: 0; flex-direction: column; justify-content: space-between; align-items: stretch; padding: 28px 0 72px; }
.cover-brand { position: relative; z-index: 1; }
.brand-on-dark { color: #fff; }
.brand-on-dark img { height: 64px; background: #fff; border-radius: 10px; padding: 5px; }
.brand-on-dark .brand-text strong { font-size: 1.6rem; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.cover-full::after {
  background: linear-gradient(180deg, rgba(30, 16, 9, .5) 0%, rgba(30, 16, 9, .3) 30%, rgba(30, 16, 9, .6) 60%, rgba(30, 16, 9, .92) 100%);
}
@media (max-width: 820px) {
  .cover-full { min-height: 0; padding: 20px 0 48px; }
  .brand-on-dark img { height: 52px; }
}
