/* =========================================================
   TECH-HUBRIS AFRICA — scroll-driven landing
   Aesthetic: engineered optimism · cinematic dark · SA deep-tech
   Display: Clash Display  ·  Body: General Sans
   ========================================================= */

:root {
  --ink:        #070b0a;
  --ink-2:      #0c1211;
  --panel:      #0f1615;
  --text:       #eef1ec;
  --text-dim:   #aeb7b0;
  --text-mute:  #7d857f;

  /* verb accents */
  --connect:  #3e9dff;   /* Connect — ICT */
  --create:   #f6a623;   /* Create — Innovation */
  --regen:    #34c77b;   /* Regenerate — Green mfg */
  --accent:   var(--regen);   /* rolling accent, set per section */

  --font-display: 'Clash Display', 'Arial Narrow', sans-serif;
  --font-body:    'General Sans', system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);

  /* Owner note: retain a 42% contrast level (grade). This drives the peak opacity of the
     text-readability scrim behind side-aligned copy — text sits on ~42% ink over the video.
     ⚠ Confirm this is the element you meant; change one value to retune globally. */
  --contrast-level: .42;
}

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

html, body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; color: var(--text); }

/* OEM agreement — emphasised inline badge (Connect-blue) */
.oem-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--connect);
  white-space: nowrap;
  padding: .04em .38em;
  border-radius: .34em;
  background: rgba(62, 157, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(62, 157, 255, .40);
}

/* selection */
::selection { background: var(--accent); color: #05100a; }

/* film-grain + vignette atmosphere over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 60;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 55%, rgba(0,0,0,.55) 100%);
  mix-blend-mode: multiply;
}

/* =========================================================
   LOADER
   ========================================================= */
#loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { width: min(440px, 76vw); text-align: left; }
.loader-brand {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(1.4rem, 4vw, 2.1rem);
  letter-spacing: -.02em; line-height: 1; color: var(--text);
  display: flex; flex-direction: column;
}
.loader-brand span { color: var(--accent); }
.loader-track {
  margin: 1.6rem 0 .8rem;
  height: 2px; width: 100%;
  background: rgba(255,255,255,.12); overflow: hidden;
}
#loader-bar { height: 100%; width: 0%; background: var(--accent); transition: width .2s linear; }
.loader-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute);
}
#loader-percent { font-variant-numeric: tabular-nums; color: var(--text-dim); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem clamp(1.2rem, 4vw, 3.2rem);
  mix-blend-mode: normal;
  transition: transform .5s var(--ease);
}
.brand { display: flex; align-items: center; gap: .55rem; }
.brand-logo {
  height: 46px; width: auto; display: block;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.5));
}
.brand-mark {
  width: 14px; height: 14px; position: relative;
  background:
    conic-gradient(from 0deg, var(--connect) 0 33%, var(--create) 33% 66%, var(--regen) 66% 100%);
  border-radius: 3px;
}
.brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.04rem; letter-spacing: -.01em; color: #d8b25a;
}
.brand-name b { font-weight: 600; color: #7fb2e6; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.site-nav a {
  font-size: .82rem; letter-spacing: .02em; color: var(--text-dim);
  transition: color .3s;
}
.site-nav a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid rgba(255,255,255,.22);
  padding: .5rem 1rem; border-radius: 100px; color: var(--text) !important;
  transition: border-color .3s, background .3s, color .3s;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #05100a !important; }

/* =========================================================
   HERO
   ========================================================= */
.hero-standalone {
  position: relative; z-index: 100;
  height: 100vh; min-height: 640px;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem clamp(1.4rem, 6vw, 6rem) 9rem;
  background:
    radial-gradient(80% 60% at 78% 18%, rgba(62,157,255,.10), transparent 60%),
    radial-gradient(70% 60% at 12% 88%, rgba(52,199,123,.12), transparent 60%),
    linear-gradient(180deg, #060a09 0%, #0a100e 60%, #070b0a 100%);
  overflow: hidden;
}
/* animated three.js particle field — landing hero only */
#hero-bg {
  position: absolute; inset: 0; z-index: 0;
  display: block; width: 100%; height: 100%;
}
/* keeps the H1 legible over the moving particles */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,8,10,.90) 0%, rgba(5,8,10,.55) 40%, rgba(5,8,10,.18) 72%, transparent 100%),
    linear-gradient(0deg, rgba(5,8,10,.62) 0%, transparent 30%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 82%);
}
.hero-glow {
  position: absolute; z-index: 0; width: 60vw; height: 60vw; right: -14vw; top: -18vw;
  background: radial-gradient(circle, rgba(62,157,255,.12), transparent 62%);
  filter: blur(20px);
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.section-label {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 1.7rem;
}
.hero-heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 8.4vw, 7.6rem);
  line-height: .94; letter-spacing: -.03em; color: var(--text);
}
/* padding gives descenders (e.g. the y in "Ready.") room inside the reveal mask;
   the equal negative margin keeps the line spacing unchanged */
.hero-heading .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-heading .word { display: inline-block; will-change: transform; }
.hero-heading .accent-c { color: var(--connect); }
.hero-tagline {
  margin-top: 1.8rem; max-width: 40ch;
  font-size: clamp(1rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--text-dim);
}
.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  padding: .95rem 1.7rem; border-radius: 100px;
  /* The CTA button is a GSAP entrance target (it writes `transform`), so the
     hover lift uses the independent `translate` property instead. Transitioning
     `transform` here would fight GSAP for the same value and strand the button
     at its entrance offset — it composes cleanly this way. */
  transition: translate .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.btn:hover { translate: 0 -2px; }
.btn-primary { background: var(--accent); color: #05100a; }
.btn-primary:hover { box-shadow: 0 12px 40px -12px var(--accent); }
.btn-ghost { border: 1px solid rgba(255,255,255,.24); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { padding: 1.15rem 2.2rem; font-size: 1rem; }

.hero-trust {
  position: absolute; bottom: 3.2rem; left: clamp(1.4rem, 6vw, 6rem);
  z-index: 2; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  font-size: .74rem; letter-spacing: .04em; color: var(--text-mute); max-width: 62vw;
}
.hero-trust i { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mute); opacity: .6; }

.scroll-indicator {
  position: absolute; bottom: 3rem; right: clamp(1.4rem, 6vw, 6rem); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
  /* +70% larger + brighter for a more visual scroll cue */
  font-size: 1.16rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim);
  text-shadow: 0 1px 14px rgba(2,5,4,.9);
}
.scroll-arrow {
  width: 2px; height: 71px; background: linear-gradient(var(--accent), transparent);
  box-shadow: 0 0 14px var(--accent);
  animation: scrolldrop 1.8s var(--ease) infinite;
}
@keyframes scrolldrop { 0%{transform:scaleY(0);transform-origin:top} 40%{transform:scaleY(1);transform-origin:top} 60%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* =========================================================
   CANVAS
   ========================================================= */
.canvas-wrap {
  position: fixed; inset: 0; z-index: 1;
  clip-path: none;
}
#canvas { display: block; width: 100%; height: 100%; }
.canvas-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,8,7,.55) 0%, transparent 22%, transparent 68%, rgba(4,8,7,.72) 100%);
}

#dark-overlay {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background: rgba(5,9,8,.92); opacity: 0;
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee-wrap {
  position: fixed; z-index: 4; left: 0; width: max-content;
  pointer-events: none; opacity: 0; white-space: nowrap;
}
/* THA monogram — centred top, settles/fades as you enter the doors */
.marquee-a {
  top: 8vh; left: 50%; right: auto; width: auto;
  transform: translateX(-50%); text-align: center;
}
.marquee-a .marquee-text {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600; letter-spacing: .34em; padding-left: .34em;
  color: var(--text);
  -webkit-text-stroke: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,.55);
}
.marquee-b { bottom: 12vh; }
.marquee-text {
  font-family: var(--font-display); font-weight: 600;
  font-size: 13vw; line-height: 1; letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.30);
}
.marquee-b .marquee-text { -webkit-text-stroke: 1px rgba(255,255,255,.20); }

/* =========================================================
   SCROLL CONTAINER + SECTIONS
   ========================================================= */
/* taller container = more scroll distance per section = slower, more readable journey */
#scroll-container { position: relative; z-index: 5; height: 1400vh; }

/* text overlays cross-fade over the fixed canvas, driven by scroll progress */
.scroll-section {
  position: fixed; inset: 0; z-index: 5;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}

/* side-aligned text zones — canvas holds centre */
.align-left  { justify-content: flex-start; padding: 0 55vw 0 clamp(1.4rem, 6vw, 6rem); }
.align-right { justify-content: flex-end;   padding: 0 clamp(1.4rem, 6vw, 6rem) 0 55vw; }
.align-left .section-inner,
.align-right .section-inner { max-width: 42vw; }
.align-right { text-align: left; }

/* soft directional scrim so text stays readable over video (NOT a card) */
.section-content::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
/* 42% contrast level (var) held at the 34% stop; edge lifts to ~.80 for readability */
.align-left.section-content::before  { background: linear-gradient(90deg,  rgb(4 8 7 / calc(var(--contrast-level) + .38)) 0%, rgb(4 8 7 / var(--contrast-level)) 34%, transparent 60%); }
.align-right.section-content::before { background: linear-gradient(270deg, rgb(4 8 7 / calc(var(--contrast-level) + .38)) 0%, rgb(4 8 7 / var(--contrast-level)) 34%, transparent 60%); }

.section-heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.02; letter-spacing: -.02em;
  color: var(--text); margin-bottom: 1.3rem; text-wrap: balance;
}
.section-body {
  font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.62; color: #e2e7e0;
  max-width: 46ch;
  text-shadow: 0 1px 16px rgba(2,5,4,.92), 0 1px 3px rgba(2,5,4,.85);
}
.section-note {
  margin-top: 1.5rem; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.35rem); color: var(--accent); letter-spacing: -.01em;
}
.section-list {
  list-style: none; margin-top: 1.5rem; display: grid; gap: .7rem;
}
.section-list li {
  position: relative; padding-left: 1.5rem;
  font-size: .98rem; line-height: 1.4; color: var(--text-dim);
}
.section-list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent);
}

/* verb dot in labels */
.verb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* per-section micro-CTA — inherits the frontier accent */
.micro-cta {
  position: relative;
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.5rem;
  font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  letter-spacing: .01em; color: var(--accent);
}
.micro-cta::after { content: "\2192"; transition: transform .3s var(--ease); }
.micro-cta:hover::after { transform: translateX(5px); }

/* tooltip — shown on hover/focus wherever an arrow CTA appears */
.micro-cta[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 30;
  white-space: nowrap; text-transform: none;
  font-family: var(--font-body); font-weight: 500; font-size: .74rem; letter-spacing: .01em;
  color: var(--text); background: rgba(10,16,15,.97);
  border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: .5rem .7rem;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.75);
  opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.micro-cta[data-tooltip]:hover::before,
.micro-cta[data-tooltip]:focus-visible::before { opacity: 1; transform: translateY(0); }

/* CREDENTIALS grid — procurement trust chips */
.cred-grid {
  list-style: none; margin-top: 1.6rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
}
.cred-grid li {
  display: flex; flex-direction: column; gap: .25rem;
  padding: .85rem 1rem; border-radius: 12px;
  background: rgba(10,16,15,.55);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(2px);
}
.cred-grid b {
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--text);
}
.cred-grid span { font-size: .8rem; color: #c7cec6; letter-spacing: .01em; line-height: 1.35; }

/* per-frontier accent binding */
.frontier-connect { --accent: var(--connect); }
.frontier-create  { --accent: var(--create); }
.frontier-regen   { --accent: var(--regen); }

/* REACH */
.reach-list { margin-top: 1.8rem; display: grid; gap: 1rem; }
.reach-item { display: flex; align-items: center; gap: 1.2rem; }
.reach-code {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  width: 3.4rem; height: 3.4rem; flex: 0 0 auto;
  display: grid; place-items: center; border-radius: 12px;
  color: var(--text); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
}
.reach-body { display: flex; flex-direction: column; font-size: .92rem; color: var(--text-mute); line-height: 1.35; }
.reach-body b { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--text); }

/* =========================================================
   STATS
   ========================================================= */
.section-stats {
  flex-direction: column; justify-content: center;
  padding: 0 clamp(1.4rem, 6vw, 6rem); text-align: center;
}
.stats-head { margin-bottom: 3rem; }
.stats-head .section-label { justify-content: center; }
.stats-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -.02em; color: var(--text);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 3rem);
  max-width: 1100px; margin: 0 auto;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-number {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 7vw, 6rem); line-height: 1; letter-spacing: -.03em;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.stat:nth-child(1) .stat-number { color: var(--regen); }
.stat:nth-child(2) .stat-number { color: var(--create); }
.stat:nth-child(3) .stat-number { color: var(--connect); }
.stat:nth-child(4) .stat-number { color: var(--text); }
.stat-suffix { font-family: var(--font-display); font-size: 1rem; color: var(--text-mute); margin-top: .3rem; letter-spacing: .08em; text-transform: uppercase; }
.stat-label { margin-top: .7rem; font-size: .8rem; letter-spacing: .06em; color: var(--text-dim); max-width: 16ch; }

/* =========================================================
   WHY
   ========================================================= */
.why-list { list-style: none; margin-top: 1.6rem; display: grid; gap: .2rem; }
.why-list li {
  display: flex; gap: 1rem; align-items: baseline;
  padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.10);
  font-size: clamp(1rem, 1.4vw, 1.28rem); color: var(--text); line-height: 1.3;
}
.why-list li span {
  font-family: var(--font-display); font-size: .82rem; color: var(--accent);
  letter-spacing: .05em; flex: 0 0 auto;
}

/* =========================================================
   CTA
   ========================================================= */
.section-cta {
  padding: 0 clamp(1.4rem, 6vw, 6rem);
  justify-content: center;
}
.section-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 70% at 50% 50%, rgba(5,9,8,.86) 0%, rgba(5,9,8,.55) 60%, rgba(5,9,8,.35) 100%);
}
.cta-inner { max-width: 760px; text-align: center; }
.section-cta .section-label { justify-content: center; }
.cta-heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 5rem); line-height: .98; letter-spacing: -.03em;
  color: var(--text); margin-bottom: 1.4rem; text-wrap: balance;
}
.cta-body { font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--text-dim); max-width: 48ch; margin: 0 auto 2rem; }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin-bottom: 2.2rem; }
.cta-contacts a {
  font-size: .95rem; color: var(--text-dim); position: relative; padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,.18); transition: color .3s, border-color .3s;
}
.cta-contacts a:hover { color: var(--accent); border-color: var(--accent); }

.site-footer { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.10); }
.foot-line { font-size: .82rem; color: var(--text-dim); margin-bottom: .35rem; }
.foot-line.dim { color: var(--text-mute); }
.foot-legal { margin-top: .6rem; }
.foot-legal a {
  color: var(--text-dim); padding-bottom: 1px;
  border-bottom: 1px solid rgba(255,255,255,.22);
  transition: color .3s, border-color .3s;
}
.foot-legal a:hover { color: var(--accent); border-color: var(--accent); }
.foot-verbs {
  margin-bottom: 1.4rem; font-family: var(--font-display); font-weight: 500;
  font-size: 1.25rem; letter-spacing: .02em;
  background: linear-gradient(90deg, var(--connect), var(--create), var(--regen));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-copyright {
  margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem; letter-spacing: .02em; color: var(--text-mute);
}

/* =========================================================
   RESPONSIVE
   ---------------------------------------------------------
   Every panel here is position:fixed, so on a phone it has to
   live inside one screen: it can never be scrolled into view.
   Two rules follow from that:
     1. Panels are sized in svh (the SMALLEST viewport), so the
        browser's address bar can never clip them, and they do
        not re-centre when that bar hides — no jump mid-scroll.
     2. Panels reserve the fixed header's height as padding, so
        centred content starts below it instead of under it.
   ========================================================= */
@media (max-width: 900px) {
  #scroll-container { height: 900vh; }

  /* compact header — every panel below pays for this height in padding */
  .site-header { padding: .8rem clamp(1rem, 4vw, 1.8rem); }
  .brand-logo { height: 34px; }
  .brand-name { font-size: .95rem; }
  .site-nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: .46rem .95rem; font-size: .78rem; }

  /* pin panels to the smallest viewport so phone chrome never crops them */
  .hero-standalone {
    height: 100vh; height: 100svh;
    min-height: 520px;
    padding: 5rem 1.15rem 4.6rem;
  }
  .scroll-section { bottom: auto; height: 100vh; height: 100svh; }

  /* single column — the canvas no longer holds the centre */
  .align-left, .align-right { padding: 4.8rem 1.15rem 2rem; text-align: left; }
  .align-left .section-inner, .align-right .section-inner { max-width: 100%; }
  .align-left.section-content::before,
  .align-right.section-content::before {
    background: linear-gradient(180deg, rgba(4,8,7,.62), rgba(4,8,7,.86));
  }
  /* The panel itself is svh-tall, but the readability scrim has to reach the
     bottom of the LARGE viewport — otherwise retracting the address bar exposes
     an undimmed strip of video below it, with a hard edge where the gradient stops. */
  .align-left.section-content::before,
  .align-right.section-content::before,
  .section-cta::before { bottom: auto; height: 100vh; min-height: 100%; }
  .section-stats, .section-cta { padding: 4.8rem 1.15rem 2rem; }

  /* type scale — panels must fit one screen, so headings stop scaling with vw */
  .section-label { font-size: .64rem; letter-spacing: .16em; margin-bottom: 1rem; }
  .section-heading { font-size: clamp(1.7rem, 6.6vw, 2.4rem); line-height: 1.06; margin-bottom: 1rem; }
  .section-body { font-size: .96rem; line-height: 1.5; max-width: 100%; }
  .section-list { margin-top: 1.1rem; gap: .55rem; }
  .section-list li { font-size: .92rem; padding-left: 1.3rem; }
  .section-note { margin-top: 1.1rem; font-size: 1.05rem; }
  .micro-cta { margin-top: 1.1rem; font-size: .88rem; }

  /* hero: trust bar joins the flow so it can never land on the buttons */
  .hero-tagline { margin-top: 1.1rem; font-size: 1rem; max-width: 34ch; }
  .hero-actions { margin-top: 1.4rem; gap: .7rem; }
  .btn { padding: .82rem 1.4rem; font-size: .88rem; }
  .hero-trust {
    position: static; margin-top: 1.5rem; max-width: 100%;
    gap: .4rem .7rem; font-size: .68rem;
  }
  .scroll-indicator { bottom: 1.1rem; right: 1.15rem; gap: .7rem; }
  .scroll-arrow { height: 40px; }

  /* credentials read as compact rows, not two cramped wrapping columns */
  .cred-grid { grid-template-columns: 1fr; gap: .5rem; margin-top: 1.2rem; }
  .cred-grid li { padding: .6rem .8rem; gap: .12rem; }
  .cred-grid b { font-size: .9rem; }
  .cred-grid span { font-size: .72rem; line-height: 1.3; }

  .reach-list { margin-top: 1.2rem; gap: .7rem; }
  .reach-item { gap: .9rem; }
  .reach-code { width: 2.7rem; height: 2.7rem; font-size: 1.15rem; }
  .reach-body { font-size: .82rem; }
  .reach-body b { font-size: 1rem; }

  .stats-head { margin-bottom: 1.8rem; }
  .stats-title { font-size: clamp(1.35rem, 5.4vw, 2rem); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .stat-number { font-size: 3rem; }
  .stat-label { margin-top: .4rem; font-size: .72rem; }

  .why-list { margin-top: 1.1rem; }
  .why-list li { font-size: .96rem; padding: .68rem 0; gap: .8rem; }

  .cta-heading { font-size: clamp(1.9rem, 7vw, 2.6rem); margin-bottom: 1rem; }
  .cta-body { font-size: .96rem; line-height: 1.5; margin-bottom: 1.5rem; }
  .cta-contacts { gap: .45rem .9rem; margin-bottom: 1.6rem; }
  .cta-contacts a { font-size: .88rem; }
  .btn-lg { padding: .95rem 1.8rem; font-size: .94rem; }

  .site-footer { margin-top: 2rem; padding-top: 1.3rem; }
  .foot-verbs { margin-bottom: 1rem; font-size: 1.05rem; }
  .foot-line { font-size: .74rem; line-height: 1.35; margin-bottom: .3rem; }
  .foot-legal { margin-top: .5rem; }
  .foot-copyright { margin-top: 1rem; padding-top: .9rem; font-size: .7rem; line-height: 1.35; }

  .marquee-text { font-size: 20vw; }
  .marquee-a .marquee-text { font-size: clamp(1.6rem, 7vw, 2.4rem); }
}

/* Short phone screens — a small handset, or any handset with its address bar
   showing. The contact panel carries the whole footer, so it is the one that
   runs out of room first; everything here buys it back. */
@media (max-width: 900px) and (max-height: 700px) {
  .align-left, .align-right, .section-stats, .section-cta { padding: 4.4rem 1.15rem 1.4rem; }
  .section-heading { font-size: clamp(1.55rem, 6.2vw, 2.1rem); margin-bottom: .8rem; }
  .cta-heading { font-size: clamp(1.7rem, 6.4vw, 2.2rem); margin-bottom: .8rem; }
  .cta-body { margin-bottom: 1.1rem; }
  .cta-contacts { margin-bottom: 1.1rem; }
  .btn-lg { padding: .82rem 1.6rem; }
  .site-footer { margin-top: 1.4rem; padding-top: 1rem; }
  .foot-verbs { margin-bottom: .7rem; font-size: .98rem; }
  .foot-line { font-size: .7rem; margin-bottom: .22rem; }
  .foot-legal { margin-top: .4rem; }
  .foot-copyright { margin-top: .7rem; padding-top: .7rem; font-size: .66rem; }
  .cred-grid li { padding: .5rem .75rem; }
}

/* Smallest handsets (a 320x568-class screen, or any phone whose user has
   scaled text up). Last tier before content would have to be cut. */
@media (max-width: 900px) and (max-height: 620px) {
  /* the header must stay on one line here, or it grows past the clearance
     padding every panel below is reserving for it */
  .site-header { padding: .6rem .9rem; }
  .brand-logo { height: 28px; }
  .brand-name { font-size: .82rem; }
  .nav-cta { padding: .38rem .72rem; font-size: .72rem; }

  .hero-standalone { padding: 4.2rem 1.1rem 3.4rem; min-height: 0; }
  .hero-heading { font-size: 11.4vw; }
  .hero-tagline { margin-top: .8rem; font-size: .9rem; }
  .hero-actions { margin-top: 1rem; }
  .btn { padding: .7rem 1.2rem; font-size: .84rem; }
  .hero-trust { margin-top: 1rem; font-size: .62rem; gap: .3rem .55rem; }
  .scroll-indicator { display: none; }

  .align-left, .align-right, .section-stats, .section-cta { padding: 3.9rem 1.1rem 1rem; }
  .section-label { margin-bottom: .7rem; }
  .section-body { font-size: .9rem; }
  .section-list li { font-size: .86rem; }

  .cta-heading { font-size: 1.5rem; margin-bottom: .6rem; }
  .cta-body { font-size: .88rem; line-height: 1.45; margin-bottom: .9rem; }
  .cta-contacts { margin-bottom: .9rem; gap: .35rem .8rem; }
  .cta-contacts a { font-size: .8rem; }
  .btn-lg { padding: .7rem 1.4rem; font-size: .88rem; }
  .site-footer { margin-top: 1rem; padding-top: .8rem; }
  .foot-verbs { margin-bottom: .5rem; font-size: .9rem; }
  .foot-line { font-size: .66rem; margin-bottom: .18rem; }
  .foot-copyright { margin-top: .5rem; padding-top: .5rem; font-size: .62rem; }
}

@media (max-width: 620px) {
  /* "Africa-Ready." carries a non-breaking hyphen, so it must fit on one line */
  .hero-heading { font-size: 12.6vw; }
  .scroll-indicator span { display: none; }
  /* the stroked marquee sits behind full-screen text panels here — pure noise */
  .marquee-b { display: none; }
}

/* Phone held sideways — height, not width, is the constraint, so this tier
   spends the spare width to buy height back: wider lines wrap less, and the
   lists that were stacked for a narrow screen go back to columns. */
@media (max-height: 560px) and (orientation: landscape) {
  .hero-standalone { padding: 4.2rem 1.15rem 1.4rem; min-height: 0; }
  .hero-heading { font-size: 7.4vh; }
  .hero-tagline { margin-top: .6rem; font-size: .9rem; max-width: 52ch; }
  .hero-actions { margin-top: .8rem; }
  .hero-trust { margin-top: .8rem; font-size: .62rem; }
  .scroll-indicator { display: none; }

  .align-left, .align-right, .section-stats, .section-cta { padding: 3.6rem 1.15rem .8rem; }
  .section-heading { font-size: clamp(1.3rem, 5vh, 1.9rem); margin-bottom: .6rem; }
  .section-label { margin-bottom: .6rem; }
  .section-list { grid-template-columns: repeat(2, 1fr); margin-top: .8rem; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); margin-top: .8rem; }
  .reach-list { grid-template-columns: repeat(3, 1fr); margin-top: .8rem; }
  .stats-head { margin-bottom: 1rem; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-number { font-size: 2.2rem; }
  .why-list li { padding: .45rem 0; font-size: .9rem; }

  .cta-heading { margin-bottom: .4rem; }
  .cta-body { margin-bottom: .6rem; }
  .cta-contacts { margin-bottom: .6rem; }
  .btn-lg { padding: .55rem 1.3rem; }
  .site-footer { margin-top: .7rem; padding-top: .6rem; }
  .foot-verbs { margin-bottom: .4rem; }
  .foot-line { font-size: .62rem; margin-bottom: .12rem; }
  .foot-copyright { margin-top: .4rem; padding-top: .4rem; }
}

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