:root {
  --bg: #03060c;
  --bg-elevated: #0a101c;
  --bg-soft: #101828;
  --ink: #f4f7fb;
  --ink-muted: rgba(244, 247, 251, 0.68);
  --ink-faint: rgba(244, 247, 251, 0.42);
  --blue: #2f8cff;
  --blue-deep: #1557c7;
  --lime: #a8e63d;
  --lime-deep: #6fbf22;
  --gold: #ffb347;
  --line: rgba(255, 255, 255, 0.1);
  --glow-blue: rgba(47, 140, 255, 0.35);
  --glow-lime: rgba(168, 230, 61, 0.28);
  --radius: 18px;
  --nav-h: 84px;
  --max: 1180px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(47, 140, 255, 0.16), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(168, 230, 61, 0.08), transparent 50%),
    linear-gradient(180deg, #02040a 0%, var(--bg) 40%, #050b16 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Layout —— */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), transparent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ink-muted);
  max-width: 58ch;
  margin-top: 1.25rem;
}

.muted {
  color: var(--ink-muted);
}

/* —— Buttons —— */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--lime) 0%, #c8f26a 45%, var(--blue) 130%);
  color: #06100a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 40px rgba(168, 230, 61, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 22px 50px rgba(47, 140, 255, 0.28);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(168, 230, 61, 0.55);
  background: rgba(168, 230, 61, 0.08);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* —— Nav —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(3, 6, 12, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  display: inline-flex;
  min-height: 2.6rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  height: inherit;
  background: inherit;
  transition: transform 0.3s var(--ease);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* —— Hero with frames —— */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}

.hero-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 6, 12, 0.35) 0%, rgba(3, 6, 12, 0.15) 35%, rgba(3, 6, 12, 0.72) 78%, rgba(3, 6, 12, 0.96) 100%),
    radial-gradient(ellipse 70% 55% at 20% 35%, rgba(3, 6, 12, 0.55), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: calc(var(--nav-h) + 2rem) 0 4.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  opacity: 0;
}

.hero-brand img {
  width: clamp(56px, 8vw, 78px);
  height: auto;
  filter: drop-shadow(0 0 24px var(--glow-blue));
}

.hero-brand strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-brand strong em {
  font-style: normal;
  background: linear-gradient(110deg, var(--lime), #dff58a 40%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  max-width: 12ch;
  opacity: 0;
}

.hero .lead {
  opacity: 0;
  max-width: 42ch;
}

.hero .btn-row {
  opacity: 0;
}

.hero-scroll-hint {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-faint);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scroll-hint .line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--lime), transparent);
  transform-origin: top;
  animation: pulse-line 2.2s var(--ease) infinite;
}

@keyframes pulse-line {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

.frame-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: #02040a;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.frame-loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  width: min(320px, 80vw);
}

.loader-inner img {
  width: 64px;
  margin: 0 auto 1.25rem;
  animation: logo-pulse 1.8s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px var(--glow-blue)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 22px var(--glow-lime)); transform: scale(1.04); }
}

.loader-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 1rem;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--lime));
  transition: width 0.2s ease;
}

.loader-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* —— Sticky frame chapter —— */
.earth-chapter {
  position: relative;
  /* Tall scroll track; sticky viewport inside (no GSAP pin / no DOM rewrite) */
  height: 520vh;
}

.earth-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.earth-pin .hero-canvas-wrap {
  position: absolute;
  inset: 0;
}

.earth-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  pointer-events: none;
  padding: calc(var(--nav-h) + 1rem) 0 2rem;
}

.earth-copy .container {
  pointer-events: none;
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: center;
}

.earth-panel {
  grid-area: 1 / 1;
  width: min(480px, 100%);
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(5, 10, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.earth-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.65rem;
}

.why-on-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-content: end;
  padding: calc(var(--nav-h) + 1rem) 0 3rem;
  pointer-events: none;
  opacity: 0;
}

.why-on-frame-grid {
  pointer-events: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 8, 18, 0.62);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.why-on-frame .lead {
  max-width: 48ch;
}

.why-on-frame .stat {
  background: linear-gradient(90deg, rgba(47, 140, 255, 0.12), transparent 75%);
}

/* —— Why Africa —— */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.stat-stack {
  display: grid;
  gap: 1rem;
}

.stat {
  padding: 1.4rem 1.5rem;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--lime), var(--blue)) 1;
  background: linear-gradient(90deg, rgba(47, 140, 255, 0.08), transparent 70%);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--ink), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* —— Four-in-one —— */
.quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
}

.quad-item {
  background: rgba(8, 14, 26, 0.92);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  position: relative;
  transition: background 0.4s var(--ease);
}

.quad-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 220px at 20% 0%, var(--glow-blue), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.quad-item:hover {
  background: rgba(12, 20, 36, 0.98);
}

.quad-item:hover::before {
  opacity: 1;
}

.quad-item:nth-child(2)::before {
  background: radial-gradient(500px 220px at 80% 0%, var(--glow-lime), transparent 60%);
}

.quad-item:nth-child(3)::before {
  background: radial-gradient(500px 220px at 50% 100%, rgba(255, 179, 71, 0.22), transparent 60%);
}

.quad-num {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin-bottom: auto;
}

.quad-item h3,
.quad-item p {
  position: relative;
}

.quad-item p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* —— Timeline —— */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--lime), transparent);
}

.timeline-step {
  text-align: center;
  padding-top: 0.25rem;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--lime);
  box-shadow: 0 0 0 6px rgba(168, 230, 61, 0.12);
  position: relative;
  z-index: 1;
}

.timeline-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.timeline-step p {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* —— Africa focus / countries —— */
.country-rail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.country-list {
  display: grid;
  gap: 0.35rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.country-list button {
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.country-list button span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.country-list button:hover,
.country-list button.active {
  color: var(--ink);
  border-color: rgba(47, 140, 255, 0.35);
  background: linear-gradient(90deg, rgba(47, 140, 255, 0.12), rgba(168, 230, 61, 0.05));
}

.country-stage {
  min-height: 420px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(47, 140, 255, 0.18), transparent 55%),
    radial-gradient(500px 280px at 10% 80%, rgba(168, 230, 61, 0.12), transparent 50%),
    linear-gradient(160deg, #0b1324, #070d18 70%);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
  overflow: hidden;
}

.country-stage::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  right: -40px;
  bottom: -60px;
  border-radius: 50%;
  border: 1px solid rgba(168, 230, 61, 0.2);
  box-shadow: inset 0 0 60px rgba(47, 140, 255, 0.12);
  pointer-events: none;
}

.country-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}

.meta-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.meta-chip span {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* —— Roadmap —— */
.phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.phase {
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.phase:hover {
  border-color: rgba(168, 230, 61, 0.4);
  transform: translateY(-4px);
}

.phase-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}

.phase p {
  color: var(--ink-muted);
  margin-top: auto;
  font-size: 0.95rem;
}

/* —— Dual engine —— */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.engine {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.engine.profit {
  background: linear-gradient(145deg, rgba(47, 140, 255, 0.16), rgba(8, 14, 26, 0.9) 55%);
}

.engine.foundation {
  background: linear-gradient(145deg, rgba(168, 230, 61, 0.14), rgba(8, 14, 26, 0.9) 55%);
}

.engine ul {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.engine li {
  color: var(--ink-muted);
  padding-left: 1.1rem;
  position: relative;
}

.engine li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.engine.profit li::before {
  background: var(--blue);
}

/* —— Impact metrics —— */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.metric {
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.metric span {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* —— Partners strip —— */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.partner-pill {
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.partner-pill:hover {
  border-color: rgba(47, 140, 255, 0.45);
  color: var(--ink);
  background: rgba(47, 140, 255, 0.08);
}

/* —— CTA band —— */
.cta-band {
  margin: 2rem 0 0;
  padding: clamp(2.5rem, 6vw, 4rem);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(168, 230, 61, 0.25);
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(168, 230, 61, 0.18), transparent 55%),
    radial-gradient(600px 260px at 90% 100%, rgba(47, 140, 255, 0.2), transparent 50%),
    linear-gradient(135deg, #0c1528, #08101c);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(47, 140, 255, 0.2), transparent 55%),
    radial-gradient(600px 300px at 0% 60%, rgba(168, 230, 61, 0.1), transparent 50%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  max-width: 14ch;
}

/* —— Content blocks —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.value {
  padding: 1.5rem;
  border-top: 2px solid var(--lime);
  background: rgba(255, 255, 255, 0.02);
}

.value h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.2rem;
}

.value p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.detail-list {
  display: grid;
  gap: 1.25rem;
}

.detail-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.detail-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--blue);
  letter-spacing: -0.04em;
}

.stack-cards {
  display: grid;
  gap: 1rem;
}

.stack-card {
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.stack-card h3 {
  margin-bottom: 0.5rem;
}

.stack-card p {
  color: var(--ink-muted);
}

/* —— Forms —— */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(47, 140, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.15);
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-aside {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(47, 140, 255, 0.1), rgba(8, 14, 26, 0.8));
}

.contact-aside h3 {
  margin-bottom: 0.75rem;
}

.contact-aside p {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.contact-aside ul {
  display: grid;
  gap: 0.85rem;
}

.contact-aside li {
  color: var(--ink-muted);
  padding-left: 1rem;
  border-left: 2px solid var(--lime);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-brand p {
  color: var(--ink-muted);
  margin-top: 0.75rem;
  font-size: 0.95rem;
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--ink-muted);
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.85rem;
}

/* —— Reveal helpers —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
}

.glow-text {
  background: linear-gradient(110deg, var(--ink) 10%, var(--lime) 55%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.media-frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 30%, rgba(47, 140, 255, 0.25), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(168, 230, 61, 0.18), transparent 40%),
    #0a1220;
  position: relative;
  isolation: isolate;
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.media-frame .caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(3, 6, 12, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
    background: rgba(3, 6, 12, 0.96);
    backdrop-filter: blur(20px);
    gap: 0.35rem;
    z-index: 1;
  }

  body.nav-open .nav-links a {
    font-size: 1.35rem;
    padding: 0.85rem 0.5rem;
    font-family: var(--font-display);
  }

  .quad-grid,
  .phases,
  .timeline,
  .metrics,
  .values,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    display: none;
  }

  .why-grid,
  .why-on-frame-grid,
  .country-rail,
  .dual,
  .cta-band,
  .split,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .why-on-frame {
    align-content: center;
    padding-bottom: 1.5rem;
  }

  .country-list {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .quad-grid,
  .phases,
  .timeline,
  .metrics,
  .values,
  .footer-grid,
  .country-meta,
  .form-grid,
  .country-list,
  .detail-item {
    grid-template-columns: 1fr;
  }

  .hero-scroll-hint {
    display: none;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .cta-band {
    padding: 1.75rem;
  }
}
