/* ============================================================
   MALIBONGWE BUSINESS SOLUTIONS — Design System
   Corporate Identity: Pantone 302 C / Pantone Medium Yellow C
   Typeface: Lato (approved secondary family per CI)
   ============================================================ */

:root {
  /* Brand palette — CI approved values */
  --navy: #003B5D;            /* Pantone 302 C */
  --yellow: #FDDB00;          /* Pantone Medium Yellow C */
  --pink: #ED1651;            /* CI pattern: C1 M99 Y59 K0 */
  --cyan: #7ACCD7;            /* CI pattern: C49 M0 Y16 K0 */
  --orange: #F58220;          /* CI pattern: C0 M64 Y100 K0 */

  /* Derived tones (tints/shades of brand colours) */
  --navy-deep: #002841;
  --navy-ink: #012F4C;
  --navy-soft: #0A4A6E;
  --slate: #3E5A70;
  --slate-light: #56758C; /* darkened from #6B8398 to clear WCAG AA (4.5:1) at small sizes */
  --mist: #EFF4F7;
  --paper: #F8FAFC;
  --white: #FFFFFF;
  --line: #DCE6EC;
  --line-dark: rgba(255, 255, 255, 0.14);
  --yellow-tint: #FFF9D6;

  /* Type */
  --font: 'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Rhythm */
  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --shadow-sm: 0 1px 2px rgba(0, 40, 65, 0.05), 0 6px 18px rgba(0, 40, 65, 0.06);
  --shadow-md: 0 2px 6px rgba(0, 40, 65, 0.06), 0 22px 54px rgba(0, 40, 65, 0.13);
  --shadow-lg: 0 8px 20px rgba(0, 40, 65, 0.10), 0 40px 90px rgba(0, 40, 65, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spark: linear-gradient(90deg, var(--yellow) 0 55%, var(--orange) 55% 70%, var(--pink) 70% 85%, var(--cyan) 85% 100%);
}

/* Refined scrollbar (WebKit) */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: var(--navy); border: 3px solid var(--mist); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-soft); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
[id] { scroll-margin-top: 110px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 1rem; font-weight: 900; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1.1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
::selection { background: var(--yellow); color: var(--navy); }

/* ---------- Utilities ---------- */
.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--pattern {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(0, 59, 93, 0.94), rgba(0, 40, 65, 0.97)),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
}
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--yellow); color: var(--navy); font-weight: 700;
  padding: 0.75rem 1.25rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Eyebrow label with CI "spark" chevron accent */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--navy-soft);
  margin-bottom: 1.1rem;
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--yellow); }
.eyebrow::before {
  content: ""; width: 26px; height: 10px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 1l6.2 7L13 1' fill='none' stroke='%23ED1651' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13 1l6.2 7L25 1' fill='none' stroke='%23F58220' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.72; color: var(--slate); font-weight: 300; }
.lede strong { font-weight: 700; }
.section--navy .lede { color: rgba(255, 255, 255, 0.84); }

h2.section-title { font-size: clamp(1.95rem, 3.6vw, 2.9rem); max-width: 20ch; letter-spacing: -0.025em; }
.center h2.section-title { margin-inline: auto; }
.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head .lede { max-width: 62ch; }
.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.9rem; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  background: linear-gradient(180deg, #FFE33A 0%, var(--yellow) 60%, #F2CF00 100%);
  color: var(--navy);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 8px 22px rgba(253, 219, 0, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 14px 32px rgba(253, 219, 0, 0.42); }
.btn--ghost { border-color: rgba(0, 59, 93, 0.28); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 700; color: var(--navy); font-size: 0.98rem;
}
.text-link::after { content: "→"; transition: transform 0.3s var(--ease); }
.text-link:hover::after { transform: translateX(5px); }
.section--navy .text-link { color: var(--yellow); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
  padding-block: 1.1rem;
  background: rgba(255, 255, 255, 0.001);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(0, 59, 93, 0.08), 0 8px 30px rgba(0, 40, 65, 0.07);
  padding-block: 0.65rem;
}
.scroll-progress {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--spark); transform-origin: left; transform: scaleX(0);
  opacity: 0; transition: opacity 0.3s;
}
.site-header.is-solid .scroll-progress { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand img { height: 56px; width: auto; transition: height 0.35s var(--ease); }
.site-header.is-solid .brand img { height: 46px; }

.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-list a {
  font-weight: 700; font-size: 0.95rem; color: var(--navy);
  position: relative; padding-block: 0.4rem;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--yellow); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { margin-left: 0.5rem; }
.nav-cta .btn { padding: 0.7rem 1.4rem; font-size: 0.9rem; }
.nav-list a.btn--primary { color: var(--navy) !important; }
.nav-list a.btn--primary::after { display: none; }

/* Header over dark hero (home) */
.header-on-dark:not(.is-solid) .nav-list a { color: var(--white); }
.header-on-dark:not(.is-solid) .btn--ghost { border-color: rgba(255,255,255,0.45); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 12px; padding: 10px; z-index: 130;
}
.nav-toggle span {
  display: block; height: 3px; width: 100%; border-radius: 2px;
  background: var(--navy); margin: 5px 0; transition: transform 0.35s var(--ease), opacity 0.25s, background 0.25s;
}
.header-on-dark:not(.is-solid) .nav-toggle span { background: var(--white); }
.nav-open .nav-toggle span { background: var(--white); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 120;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 1.6rem; text-align: center; }
  .nav-list a { color: var(--white); font-size: 1.35rem; }
  .nav-cta { margin: 0.5rem 0 0; }
}

/* ---------- Hero (dark, home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--navy) 30%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.85);
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(7rem, 13vh, 9.5rem);
  padding-bottom: clamp(3.25rem, 6vh, 4.75rem);
}
/* Photographic layer — profile cover imagery, tinted to the brand navy */
.hero-photo {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%;
  opacity: 0.32; filter: grayscale(1) contrast(1.1);
  transform: scale(1.06);
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 59, 93, 0.96) 0%, rgba(0, 59, 93, 0.78) 45%, rgba(0, 40, 65, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 40, 65, 0.35) 0%, transparent 30%, rgba(0, 40, 65, 0.85) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 28px);
  mask-image: radial-gradient(900px 600px at 20% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 20% 30%, black, transparent 75%);
}
/* Signature yellow diagonal — from the company profile's page architecture */
.hero::after {
  content: ""; position: absolute; right: -6vw; bottom: -2px; z-index: -1;
  width: 46vw; height: 14vw; max-height: 200px;
  background: var(--yellow);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  opacity: 0.92;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.05rem, 4.6vw, 3.65rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.08;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lede { color: rgba(255, 255, 255, 0.84); max-width: 52ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); margin-bottom: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Hero entrance sequence */
.hero .eyebrow, .hero h1, .hero .lede, .hero-ctas { opacity: 0; transform: translateY(22px); animation: rise 1s var(--ease) forwards; }
.hero .eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.22s; }
.hero .lede { animation-delay: 0.36s; }
.hero-ctas { animation-delay: 0.5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Brand mark as an architectural watermark rather than a floating logo */
.hero-art { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero-art img {
  width: min(440px, 96%); opacity: 0.9;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.45));
  animation: mark-float 9s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes mark-float { from { transform: translateY(-8px) rotate(-1deg); } to { transform: translateY(10px) rotate(1deg); } }
.hero-art::before {
  content: ""; position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(253, 219, 0, 0.18), rgba(253, 219, 0, 0.0) 62%);
  filter: blur(10px);
}
.hero-art::after {
  content: ""; position: absolute; inset: 6% 4%; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  mask-image: linear-gradient(180deg, black, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 80%);
}
@media (max-width: 900px) {
  .hero { min-height: 0; padding-bottom: clamp(3rem, 7vh, 4.5rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  /* The photographic background carries the hero on small screens; the mark
     is already present in the header, so the watermark is redundant here. */
  .hero-art { display: none; }
  .hero .lede { max-width: none; }
  .hero::after { width: 72vw; height: 24vw; }
}

/* Scroll cue */
.scroll-cue {
  position: absolute; right: clamp(1.25rem, 3.5vw, 3rem); bottom: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); z-index: 1;
  writing-mode: vertical-rl;
}
.scroll-cue span { writing-mode: horizontal-tb; }
.scroll-cue span { width: 1px; height: 44px; background: linear-gradient(180deg, var(--yellow), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 860px) { .scroll-cue { display: none; } }

/* Trust strip */
.trust { margin-top: clamp(2rem, 4.5vh, 3.25rem); position: relative; }
.trust p {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55); font-weight: 700; margin-bottom: 1rem;
}
.trust { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 2rem; }
.trust ul { display: flex; flex-wrap: wrap; gap: 0.9rem 0; align-items: center; }
.trust li { color: rgba(255, 255, 255, 0.78); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.02em; white-space: nowrap; }
.trust li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); opacity: 0.55; margin: 0 1.1rem; vertical-align: middle; }
.trust--bio { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.5rem; }
.trust-bio.trust-bio { max-width: 62ch; font-size: 0.98rem; line-height: 1.7; letter-spacing: normal; text-transform: none; font-weight: 400; color: rgba(255, 255, 255, 0.68); margin: 0; }
.trust-bio .text-link { margin-left: 0.3rem; white-space: nowrap; }

/* ---------- Page hero (interior, light) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 380px at 90% 0%, rgba(122, 204, 215, 0.16), transparent 65%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  padding-top: clamp(8rem, 15vh, 10.5rem);
  padding-bottom: clamp(3rem, 6vh, 4.5rem);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 18ch; }
.page-hero .lede { max-width: 64ch; }
.breadcrumbs { display: flex; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--slate-light); margin-bottom: 1.6rem; }
.breadcrumbs a { color: var(--slate-light); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs [aria-current] { color: var(--navy); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid rgba(0, 59, 93, 0.07);
  border-radius: var(--radius-lg); padding: 2.1rem 1.9rem;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(255,255,255,0) 40%);
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--spark);
  transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(0, 59, 93, 0.12); }
.card:hover::after { transform: scaleX(1); }
.card > * { position: relative; }
.card h3 { font-size: 1.22rem; margin-bottom: 0.6rem; line-height: 1.3; }
.card p { font-size: 0.99rem; color: var(--slate); margin-bottom: 0.9rem; }
.card .text-link { font-size: 0.92rem; }
.card--lg { padding: 2.5rem 2.4rem; }
.card .audience {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--slate-light); margin-bottom: 0.8rem;
}

/* Mini heading — labelled sub-sections inside long-form content */
.mini-head {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); margin: 1.9rem 0 0.7rem;
}
.mini-head::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--yellow); flex: none; }

.icon-chip {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.4rem;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 100%);
  box-shadow: 0 8px 18px rgba(0, 59, 93, 0.22), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform 0.5s var(--ease);
  color: var(--yellow); /* so icon parts using fill="currentColor" render in brand yellow */
}
.icon-chip svg { width: 26px; height: 26px; stroke: var(--yellow); }
.card:hover .icon-chip { transform: translateY(-3px) rotate(-3deg); }

/* Dark cards (on navy sections) */
.card--dark {
  background: linear-gradient(160deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.card--dark::before { background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 45%); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: rgba(255, 255, 255, 0.76); }
.card--dark:hover { box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4); border-color: rgba(253, 219, 0, 0.35); }

/* Numbered pillar (3P Matrix) */
.pillar-num {
  font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 900; line-height: 1;
  color: var(--yellow); letter-spacing: -0.02em; margin-bottom: 0.9rem;
}
.pillar-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 0.5rem;
}

/* ---------- Split feature rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem);
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; } .feature-row > .feature-media { order: -1; } }
.feature-media { position: relative; }

.check-list li {
  position: relative; padding-left: 2rem; margin-bottom: 0.7rem;
  color: var(--slate); font-size: 1rem;
}
.check-list li strong { color: var(--navy); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23FDDB00'/%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.6' fill='none' stroke='%23003B5D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.section--navy .check-list li { color: rgba(255,255,255,0.8); }
.section--navy .check-list li strong { color: var(--white); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.6rem 1rem; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: -0.75rem; top: 20%; bottom: 20%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 59, 93, 0.18), transparent);
}
@media (max-width: 860px) { .stat + .stat::before { display: none; } }
.section--navy .stat + .stat::before { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent); }
.stat b { display: block; font-size: clamp(2.1rem, 3.8vw, 3.1rem); font-weight: 700; color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; }
.stat b::after { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--yellow); margin: 0.6rem auto 0.55rem; }
.stat span { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-light); }
.section--navy .stat b { color: var(--yellow); }
.section--navy .stat span { color: rgba(255,255,255,0.65); }

/* ---------- Quote block ---------- */
.pullquote {
  position: relative; border-radius: var(--radius-lg);
  background: var(--navy); color: var(--white);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  overflow: hidden;
}
.pullquote::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 26px);
}
.pullquote blockquote {
  position: relative; margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 300; font-style: italic;
  line-height: 1.55; color: var(--white);
}
.pullquote blockquote strong { font-weight: 700; color: var(--yellow); font-style: normal; }
.pullquote .quote-mark { position: relative; width: 46px; margin-bottom: 1.2rem; }
.pullquote cite { position: relative; display: block; margin-top: 1.4rem; font-style: normal; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--yellow) 0%, #ffe95c 100%);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 2rem; align-items: center;
}
@media (max-width: 780px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px;
  background: url('../img/logo-mark.png') no-repeat center / contain;
  opacity: 0.1; transform: rotate(8deg);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 0.6rem; }
.cta-band p { color: rgba(0, 59, 93, 0.8); margin: 0; font-size: 1.05rem; }
.cta-band .btn--navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 26px rgba(0, 59, 93, 0.3); }
.cta-band .btn--navy:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 59, 93, 0.38); }

/* ---------- Placeholder panels (case studies / insights / testimonials) ---------- */
.placeholder-card {
  border: 1.5px dashed rgba(0, 59, 93, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem;
  background: linear-gradient(180deg, rgba(239, 244, 247, 0.5), var(--white));
  transition: border-color 0.3s, transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.placeholder-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.badge-soon {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--navy);
  background: var(--yellow); border-radius: 999px; padding: 0.32rem 0.85rem; margin-bottom: 1rem;
}
.placeholder-card h3 { font-size: 1.15rem; }
.placeholder-card p { font-size: 0.96rem; }

/* Insight card */
.insight-card { display: flex; flex-direction: column; gap: 0; overflow: hidden; padding: 0; }
.insight-card .thumb {
  height: 180px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-soft) 100%);
  position: relative; overflow: hidden;
}
.insight-card .thumb::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 24px);
}
.insight-card .thumb img { width: 84px; opacity: 0.9; position: relative; }
.insight-card .body { padding: 1.7rem 1.7rem 1.9rem; }
.insight-card .meta { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.55rem; }

/* ---------- Tables (services summary) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.brand-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
.brand-table thead th {
  background: var(--yellow); color: var(--navy);
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: left; padding: 1.1rem 1.4rem;
}
.brand-table tbody th {
  background: var(--navy); color: var(--white); text-align: left;
  font-size: 0.92rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 1.3rem 1.4rem; width: 220px; vertical-align: top;
}
.brand-table tbody td { padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.98rem; transition: background 0.25s; }
.brand-table tbody tr:hover td { background: var(--yellow-tint); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--navy);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1rem; background: var(--paper);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: var(--white);
  box-shadow: 0 0 0 4px rgba(122, 204, 215, 0.3);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.85rem; color: var(--slate-light); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-weight: 700; color: var(--navy); }

.info-stack { display: grid; gap: 1.1rem; }
.info-tile {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.info-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-tile .icon-chip { width: 46px; height: 46px; margin: 0; flex: none; }
.info-tile h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.info-tile p { margin: 0; font-size: 0.95rem; }
.info-tile a { font-weight: 700; }
.info-tile a:hover { text-decoration: underline; }

.map-placeholder {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  min-height: 280px; display: grid; place-items: center; text-align: center;
  color: rgba(255,255,255,0.75); padding: 2rem;
}
.map-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 46px);
}
.map-placeholder img { width: 74px; margin-inline: auto; margin-bottom: 1rem; position: relative; }
.map-placeholder p { position: relative; margin: 0; font-size: 0.95rem; }
.map-placeholder strong { color: var(--white); display: block; font-size: 1.1rem; margin-bottom: 0.3rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 30px);
}
/* Giant wordmark watermark */
.site-footer::after {
  content: "MALIBONGWE"; position: absolute; left: 50%; bottom: -0.18em; transform: translateX(-50%);
  font-size: clamp(5rem, 17vw, 17rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: rgba(255, 255, 255, 0.028); pointer-events: none; white-space: nowrap; user-select: none;
}
.footer-grid {
  position: relative;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 180px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; }
.footer-badge {
  display: inline-block; margin-top: 0.6rem;
  border: 1px solid rgba(253, 219, 0, 0.4); color: var(--yellow);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  border-radius: 999px; padding: 0.4rem 1rem;
}
.site-footer h3 {
  color: var(--white); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.site-footer li { margin-bottom: 0.65rem; }
.site-footer a { color: rgba(255, 255, 255, 0.72); font-size: 0.96rem; transition: color 0.25s; }
.site-footer a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: baseline; font-size: 0.96rem; }
.footer-contact b { color: var(--white); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; flex: none; width: 74px; }
.footer-bottom {
  position: relative;
  border-top: 1px solid var(--line-dark);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; filter: blur(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; filter: none; transition: none; }
  .hero .eyebrow, .hero h1, .hero .lede, .hero-ctas { opacity: 1; transform: none; animation: none; }
  .hero-art img, .hero-photo img, .scroll-cue span { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Leadership ---------- */
.leader-card {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 860px) { .leader-card { grid-template-columns: 1fr; } }
.leader-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, var(--mist), #dfe9ef);
}
.leader-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--yellow) 0 55%, var(--orange) 55% 70%, var(--pink) 70% 85%, var(--cyan) 85% 100%);
}
.leader-meta { font-weight: 700; color: var(--slate-light); font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.2rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.chip {
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  background: var(--mist); border: 1px solid var(--line);
  padding: 0.38rem 0.95rem; border-radius: 999px;
}

/* ---------- Misc ---------- */
.divider-spark { display: flex; justify-content: center; margin-block: 0.5rem; }
.kicker-line { width: 64px; height: 4px; border-radius: 2px; margin-bottom: 1.4rem;
  background: linear-gradient(90deg, var(--yellow) 0 55%, var(--orange) 55% 70%, var(--pink) 70% 85%, var(--cyan) 85% 100%); }

/* ============================================================
   PREMIUM LAYER — photography, editorial surfaces, refinements
   ============================================================ */

/* ---------- Photographic frames ---------- */
.photo-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.2s var(--ease);
}
.photo-frame:hover img { transform: scale(1.04); }
.photo-frame::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: var(--spark); z-index: 2;
}
.photo-frame--tall { aspect-ratio: 4 / 5; }
.photo-frame--wide { aspect-ratio: 16 / 10; }

/* Caption overlaid on a photo */
.photo-frame figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 2.4rem 1.8rem 1.6rem;
  background: linear-gradient(180deg, transparent, rgba(0, 40, 65, 0.92));
  color: rgba(255, 255, 255, 0.9); font-size: 0.9rem; line-height: 1.55;
}
.photo-frame figcaption strong { display: block; color: var(--white); font-size: 1rem; margin-bottom: 0.15rem; }

/* Offset accent block behind a photo — editorial depth */
.photo-offset { position: relative; }
.photo-offset::before {
  content: ""; position: absolute; z-index: 0;
  left: -1.4rem; bottom: -1.4rem; width: 55%; height: 62%;
  border-radius: var(--radius-lg);
  background: var(--yellow); opacity: 0.9;
}
.photo-offset > * { position: relative; z-index: 1; }
@media (max-width: 640px) { .photo-offset::before { left: -0.8rem; bottom: -0.8rem; } }

/* ---------- Full-bleed photographic band ---------- */
.photo-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: rgba(255, 255, 255, 0.85);
  padding-block: clamp(5rem, 11vw, 9rem);
}
.photo-band > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.3; filter: grayscale(0.35);
}
.photo-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(0, 59, 93, 0.95) 0%, rgba(0, 59, 93, 0.75) 55%, rgba(0, 40, 65, 0.6) 100%);
}
.photo-band h2, .photo-band h3 { color: var(--white); }
.photo-band .eyebrow { color: var(--yellow); }

/* ---------- Section rule with brand spark ---------- */
.rule-spark { position: relative; height: 1px; background: var(--line); margin-block: clamp(3rem, 6vw, 5rem); }
.rule-spark::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 3px;
  border-radius: 2px; background: var(--spark);
}

/* ---------- Numbered process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step {
  position: relative; counter-increment: step;
  padding: 1.6rem 1.6rem 1.6rem 4.6rem;
  background: var(--white); border: 1px solid rgba(0, 59, 93, 0.07);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 1.5rem; top: 1.5rem;
  font-size: 1.05rem; font-weight: 900; color: var(--navy);
  background: var(--yellow); width: 2.2rem; height: 2.2rem; border-radius: 8px;
  display: grid; place-items: center; letter-spacing: -0.02em;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.step h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.step p { margin: 0; font-size: 0.97rem; }

/* ---------- Refined pullquote ---------- */
.pullquote {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg);
}
.pullquote::after {
  content: ""; position: absolute; right: -70px; bottom: -70px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 219, 0, 0.16), transparent 68%);
}

/* ---------- Insight card thumbnails, elevated ---------- */
.insight-card { box-shadow: var(--shadow-sm); }
.insight-card .thumb { height: 190px; }
.insight-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(253, 219, 0, 0.14), transparent 62%);
}
.insight-card .thumb img { width: 76px; transition: transform 0.7s var(--ease); }
.insight-card:hover .thumb img { transform: scale(1.09) rotate(-3deg); }

/* ---------- Footer polish ---------- */
.footer-grid { padding-bottom: 3.4rem; }
.site-footer h3::after {
  content: ""; display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--yellow); margin-top: 0.55rem;
}

/* ---------- CTA band refinement ---------- */
.cta-band { box-shadow: 0 24px 60px rgba(253, 219, 0, 0.22); }
.cta-band::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: var(--navy);
}

/* ---------- Page hero: photographic variant ---------- */
.page-hero--photo { background: none; position: relative; isolation: isolate; }
.page-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 380px at 88% 0%, rgba(122, 204, 215, 0.18), transparent 65%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}
.page-hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-grid .photo-frame { display: none; } }

/* ---------- Micro-interaction: brand underline on nav ---------- */
.nav-list a::after { height: 3px; background: var(--spark); }

/* ---------- Selection & focus refinement ---------- */
.card:focus-within { border-color: rgba(0, 59, 93, 0.2); }
