:root {
  --bg: #16110f;
  --bg-soft: #1e1815;
  --card-indigo: #343056;
  --card-indigo-soft: #3b3763;
  --orange: #f5731b;
  --orange-bright: #ff8b3d;
  --peri: #6b6bf5;
  --cream: #f4efe6;
  --cream-soft: #efe9dd;
  --ink: #f4efe6;
  --muted: #b9b0a5;
  --muted-dark: #8a8177;
  --radius-lg: 28px;
  --radius: 18px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* The `hidden` attribute must beat a component's own display rule. The browser's
   default [hidden] { display: none } is a user-agent rule, so ANY author rule that
   sets display - .results-grid { display: grid }, for example - silently wins
   and the element stays on screen even though JS set .hidden = true, leaving stale
   panels on screen. One guard here rather than per-component patches. */
[hidden] { display: none !important; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--orange-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; display: block; }

.container { width: min(1160px, 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; }

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -0.01em; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; }

.accent { color: var(--orange); }
.accent-peri { color: var(--peri); }

.scroll-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, visibility 0.25s;
  z-index: 90;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--orange-bright); }
.scroll-top:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .scroll-top { transition: opacity 0.2s ease, visibility 0.2s; transform: none; }
  .scroll-top.visible { transform: none; }
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--peri);
  margin-bottom: 0.9rem;
}
.section-cream .eyebrow { color: var(--orange); }

.lead { font-size: 1.1rem; color: var(--muted); }

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-cream { background: var(--cream); color: #241d18; }
.section-cream h2 { color: #241d18; }
.section-cream h3 { color: #241d18; }
.section-intro { max-width: 46ch; color: var(--muted); margin-bottom: 2.5rem; }
/* --muted is tuned for the dark sections; on cream it needs the dark equivalent. */
.section-cream .section-intro,
.section-cream .lead { color: #5c5048; }

/* ===== Inline CTA band =====
   Sits at the foot of a capability section. Without it the only ways to act on a
   page are the hero and the closing block, which leaves the whole middle of a
   long page - the part doing the persuading - with nothing to click. */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  margin-top: 2.75rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.2rem, 3vw, 1.8rem);
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid rgba(245, 115, 27, 0.22);
  border-left: 3px solid var(--orange);
}
.cta-band p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 0.98rem;
}
.cta-band p strong { color: var(--cream); font-weight: 600; }
.cta-band .btn { flex: none; }
/* .section-alt already uses --bg-soft, so the band needs to lift off it. */
.section-alt .cta-band { background: rgba(244, 239, 230, 0.04); }
/* On the cream section the dark tokens invert. */
.section-cream .cta-band {
  background: rgba(36, 29, 24, 0.04);
  border-color: rgba(245, 115, 27, 0.35);
}
.section-cream .cta-band p { color: #5c5048; }
.section-cream .cta-band p strong { color: #241d18; }
@media (max-width: 640px) {
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
}

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
button.btn { line-height: 1.2; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(245, 115, 27, 0.35);
}
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-2px); }
.btn-ghost {
  color: var(--cream);
  border: 1.5px solid rgba(244, 239, 230, 0.35);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
/* Cream text on a cream background is invisible; invert the ghost button there. */
.section-cream .btn-ghost { color: #241d18; border-color: rgba(36, 29, 24, 0.3); }
.section-cream .btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.9rem; min-height: 44px; display: inline-flex; align-items: center; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }

.site-header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 17, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a:not(.btn) {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  padding: 0.6rem 0.2rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:not(.btn):hover { opacity: 1; color: var(--orange); }

/* ---- Grouped dropdown menu items ---- */
.nav-group { position: relative; }
.nav-group-btn {
  font: inherit;
  font-family: var(--font-body);
  color: var(--cream);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  padding: 0.6rem 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  transition: opacity 0.2s, color 0.2s;
}
.nav-group-btn:hover,
.nav-group.is-open .nav-group-btn { opacity: 1; color: var(--orange); }
.nav-group-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.nav-chev {
  transition: transform 0.2s ease;
  color: inherit;
}
.nav-group.is-open .nav-chev { transform: rotate(180deg); }

.nav-submenu {
  list-style: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 220px;
  background: var(--bg-soft);
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: var(--radius);
  padding: 0.4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav-group.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-submenu li { width: 100%; }
.nav-submenu a {
  display: block;
  padding: 0.6rem 0.9rem;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.85;
  border-radius: 10px;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.nav-submenu a:hover {
  background: rgba(245, 115, 27, 0.1);
  color: var(--orange);
  opacity: 1;
}
.nav-submenu a:focus-visible {
  outline: none;
  background: rgba(245, 115, 27, 0.15);
  color: var(--orange);
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  transition: transform 0.25s, opacity 0.25s;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(107, 107, 245, 0.14), transparent 65%),
    radial-gradient(700px 500px at 10% 90%, rgba(245, 115, 27, 0.1), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy .eyebrow { color: var(--orange); }
.hero-copy .lead { margin: 1.3rem 0 2.1rem; max-width: 48ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
/* A row of buttons under a block of prose. Use this instead of burying a
   call to action inside a sentence as an inline link. */
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.btn-row.is-centred { justify-content: center; }
/* In a CTA band the row sits alongside the copy, not under it. */
.cta-band .btn-row { margin-top: 0; }
/* Reply-time promise sits under the hero buttons, quieter than the lead. */
.hero-note {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 46ch;
}

.hero-visual { position: relative; }

/* ---- Hero visual: the three stages as the things we actually ship ---- */
.hero-stack {
  position: relative;
  display: grid;
  gap: 0.9rem;
  max-width: 420px;
  margin-inline: auto;
}
.hero-device {
  position: relative;
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-device-tag {
  position: absolute;
  top: -0.6rem;
  right: 0.9rem;
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.hero-device.is-phone .hero-device-tag { background: var(--peri); }
.hero-device.is-dash .hero-device-tag { background: var(--card-indigo-soft); }

/* Offset the stack so it reads as a montage, not a list */
.hero-device.is-browser { transform: translateX(-22px); }
.hero-device.is-dash { transform: translateX(18px); }

.hero-sk {
  display: block;
  border-radius: 4px;
  background: rgba(244, 239, 230, 0.16);
}
.hero-sk-title { height: 10px; width: 55%; background: var(--orange); opacity: 0.85; }
.hero-sk-title.is-tiny { height: 8px; width: 42%; }
.hero-sk-line { height: 6px; width: 100%; }
.hero-sk-line.is-short { width: 72%; }

/* Attract: a browser frame */
.hero-device-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.09);
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.22);
}
.hero-url {
  margin-left: 0.4rem;
  font-size: 0.68rem;
  color: var(--muted-dark);
  background: rgba(244, 239, 230, 0.06);
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
}
.hero-device-body {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
  padding: 1rem 0.9rem 1.1rem;
}
.hero-cta-chip {
  margin-top: 0.3rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

/* Engage: a phone running WhatsApp, with the USSD session behind it */
.hero-device.is-phone {
  justify-self: center;
  width: 78%;
  border-radius: 26px;
  border-width: 2px;
  z-index: 1;
}
.hero-phone-screen { padding: 1rem 0.8rem; display: grid; gap: 0.4rem; }
.hero-bubble {
  margin: 0;
  max-width: 85%;
  font-size: 0.7rem;
  line-height: 1.35;
  border-radius: 12px;
  padding: 0.4rem 0.6rem;
}
.hero-bubble.is-in {
  justify-self: start;
  background: rgba(244, 239, 230, 0.08);
  color: var(--muted);
  border-bottom-left-radius: 4px;
}
.hero-bubble.is-out {
  justify-self: end;
  background: #128C7E;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.hero-ussd {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.22rem;
  background: var(--cream);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
}
.hero-ussd-code {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--orange);
}
.hero-ussd-line { font-size: 0.65rem; color: #241d18; opacity: 0.72; }

/* Operate: the dashboard the business runs on */
.hero-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.9rem 0;
}
.hero-dash-live {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--peri);
}
.hero-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 76px;
  margin: 0.7rem 0.9rem 0.9rem;
}
.hero-bars span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--orange), rgba(245, 115, 27, 0.25));
}
.hero-bars span:nth-child(even) {
  background: linear-gradient(180deg, var(--peri), rgba(107, 107, 245, 0.25));
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  will-change: transform;
}
.orb-1 {
  width: 90px; height: 90px;
  background: radial-gradient(circle at 35% 35%, var(--peri), #4040c8);
  top: 12%; right: -34px;
  opacity: 0.75;
  z-index: -1;
}
.orb-2 {
  width: 56px; height: 56px;
  background: radial-gradient(circle at 35% 35%, var(--orange-bright), #c14e08);
  bottom: 4%; left: 2%;
  opacity: 0.8;
  z-index: -1;
}

.stats-eyebrow {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 1.25rem;
}
/* The nav's About link targets the stats block; clear the sticky header. */
#about { scroll-margin-top: 90px; }
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
.stats-eyebrow + .stats { margin-top: 0; }
.stats li {
  background: rgba(244, 239, 230, 0.04);
  border: 1px solid rgba(244, 239, 230, 0.09);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.stats .stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
}
.stats span { font-size: 0.88rem; color: var(--muted); }
/* Bordered callout with a two-column point list. Mirrors .svc-callout in
   service.css, which the homepage does not load. */
.callout {
  margin-top: 2.5rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: rgba(107, 107, 245, 0.08);
  border: 1px solid rgba(107, 107, 245, 0.3);
}
.callout h3 { margin-bottom: 0.4rem; }
.callout > p { color: var(--muted); max-width: 70ch; }
.callout > p a { color: var(--orange); font-weight: 600; }
.callout ul {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.callout li strong { color: var(--cream); font-weight: 600; }
.callout li a { color: var(--orange); font-weight: 600; }
/* On the cream section the dark tokens invert, as they do for .cta-band. */
.section-cream .callout {
  background: rgba(107, 107, 245, 0.07);
  border-color: rgba(107, 107, 245, 0.35);
}
.section-cream .callout > p,
.section-cream .callout ul { color: #5c5048; }
.section-cream .callout li strong { color: #241d18; }
@media (max-width: 700px) { .callout ul { grid-template-columns: 1fr; } }

/* Sector credentials, carried under the proof band rather than inside it. */
.stats-note {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Homepage proof band states what we are, not a percentage - shorter values */
.hero .stats .stat-value { font-size: 1.4rem; letter-spacing: -0.01em; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.card {
  background: rgba(244, 239, 230, 0.035);
  border: 1px solid rgba(244, 239, 230, 0.09);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 115, 27, 0.5);
  background: rgba(245, 115, 27, 0.05);
}
.card h3 { margin: 1.2rem 0 0.7rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), #d95a08);
  color: #fff;
}
.card-icon svg { width: 26px; height: 26px; }
.card-stage {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--peri);
  margin: 0 0 1.2rem;
}
.card-includes {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.09);
  font-size: 0.88rem !important;
  color: var(--muted);
}
.card-includes strong { color: var(--fg); font-weight: 600; }
.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.card-link:hover { color: var(--orange-bright); text-decoration: underline; }
.card-links { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; }
.card-links .card-link { margin-top: 1rem; }

.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0.4rem 0 2.4rem;
}
/* 56ch suits a short lead-in above a card grid. In these two sections the
   paragraph carries the argument itself, so it takes the same 70ch measure as
   the callout directly beneath it instead of stopping half way across. */
#agencies .section-intro,
#ongoing .section-intro { max-width: 70ch; }

.engage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.engage-card {
  background: var(--card-indigo);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
}
.tag-peri { background: var(--peri); }
.feature-list { list-style: none; margin-top: 1.4rem; }
.feature-list li {
  padding: 0.85rem 0 0.85rem 1.7rem;
  position: relative;
  color: #d9d3e8;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.35rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.feature-list strong { color: var(--cream); }

.clients-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.client {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem 1.6rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(36, 29, 24, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.client:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(36, 29, 24, 0.14); }
.client-logo {
  height: 110px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.client-logo img { max-height: 100px; max-width: 170px; width: auto; object-fit: contain; }
.client h3 { font-size: 1.02rem; color: #241d18; }
.client p { font-size: 0.85rem; color: var(--orange); font-weight: 600; margin-top: 0.2rem; }

.work {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.work-flip .work-copy { order: 2; }
.work-flip .work-media { order: 1; }
.work h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 1.1rem 0 1rem; }
.work h3 em { font-style: normal; color: var(--orange); font-weight: 600; }
.work p { color: var(--muted); }
.work p + p { margin-top: 0.9rem; }

.work-media {
  background: var(--card-indigo);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.work-media img { filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.4)); }
.work-media.phone img { max-height: 420px; width: auto; }
.game-shots { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.game-shots img { border-radius: 12px; }

.link-arrow {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.link-arrow:hover { border-bottom-color: var(--orange); }

.trudex-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.8rem;
  justify-content: center;
}

.trudex-hero { padding-top: clamp(2.5rem, 5vw, 4rem); }
.trudex-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 1.4rem;
}
.trudex-hero-copy h1 { margin-bottom: 1.2rem; }
.trudex-hero-copy .lead { margin-bottom: 1.8rem; }
/* Client credit under the Trudex hero lead - staged in portfolios/trudex.html,
   see the DECIDE block there. Unused until that line is uncommented. */
.trudex-proof {
  margin: 0 0 1.8rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.crumb {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.crumb:hover { border-bottom-color: var(--orange); }
@media (max-width: 860px) {
  .trudex-hero-grid { grid-template-columns: 1fr; }
}

.websites { margin-top: clamp(3.5rem, 7vw, 5rem); }
.websites-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.websites-title span { color: var(--orange); font-weight: 600; }
.site-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.6rem;
  margin-top: 1.8rem;
}
.site-grid figure img { filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45)); }
.site-grid figure a {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.site-grid figure a:hover { transform: translateY(-4px); }
.site-grid figure a:hover figcaption { background: var(--orange); color: #fff; }
.site-grid figcaption {
  text-align: center;
  margin-top: 0.7rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--cream);
  background: var(--card-indigo);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  width: fit-content;
  margin-inline: auto;
  font-size: 0.92rem;
}

.contact {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(245, 115, 27, 0.16), transparent 70%),
    var(--bg-soft);
}
.contact-inner { text-align: center; }
.contact-inner .lead { max-width: 52ch; margin: 0 auto 2.5rem; }
.contact-inner .lead:has(+ .contact-fit) { margin-bottom: 1.1rem; }
/* Who the enquiry form is for, said plainly before anyone fills it in. */
.contact-fit {
  max-width: 58ch;
  margin: 0 auto 2.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 900px;
  margin-inline: auto;
}
.contact-card {
  background: rgba(244, 239, 230, 0.04);
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s;
}
.contact-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.contact-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--peri);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.contact-value { color: var(--cream); font-family: var(--font-head); font-weight: 600; }

.site-footer {
  border-top: 1px solid rgba(244, 239, 230, 0.08);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo { height: 26px; width: auto; }
.site-footer p { color: var(--muted-dark); font-size: 0.88rem; }
.footer-links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s, opacity 0.2s;
}
.footer-links a:hover { color: var(--orange); opacity: 1; }
.footer-legal { font-size: 0.85rem !important; }
.footer-legal a { color: var(--cream); text-decoration: none; opacity: 0.85; transition: color 0.2s, opacity 0.2s; }
.footer-legal a:hover { color: var(--orange); opacity: 1; }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  animation: cookie-banner-in 0.35s ease-out;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  max-width: 1160px;
  margin-inline: auto;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--cream);
}
.cookie-banner-text a { color: var(--orange); text-decoration: underline; }
.cookie-banner-text a:hover { color: var(--orange-bright); }
.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
@keyframes cookie-banner-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 560px) {
  .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .cookie-banner-inner { padding: 0.9rem 1rem; }
  .cookie-banner-actions { width: 100%; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

.contact-form {
  margin-top: 3rem;
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
  background: rgba(244, 239, 230, 0.04);
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.field-optional { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
/* Helper text under a field: why we ask, or what "rough is fine" means. */
.field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}
.field-hint[hidden] { display: none; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-family: var(--font-body);
  color: var(--cream);
  background: rgba(22, 17, 15, 0.6);
  border: 1.5px solid rgba(244, 239, 230, 0.15);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  min-height: 48px;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
/* Native select, restyled to match the text inputs with our own chevron. */
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a79e92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px 18px;
}
.field select option { background: #16110f; color: var(--cream); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(244, 239, 230, 0.3); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--orange);
  /* background-color, not the shorthand: the select keeps its chevron image. */
  background-color: rgba(22, 17, 15, 0.85);
  box-shadow: 0 0 0 3px rgba(245, 115, 27, 0.25);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #e5484d; }
.field-error {
  min-height: 1.1em;
  color: #ff8a8f;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}
.field-choices {
  border: none;
  padding: 0;
  margin: 0 0 1.1rem;
}
.field-choices legend {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.6rem;
  padding: 0;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(22, 17, 15, 0.6);
  border: 1.5px solid rgba(244, 239, 230, 0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream);
  margin: 0;
  user-select: none;
}
.chip:hover { border-color: rgba(244, 239, 230, 0.35); }
.chip input[type="checkbox"],
.chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
/* Options that carry a sentence rather than a word: full-width rows, not pills. */
.chip-row.is-stacked { flex-direction: column; align-items: stretch; gap: 0.6rem; }
.chip-row.is-stacked .chip {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  justify-content: flex-start;
  text-align: left;
}
.field-choices[aria-invalid="true"] legend { color: #ff8a8f; }
.chip:has(input:checked) {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.chip:focus-within {
  box-shadow: 0 0 0 3px rgba(245, 115, 27, 0.25);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.hp-field label,
.hp-field input { position: static; }
.form-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
.form-status { color: var(--muted); font-size: 0.92rem; margin: 0; }
/* Confirms which FAQ answer the visitor arrived from, above the form. */
.form-prefill-note {
  margin: 0 0 1.1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(107, 107, 245, 0.1);
  border: 1px solid rgba(107, 107, 245, 0.35);
  font-size: 0.86rem;
  color: var(--cream);
  text-align: left;
}
.form-prefill-note[hidden] { display: none; }

/* What happens after they hit send - its own line under the button. */
.form-note {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.form-status.is-success { color: #7fd18e; }
.form-status.is-error { color: #ff8a8f; }
#cf-submit[disabled] { opacity: 0.6; cursor: not-allowed; }

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .hero-grid, .engage-grid, .work { grid-template-columns: 1fr; }
  .hero-device.is-browser, .hero-device.is-dash { transform: none; }
  .hero-device.is-phone { width: 100%; }
  .hero-stack { max-width: 360px; }
  .work-flip .work-copy { order: 1; }
  .work-flip .work-media { order: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid rgba(244, 239, 230, 0.1);
    padding: 0.6rem 4%;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) { display: block; padding: 0.8rem 0; }
  .nav-links .btn { margin: 0.8rem 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile: dropdowns expand in-place inside the hamburger menu */
  .nav-group { width: 100%; }
  .nav-group-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem 0;
    min-height: 48px;
  }
  .nav-submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: 100%;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0.4rem 0.8rem;
    margin: 0;
    display: none;
    border-left: 2px solid rgba(245, 115, 27, 0.3);
  }
  .nav-group.is-open .nav-submenu {
    display: block;
    transform: none;
  }
  .nav-submenu a { padding: 0.65rem 0.8rem; min-height: 44px; }
  .site-grid { grid-template-columns: 1fr; }
  /* Six client cards one-up ran to 1,735px at 390px wide - just over two
     phone screens of logos between the services and the portfolio. Two-up
     with a shorter logo box and less card chrome holds the same six in about
     a third of that, with nothing hidden behind a swipe. The clients strip is
     proof, and proof nobody scrolls to does not count. */
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; margin-top: 1.8rem; }
  .client { padding: 1.1rem 0.75rem 0.95rem; border-radius: var(--radius); box-shadow: 0 6px 18px rgba(36, 29, 24, 0.07); }
  .client-logo { height: 62px; margin-bottom: 0.75rem; }
  .client-logo img { max-height: 56px; max-width: 100%; }
  .client h3 { font-size: 0.88rem; line-height: 1.25; }
  .client p { font-size: 0.72rem; line-height: 1.35; margin-top: 0.3rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero .stats .stat-value { font-size: 1.15rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.12;
  will-change: transform;
}

.bg-orb-orange { background: radial-gradient(circle at 35% 35%, var(--orange-bright), var(--orange) 60%, transparent 75%); }
.bg-orb-peri { background: radial-gradient(circle at 35% 35%, #8a8aff, var(--peri) 60%, transparent 75%); }

.bg-orb-a { width: 220px; height: 220px; top: 8%; left: 2%; animation: bg-drift-a 34s ease-in-out infinite; }
.bg-orb-b { width: 260px; height: 260px; top: 30%; right: 3%; animation: bg-drift-b 42s ease-in-out infinite; }
.bg-orb-c { width: 200px; height: 200px; top: 62%; left: 25%; animation: bg-drift-c 38s ease-in-out infinite; }
.bg-orb-d { width: 240px; height: 240px; top: 82%; right: 15%; animation: bg-drift-d 46s ease-in-out infinite; }
.bg-orb-e { width: 180px; height: 180px; top: 110%; left: 8%; animation: bg-drift-a 40s ease-in-out infinite reverse; }

@keyframes bg-drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(80px, 60px, 0) scale(1.08); }
}
@keyframes bg-drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-100px, 80px, 0) scale(1.1); }
}
@keyframes bg-drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(60px, -70px, 0) scale(0.95); }
}
@keyframes bg-drift-d {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-70px, -60px, 0) scale(1.05); }
}

@media (max-width: 768px) {
  .bg-orb { filter: blur(40px); opacity: 0.10; }
  .bg-orb-a, .bg-orb-b, .bg-orb-c, .bg-orb-d, .bg-orb-e {
    width: 140px; height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb { animation: none; }
}

/* ---- Free tools grid (homepage) ---- */
.free-tools {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.free-tools .eyebrow { color: var(--orange); }
.free-tools h2 { margin-bottom: 0.5rem; }
.free-tools .section-intro { margin-bottom: 2.2rem; max-width: 55ch; }

.tool-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
}
@media (max-width: 1100px) {
  .tool-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .tool-cards { grid-template-columns: 1fr; }
}
.tool-card-sms .tool-card-visual {
  background: var(--bg-soft);
  border: 1px solid rgba(107, 107, 245, 0.35);
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.4rem, 3vw, 1.8rem);
  background: rgba(244, 239, 230, 0.04);
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s, background 0.2s;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 115, 27, 0.4);
  background: rgba(244, 239, 230, 0.06);
}
.tool-card:focus-visible {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 115, 27, 0.3);
}

.tool-card-visual {
  width: 92px;
  height: 92px;
  margin-bottom: 0.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-card-visual svg { width: 100%; height: 100%; display: block; }
.tool-card-qr { background: var(--cream); }

.tool-card-wa .tool-card-visual {
  background: #0b141a;
}
.tool-card-ussd .tool-card-visual {
  background: var(--card-indigo);
}

.tool-card h3 {
  font-size: 1.15rem;
  color: var(--cream);
}
.tool-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}
.tool-card-cta {
  margin-top: auto;
  padding-top: 0.8rem;
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.tool-card:hover .tool-card-cta { color: var(--orange-bright); }
