/* About Us page, v2 (22-oct-2026) — to the client's redesign reference. Builds on home2.css
   (tokens, header, buttons, footer). Pictures have no edges or frames: they fade softly into the
   page, with a soft shadow where they stand on their own. */
.nav a.on { color: var(--g7); font-weight: 600; }
body.ab { background: #fff; }
.x-sec { padding: 76px 0; }
.x-tint { background: #F6F8F7; }
.x-h { position: relative; font-size: clamp(26px, 2.9vw, 36px); letter-spacing: -.03em; margin: 0 0 18px; padding-top: 18px; font-weight: 800; }
.x-h::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 4px; border-radius: 4px; background: var(--g7); }
.x-sub { color: var(--soft); font-size: 16px; margin: -6px 0 32px; max-width: 760px; }
.x-sec p { color: var(--ink2); font-size: 16px; line-height: 1.65; margin: 0 0 14px; }
.x-sec p b { color: var(--ink); }
.x-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.x-split.x-top { align-items: start; }

/* "Read more": the client's full text, folded */
.x-more { margin: 4px 0 10px; }
.x-more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; color: var(--g7); font-weight: 600; font-size: 14.5px; }
.x-more summary::-webkit-details-marker { display: none; }
.x-more summary::after { content: "+"; font-weight: 800; }
.x-more[open] summary::after { content: "−"; }
.x-more[open] summary { margin-bottom: 10px; }
.x-more p { font-size: 15px !important; }
.x-more.light summary { color: #A7F3C5; }

/* pictures: no edge, no frame — they fade into the page */
.x-pic { position: relative; filter: drop-shadow(0 24px 34px rgba(15, 31, 23, .12)); }
.x-pic img { width: 100%; height: auto; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect; }
.x-pic-r img { max-height: 520px; }
.x-tall img { aspect-ratio: 4 / 3.4; object-position: 18% center; }

/* 1. hero: the photo fills the right side and fades into the page */
.x-hero { position: relative; overflow: hidden; background: #fff; min-height: 600px; display: flex; align-items: center; }
.x-hero-pic { position: absolute; inset: 0 0 0 34%; }
.x-hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 35%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 22%, #000 46%), linear-gradient(to bottom, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 22%, #000 46%), linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-composite: intersect; }
.x-hero .wrap { position: relative; padding: 70px 0; }
.x-hero-text { max-width: 560px; }
.x-hero h1 { font-size: clamp(34px, 4.3vw, 54px); line-height: 1.06; letter-spacing: -.035em; margin: 12px 0 10px; font-weight: 800; }
.x-hero .tag { color: var(--g7); font-weight: 800; font-size: 18px; margin: 0 0 14px; }
.x-hero .lead { color: var(--ink2); font-size: 17px; line-height: 1.6; margin: 0 0 26px; }
.x-hero .cta, .x-cta .cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* 2. mission and vision */
.x-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.x-box { display: flex; gap: 18px; align-items: flex-start; background: #F4F6F5; border-radius: 16px; padding: 26px 26px 18px; }
.x-box h3 { margin: 4px 0 8px; font-size: 19px; }
.x-box p { font-size: 15px; }
.x-ic { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--g7); color: #fff;
  box-shadow: 0 8px 18px rgba(11, 122, 69, .25); }
.x-ic svg { width: 24px; height: 24px; }
.x-ic.sm { width: 40px; height: 40px; } .x-ic.sm svg { width: 19px; height: 19px; }

/* 3. what MradiQ does: the product preview runs off the right edge and fades */
.x-does { overflow: hidden; }
.x-does .btn { margin-top: 8px; }
.x-shot { margin-right: calc((min(1200px, 100vw - 40px) - 100vw) / 2); filter: drop-shadow(0 30px 40px rgba(15, 31, 23, .16)); }
.x-shot img { width: 100%; border-radius: 14px 0 0 14px;
  -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 100%), linear-gradient(to bottom, #000 75%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 70%, transparent 100%), linear-gradient(to bottom, #000 75%, transparent 100%);
  mask-composite: intersect; }

/* 4. the problem */
.x-lbl { font-weight: 600; color: var(--ink) !important; }
.x-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.x-checks li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink2); align-items: flex-start; }
.x-checks svg { width: 22px; height: 22px; color: #fff; fill: var(--g7); flex: none; margin-top: 1px; }

/* 5 + 6. capabilities and audiences */
.x-caps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.x-serve { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.x-card { background: #fff; border-radius: 16px; padding: 26px 20px 16px; box-shadow: 0 10px 30px rgba(15, 31, 23, .07); }
.x-caps .x-card { text-align: center; }
.x-serve .x-card { background: #F6F8F7; box-shadow: none; }
.x-big { display: inline-grid; place-items: center; color: var(--g7); margin-bottom: 12px; }
.x-big svg { width: 42px; height: 42px; stroke-width: 1.7; }
.x-card h3 { font-size: 16px; line-height: 1.3; margin: 0 0 8px; }
.x-card p { font-size: 14.5px !important; line-height: 1.55 !important; }

/* 7. why different */
.x-why { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; }
.x-why li { display: flex; gap: 14px; align-items: flex-start; }
.x-why b { display: block; font-size: 16px; margin-bottom: 3px; }
.x-why p { font-size: 14.5px !important; margin: 0 !important; }

/* 8. approach */
.x-vcp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.x-vcp .x-box { background: #fff; box-shadow: 0 10px 30px rgba(15, 31, 23, .06); }
.x-note { text-align: center; color: var(--soft) !important; margin: 26px auto 0 !important; max-width: 680px; }

/* 9. built in Tanzania: dark green band, the photo fading into it */
.x-tz { position: relative; overflow: hidden; background: linear-gradient(100deg, #083a25 0%, #0b5a37 55%, #0b7a45 100%); color: #fff; }
.x-tz-pic { position: absolute; inset: 0 0 0 40%; }
.x-tz-pic img { width: 100%; height: 100%; object-fit: cover; opacity: .9;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%); mask-image: linear-gradient(to right, transparent 0, #000 45%); }
.x-tz-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 72px 0; }
.x-tz h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 16px; }
.x-tz p { color: rgba(255, 255, 255, .86); font-size: 16px; line-height: 1.65; margin: 0 0 14px; }
.x-tz-pts { list-style: none; margin: 0 0 0 auto; padding: 0; display: grid; gap: 14px; }
.x-tz-pts li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; background: rgba(5, 40, 26, .62); backdrop-filter: blur(4px); border-radius: 999px; padding: 6px 18px 6px 6px; }
.x-tz-pts span { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--g7); display: grid; place-items: center; flex: none; }
.x-tz-pts svg { width: 20px; height: 20px; }

/* 10. commitment + call to action */
.x-commit { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.x-pic-l img { aspect-ratio: 1 / 1.05; object-position: 30% center; }
.x-cta { margin-top: 22px; background: linear-gradient(135deg, #EEF7F1, #F7FBF8); border-radius: 18px; padding: 26px 26px 22px; }
.x-cta small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--g7); }
.x-cta h3 { font-size: 22px; margin: 6px 0 8px; letter-spacing: -.02em; }
.x-cta p { font-size: 15px !important; }
.x-cta .big { font-weight: 700; color: var(--ink) !important; }

@media (max-width: 1100px) {
  .x-caps { grid-template-columns: repeat(3, 1fr); }
  .x-serve { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .x-sec { padding: 56px 0; }
  .x-split, .x-mv, .x-vcp, .x-commit, .x-tz-in { grid-template-columns: 1fr; gap: 28px; }
  .x-hero { display: flex; flex-direction: column; min-height: 0; }
  .x-hero .wrap { width: calc(100% - 40px); }
  .x-hero .wrap { padding: 36px 0 0; }
  .x-hero-pic { order: 2; position: relative; inset: auto; height: 340px; margin-top: 10px; }
  .x-hero-pic img { object-position: 62% 30%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 80%, transparent 100%); }
  .x-shot { margin-right: -20px; }
  .x-tz-pic { inset: 45% 0 0 0; }
  .x-tz-pic img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40%); mask-image: linear-gradient(to bottom, transparent 0, #000 40%); }
  .x-tz-pts { margin: 120px 0 0; }
  .x-pic-l img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  /* the reference's phone layout: capability and audience cards become rows, icon on the left */
  .x-caps, .x-serve { grid-template-columns: 1fr; gap: 12px; }
  .x-card { display: flex; gap: 16px; text-align: left !important; padding: 18px 18px 10px; }
  .x-big { margin: 2px 0 0; flex: none; } .x-big svg { width: 34px; height: 34px; }
  .x-box { padding: 20px 18px 12px; }
  .x-shot { margin-right: -16px; }
  .x-hero-pic { height: 280px; }
  .x-hero .wrap { width: calc(100% - 32px); }
  .x-cta .cta .btn { width: 100%; justify-content: center; }
}

/* ---- 22-oct (3): coloured icon tiles, as in the client's icon reference ---- */
.c-g { --c: #0b7a45; --t: #E2F3E9; --w: #EAF6EF; }
.c-b { --c: #2459d6; --t: #E4ECFC; --w: #EEF3FD; }
.c-a { --c: #c4860a; --t: #FCEFD6; --w: #FDF6E8; }
.c-t { --c: #0b7a5f; --t: #DDF2EA; --w: #E9F7F1; }
.x-tile { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--t); color: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.x-tile svg { width: 29px; height: 29px; stroke-width: 2.1; fill: currentColor; fill-opacity: .16; }
.x-tile.sm { width: 42px; height: 42px; border-radius: 12px; } .x-tile.sm svg { width: 21px; height: 21px; }
.x-box { background: #fff; box-shadow: 0 10px 30px rgba(15, 31, 23, .06); }
.x-box .x-tile { margin-top: 2px; }

/* capability cards: left aligned, a soft quarter-circle in the corner, "Read more +" with an arrow */
.x-caps .x-card { text-align: left; position: relative; overflow: hidden; padding: 24px 20px 16px; }
.x-caps .x-card::before { content: ""; position: absolute; right: -38px; top: -38px; width: 120px; height: 120px; border-radius: 50%; background: var(--w); }
.x-caps .x-card > * { position: relative; }
.x-caps .x-tile { margin-bottom: 18px; }
.x-caps .x-card h3 { font-size: 17px; }
.x-more summary { gap: 8px; }
.x-go { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: #EAF5EE; color: var(--g7); margin-left: 4px; transition: transform .15s; }
.x-go svg { width: 16px; height: 16px; }
details[open] > summary .x-go { transform: rotate(90deg); }

/* who we serve: icon tile, title and an arrow; the arrow opens the full text; a soft wave at the foot */
.x-serve .x-card.x-aud { position: relative; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(15, 31, 23, .07); display: block; padding: 22px 22px 26px; }
.x-aud::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -46px; height: 90px; border-radius: 50%; background: var(--w); }
.x-aud > * { position: relative; z-index: 1; }
.x-aud .x-tile { margin-bottom: 16px; }
.x-aud summary { list-style: none; cursor: pointer; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.x-aud summary::-webkit-details-marker { display: none; }
.x-aud summary h3 { margin: 0; font-size: 17px; }
.x-aud summary .x-go { flex: none; }
.x-aud details p { margin: 12px 0 0 !important; font-size: 14.5px !important; }

/* why different: coloured tiles in the list */
.x-why li .x-tile { margin-top: 2px; }
@media (max-width: 640px) {
  .x-caps .x-card { display: flex; gap: 16px; }
  .x-caps .x-tile { margin: 0; }
  .x-serve .x-card.x-aud { display: flex; gap: 16px; align-items: flex-start; padding: 18px; }
  .x-aud .x-tile { margin: 0; }
  .x-aud details { flex: 1; }
  .x-aud summary { align-items: center; min-height: 58px; }
}
.x-more summary::after { order: 1; }
.x-more summary .x-go { order: 2; }
.x-aud::after { bottom: -62px; height: 84px; }
.x-serve .x-card.x-aud { padding-bottom: 34px; }
.x-serve { align-items: start; }
