/* Mwashumbe 1 Bob Chama — ocean-blue theme. */

:root {
  --deep:   #0a3d5c;   /* deep ocean — headings */
  --ocean:  #0e5a8a;   /* primary */
  --ocean2: #1278b0;   /* lighter primary */
  --aqua:   #19a7c9;   /* accent */
  --foam:   #e9f4fa;   /* soft tint */
  --ink:    #0f2635;
  --body:   #39515f;
  --muted:  #6c8392;
  --line:   #d4e6ef;
  --bg:     #ffffff;
  --radius: 16px;
  --shell:  1040px;
  --shadow: 0 1px 2px rgba(14,90,138,.06), 0 10px 30px rgba(14,90,138,.10);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --deep: #cfe9f6; --ocean: #3fa8dd; --ocean2: #57b7e6; --aqua: #38c6e6;
    --foam: #0e2633; --ink: #e9f5fb; --body: #b7ccd8; --muted: #8aa3b1;
    --line: #1d3a4b; --bg: #081821;
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"] {
  --deep: #cfe9f6; --ocean: #3fa8dd; --ocean2: #57b7e6; --aqua: #38c6e6;
  --foam: #0e2633; --ink: #e9f5fb; --body: #b7ccd8; --muted: #8aa3b1;
  --line: #1d3a4b; --bg: #081821;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
h1, h2, h3 { color: var(--ink); line-height: 1.18; }
a { color: var(--ocean); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700;
  font-size: 15px; text-decoration: none; border: 2px solid transparent;
  transition: transform .06s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-solid { background: var(--ocean); color: #fff; box-shadow: var(--shadow); }
.btn-solid:hover { background: var(--ocean2); }
.btn-ghost { background: transparent; color: var(--ocean); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ocean); }
/* on dark ocean backgrounds */
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-light { background: #fff; color: var(--deep); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn-light:hover { background: var(--foam); }

/* ---- Top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-badge {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ocean), var(--aqua)); color: #fff; font-weight: 800;
}
.brand-name { color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.brand-name b { color: var(--ocean); }
.brand-name.small { font-size: 15px; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(160deg, var(--ocean) 0%, var(--deep) 100%);
  color: #eaf6fc;
  padding: 84px 0 140px;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; color: #bfe6f7; margin: 0 0 16px; }
.wordmark { font-size: clamp(34px, 6.5vw, 58px); margin: 0 0 20px; letter-spacing: -.02em; color: #fff; }
.wordmark .accent { color: #8fe3f5; }
.motto { font-size: clamp(17px, 2.4vw, 20px); max-width: 600px; color: #d5ecf7; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 110px; display: block; }
.wave path { fill: var(--bg); }

/* ---- Bands ---- */
.band { padding: 72px 0; }
.band.tint { background: var(--foam); }
.band h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 20px; }
.lead { font-size: 18px; color: var(--body); }
.pull {
  margin: 30px auto 0; max-width: 540px; font-size: 21px; font-weight: 600;
  color: var(--deep); font-style: italic; border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line); padding: 18px 0;
}

/* ---- Values ---- */
.values { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 820px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.v-ic { font-size: 26px; display: block; margin-bottom: 10px; }
.value h3 { margin: 0 0 6px; font-size: 18px; color: var(--ocean); }
.value p { margin: 0; }

/* ---- Timeline ---- */
.timeline { list-style: none; margin: 10px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl { position: relative; display: flex; gap: 20px; padding: 14px 0; }
.tl-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ocean), var(--aqua)); color: #fff; font-weight: 800;
  box-shadow: var(--shadow); position: relative; z-index: 1;
}
.tl-body h3 { margin: 6px 0 4px; font-size: 19px; }
.tl-body p { margin: 0; }

/* ---- Stats band ---- */
.stats { background: linear-gradient(135deg, var(--deep), var(--ocean)); color: #fff; padding: 46px 0; }
.stats-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-around; text-align: center; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: clamp(26px, 4vw, 36px); font-weight: 800; color: #fff; letter-spacing: -.01em; }
.stat-label { color: #bfe0f1; font-size: 14px; letter-spacing: .02em; }

/* ---- CTA ---- */
.cta {
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(143,227,245,.25), transparent 60%),
    linear-gradient(160deg, var(--ocean2), var(--deep));
  color: #fff; padding: 72px 0;
}
.cta h2 { color: #fff; }
.cta-sub { color: #d5ecf7; font-size: 18px; margin: 0 0 26px; }

/* ---- Contact ---- */
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 18px 0 8px; }
.muted { color: var(--muted); font-size: 14px; }

/* ---- Footer ---- */
.foot { border-top: 1px solid var(--line); padding: 26px 0 32px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; }
.foot-note { margin: 14px auto 0; font-size: 13px; color: var(--muted); }
