/* marketing.css — styles for Uhuru marketing UI kit */
.uhx-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,245,242,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234,231,227,0.6);
}
.uhx-nav-inner {
  max-width: 1280px; margin: 0 auto; height: 56px;
  display: flex; align-items: center; gap: 24px; padding: 0 24px;
}
.uhx-brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--navy-500); }
.uhx-brand img { height: 26px; width: 26px; align-self: center; }
.uhx-brand span { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.uhx-brand em { font-style: normal; font-family: var(--font-display); font-weight: 500; font-size: 12px; color: var(--teal-600); background: var(--teal-50); padding: 2px 7px; border-radius: 999px; letter-spacing: 0.04em; }

.uhx-nav-links { display: flex; gap: 4px; margin-left: 12px; }
.uhx-nav-links a {
  padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--navy-300); text-decoration: none; transition: all 150ms ease;
}
.uhx-nav-links a:hover { color: var(--navy-500); background: rgba(255,255,255,0.5); }
.uhx-nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* Hero */
.uhx-hero {
  position: relative; overflow: hidden;
  background: var(--sand-200);
  padding: 96px 24px 120px;
  text-align: center;
}
.uhx-hero-inner { max-width: 840px; margin: 0 auto; position: relative; z-index: 2; }
.uhx-particles { position: absolute; inset: 0; pointer-events: none; }
.uhx-particles span {
  position: absolute; width: 4px; height: 4px; border-radius: 99px; opacity: 0.5;
  animation: uhx-float 6s ease-in-out infinite;
}
@keyframes uhx-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.uhx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 9999px;
  background: #fff; border: 1px solid var(--sand-400);
  font-size: 12px; font-weight: 600; color: var(--navy-400); letter-spacing: 0.02em;
  box-shadow: var(--shadow-warm-sm);
  margin-bottom: 24px;
}
.uhx-eyebrow .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--teal-500); box-shadow: 0 0 0 3px rgba(0,150,179,0.2); }

.uhx-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(42px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--navy-500); margin: 0 0 20px;
  text-wrap: balance;
}
.uhx-gradient-text {
  background: linear-gradient(90deg, var(--orange-500), var(--teal-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.uhx-sub {
  font-family: var(--font-body); font-size: 19px; line-height: 1.6;
  color: var(--navy-300); max-width: 620px; margin: 0 auto 32px;
}
.uhx-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.uhx-hero-meta { margin-top: 28px; display: flex; gap: 8px; justify-content: center;
  font-size: 12px; color: var(--navy-300); }

/* Bento */
.uhx-bento { max-width: 1280px; margin: 0 auto; padding: 96px 24px; }
.uhx-section-head { max-width: 720px; margin: 0 0 48px; }
.uhx-overline { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 10px; }
.uhx-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy-500); margin: 0; text-wrap: balance; }
.uhx-bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uhx-bento-card {
  background: #fff; border: 1px solid var(--sand-400); border-radius: 20px;
  padding: 28px; position: relative; min-height: 220px;
  display: flex; flex-direction: column; gap: 8px;
  transition: all 200ms ease;
}
.uhx-bento-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.uhx-bento-card.big { grid-column: span 2; min-height: 260px; }
.uhx-bento-card.t-teal { background: linear-gradient(135deg, #fff 60%, var(--teal-50)); }
.uhx-bento-card.t-orange { background: linear-gradient(135deg, #fff 60%, var(--orange-50)); }
.uhx-bento-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-600); }
.uhx-bento-card.t-orange .uhx-bento-eyebrow { color: var(--orange-700); }
.uhx-bento-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; color: var(--navy-500); margin: 6px 0 4px; }
.uhx-bento-copy { font-size: 14.5px; line-height: 1.55; color: var(--navy-300); margin: 0; }
.uhx-bento-arrow { position: absolute; right: 20px; bottom: 20px; width: 32px; height: 32px;
  display: grid; place-items: center; border-radius: 9999px; background: var(--sand-300);
  color: var(--navy-500); font-size: 16px; }
.uhx-bento-card.t-teal .uhx-bento-arrow { background: var(--teal-100); color: var(--teal-700); }
.uhx-bento-card.t-orange .uhx-bento-arrow { background: var(--orange-100); color: var(--orange-700); }

/* CTA */
.uhx-cta {
  background:
    linear-gradient(135deg, rgba(25,50,74,0.95), rgba(13,27,40,0.95)),
    url('../../assets/pattern-teal.png') center/cover;
  color: #fff; padding: 96px 24px; text-align: center;
}
.uhx-cta-inner { max-width: 760px; margin: 0 auto; }

/* Footer */
.uhx-footer { background: var(--navy-600); color: rgba(247,245,242,0.85); padding: 64px 24px 28px; }
.uhx-footer-top { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 2.6fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.uhx-footer-brand .uhx-brand { color: #fff; }
.uhx-footer-brand p { margin: 14px 0 18px; font-size: 14px; line-height: 1.5; color: rgba(247,245,242,0.7); max-width: 300px; }
.uhx-footer-locale { display: flex; gap: 8px; font-size: 12px; color: rgba(247,245,242,0.55); }
.uhx-footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.uhx-footer-cols h4 { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: #fff; margin: 0 0 14px; }
.uhx-footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.uhx-footer-cols a { color: rgba(247,245,242,0.7); font-size: 13.5px; text-decoration: none; }
.uhx-footer-cols a:hover { color: #fff; }
.uhx-footer-bot { max-width: 1280px; margin: 20px auto 0; display: flex; justify-content: space-between; font-size: 12px; color: rgba(247,245,242,0.5); }
.uhx-footer-bot em { font-style: normal; color: var(--orange-500); }

/* Buttons (marketing-scoped, larger variants) */
.btn { font-family: var(--font-body); font-weight: 600; font-size: 14px;
  border-radius: 12px; padding: 10px 18px; border: 0; cursor: pointer;
  transition: all 150ms ease; display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); color: #fff; box-shadow: 0 4px 14px rgba(0,150,179,0.22); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,150,179,0.35); filter: brightness(1.05); }
.btn-secondary { background: transparent; border: 1.5px solid var(--teal-500); color: var(--teal-600); }
.btn-secondary:hover { background: var(--teal-50); }
.btn-accent { background: linear-gradient(135deg, var(--orange-400), var(--orange-600)); color: #fff; box-shadow: 0 4px 14px rgba(255,106,0,0.25); }
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--navy-500); }
.btn-ghost:hover { background: rgba(0,0,0,0.05); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.15); }

/* Scroll cue under hero */
.uhx-scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy-300); opacity: 0.8;
  animation: uhx-cue 2s ease-in-out infinite;
}
@keyframes uhx-cue { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---------------- Africa reveal section ---------------- */
.uhx-africa-section {
  position: relative;
  background: linear-gradient(180deg, var(--sand-200) 0%, #EFEAE3 55%, var(--navy-600) 100%);
  padding: 140px 24px 180px;
  overflow: hidden;
}
.uhx-africa-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(0,150,179,0.08), transparent 55%),
              radial-gradient(ellipse at 75% 70%, rgba(255,106,0,0.06), transparent 50%);
  pointer-events: none;
}
.uhx-africa-stage {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 520px 1fr;
  align-items: center;
  gap: 60px; min-height: 620px;
  perspective: 1200px;
  position: relative;
}
.uhx-africa-continent {
  position: absolute; left: 260px; top: 50%;
  width: 420px; height: 520px;
  margin-left: -210px;
  margin-top:  -260px;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
  z-index: 2;
}
.uhx-africa-continent svg {
  display: block;
  width: 420px; height: 520px;
  filter: drop-shadow(0 24px 60px rgba(0,150,179,0.28))
          drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}
.uhx-africa-glint {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 25%, rgba(255,255,255,0.35), transparent 45%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.uhx-africa-uhuru {
  position: absolute; left: 260px; top: 50%;
  width: 520px; height: 200px;
  margin-left: -260px;
  margin-top:  -100px;
  text-align: center;
  z-index: 1;
  pointer-events: none;
  transform-style: preserve-3d;
}
.uhx-africa-uhuru-over {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 140px; line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(180deg, #FF6A00, #0096B3);
  -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 4px 30px rgba(255,106,0,0.2);
}
.uhx-africa-uhuru-sub {
  margin-top: 8px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(247,245,242,0.65);
}
.uhx-africa-copy {
  grid-column: 2;
  padding-left: 40px;
  position: relative; z-index: 3;
}
.uhx-africa-copy .uhx-h2 { color: var(--sand-200); }
.uhx-africa-copy .uhx-sub { color: rgba(247,245,242,0.72); }
.uhx-africa-copy .uhx-overline { color: var(--orange-500); }
.uhx-africa-bar {
  margin-top: 28px; height: 2px; width: 100%; background: rgba(247,245,242,0.15);
  position: relative; overflow: hidden;
}
.uhx-africa-bar span {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--orange-500), var(--teal-400));
  transition: width 80ms linear;
}
.uhx-africa-bar-meta {
  display: flex; justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(247,245,242,0.55);
}

/* ---------------- Story stack (break apart) ---------------- */
.uhx-story {
  background: var(--navy-600);
  color: #fff;
  height: 320vh; /* tall so we get scroll progress */
  position: relative;
}
.uhx-story-pin {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column;
  padding: 72px 24px 48px;
  overflow: hidden;
}
.uhx-story-pin::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,150,179,0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,106,0,0.10), transparent 50%);
  pointer-events: none;
}
.uhx-story-head {
  position: relative; z-index: 2;
  max-width: 760px; margin: 0 auto; text-align: center;
}
.uhx-story-head .uhx-h2 { color: #fff; transition: all 200ms ease; }
.uhx-story-head .uhx-sub { color: rgba(247,245,242,0.72); }

.uhx-story-stage-wrap {
  position: relative; flex: 1;
  display: grid; place-items: center;
  z-index: 2;
  perspective: 1400px;
  min-height: 420px;
}
.uhx-story-anchor {
  position: relative;
  width: 0; height: 0;   /* a point in space; cards are absolutely positioned around it */
}
.uhx-story-lines {
  position: absolute; left: 50%; top: 50%;
  width: 1200px; height: 520px;
  transform: translate(-50%,-50%);
  pointer-events: none;
  stroke-width: 1.5;
  z-index: 1;
  overflow: visible;
}

.uhx-scard {
  position: absolute; left: 0; top: 0;
  width: 240px;
  padding: 22px; border-radius: 18px;
  background: rgba(247,245,242,0.04);
  border: 1px solid rgba(247,245,242,0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transition: opacity 120ms linear;
  will-change: transform, opacity;
  z-index: 2;
}
.uhx-scard h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin: 8px 0 6px; color: #fff; }
.uhx-scard h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 8px 0 6px; color: #fff; }
.uhx-scard p  { font-size: 13.5px; line-height: 1.5; color: rgba(247,245,242,0.7); margin: 0; }
.uhx-scard-eye {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,245,242,0.5);
}
.uhx-scard.t-teal { background: linear-gradient(135deg, rgba(0,150,179,0.22), rgba(0,150,179,0.06)); border-color: rgba(0,150,179,0.45); }
.uhx-scard.t-teal .uhx-scard-eye { color: var(--teal-400); }
.uhx-scard.t-orange { background: linear-gradient(135deg, rgba(255,106,0,0.22), rgba(255,106,0,0.06)); border-color: rgba(255,106,0,0.45); }
.uhx-scard.t-orange .uhx-scard-eye { color: var(--orange-500); }

.uhx-scard-origin {
  width: 280px;
  background: linear-gradient(135deg, rgba(0,150,179,0.28), rgba(255,106,0,0.18));
  border-color: rgba(247,245,242,0.25);
}
.uhx-scard-origin h3 { font-size: 36px; letter-spacing: -0.03em; }
.uhx-scard-origin p  { font-size: 14px; }
.uhx-scard-pulse {
  position: absolute; inset: -2px; border-radius: 20px; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(0,150,179,0.35);
  animation: uhx-pulse 2.4s ease-out infinite;
}
@keyframes uhx-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,150,179,0.35); }
  80%  { box-shadow: 0 0 0 18px rgba(0,150,179,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,150,179,0); }
}
.uhx-scard-child { width: 200px; }

.uhx-story-steps {
  display: flex; gap: 32px; justify-content: center;
  position: relative; z-index: 2;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247,245,242,0.35);
}
.uhx-story-steps b { color: rgba(247,245,242,0.5); margin-right: 8px; font-weight: 700; }
.uhx-story-steps .on { color: #fff; }
.uhx-story-steps .on b { color: var(--orange-500); }

@media (max-width: 900px) {
  .uhx-africa-stage { grid-template-columns: 1fr; min-height: 480px; }
  .uhx-africa-continent { left: 50%; width: 300px; height: 360px; opacity: 0.35; }
  .uhx-africa-uhuru { left: 50%; }
  .uhx-africa-uhuru-over { font-size: 80px; }
  .uhx-africa-copy { grid-column: 1; padding-left: 0; text-align: center; }
  .uhx-story { height: 280vh; }
}

@media (max-width: 900px) {
  .uhx-nav-links { display: none; }
  .uhx-bento-grid { grid-template-columns: 1fr 1fr; }
  .uhx-bento-card.big { grid-column: span 2; }
  .uhx-footer-top { grid-template-columns: 1fr; gap: 40px; }
  .uhx-footer-cols { grid-template-columns: 1fr 1fr; }
}
