/* ═══════════════════════════════════════════════════════════
   ACREED INSIGHTS — v3 – Sticky Cards, Parallax, Vibrancy
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0d0914;
  /* Extremely dark aubergine */
  --bg-card: #140e1c;
  --bg-elevated: #1c1426;
  --bg-surface: #231930;
  --text: #ece3d5;
  --text-muted: rgba(236, 227, 213, 0.5);
  --text-dim: rgba(236, 227, 213, 0.25);
  --gold: #c8a86e;
  --gold-bright: #e0c48e;
  --gold-glow: rgba(200, 168, 110, 0.25);
  --gold-dim: rgba(200, 168, 110, 0.1);
  --green: #34d399;
  --green-glow: rgba(52, 211, 153, 0.3);
  --amber: #f59e0b;
  --red: #ef4444;
  --border: rgba(236, 227, 213, 0.06);
  --rule: rgba(236, 227, 213, 0.08);
  --rule-2: rgba(236, 227, 213, 0.16);
  --gold-line: rgba(200, 168, 110, 0.32);
  --border-hover: rgba(200, 168, 110, 0.25);
  --accent-gradient: linear-gradient(135deg, #c8a86e, #e0c48e, #c8a86e);

  --font-display: 'Cormorant', Georgia, serif;
  --font-heading: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Saira', -apple-system, sans-serif;
  --font-sub: 'Inter', -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0, 1);
}

[data-theme="light"] {
  --bg: #f8f6f7;
  /* Warm faint aubergine-tinted white */
  --bg-card: #ffffff;
  --bg-elevated: #f0eee5;
  --bg-surface: #e8e5dc;
  --text: #1a1814;
  --text-muted: rgba(26, 24, 20, 0.65);
  --text-dim: rgba(26, 24, 20, 0.35);
  --gold: #b58f4f;
  --gold-bright: #c8a86e;
  --gold-glow: rgba(181, 143, 79, 0.15);
  --gold-dim: rgba(181, 143, 79, 0.08);
  --green: #059669;
  --green-glow: rgba(5, 150, 105, 0.15);
  --amber: #d97706;
  --border: rgba(43, 27, 61, 0.08);
  --rule: rgba(28, 18, 24, 0.10);
  --rule-2: rgba(28, 18, 24, 0.20);
  --gold-line: rgba(158, 122, 53, 0.32);
  --border-hover: rgba(181, 143, 79, 0.3);
  --accent-gradient: linear-gradient(135deg, #b58f4f, #c8a86e, #b58f4f);
}

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

html {
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  background: var(--bg);
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  cursor: auto;
  overflow-x: clip;
  max-width: 100vw;
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: auto;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

/* ═══ LOADER ═══ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  text-align: center;
}

.loader__shield {
  width: 60px;
  height: 70px;
  margin: 0 auto 24px;
  color: var(--gold);
}

.loader__shield-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.8s var(--ease) forwards;
}

.loader__shield-check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw 0.8s var(--ease) 1.2s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.loader__text {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.loader__word {
  opacity: 0;
  animation: fadeIn 0.5s ease 0.8s forwards;
}

.loader__word--gold {
  opacity: 0;
  color: var(--gold);
  animation: fadeIn 0.5s ease 1.1s forwards;
}

.loader__bar {
  width: 120px;
  height: 2px;
  margin: 20px auto 0;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.loader__bar-fill {
  width: 0;
  height: 100%;
  background: var(--accent-gradient);
  animation: loadBar 2s var(--ease) forwards;
}

@keyframes loadBar {
  to {
    width: 100%;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ═══ CURSOR ═══ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}

@media (max-width: 768px) {
  .cursor {
    display: none;
  }
}

.cursor__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}

.cursor__ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

.cursor.hovering .cursor__ring {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.8);
}

.cursor.hovering .cursor__dot {
  transform: translate(-50%, -50%) scale(0);
}

.cursor__text {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.cursor.has-text .cursor__text {
  opacity: 1;
}

.cursor.has-text .cursor__ring {
  width: 80px;
  height: 80px;
  background: rgba(200, 168, 110, 0.15);
  border-color: var(--gold);
}

/* ═══ GRAIN ═══ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  mix-blend-mode: overlay;
}

/* ═══ GLOBAL SPOTLIGHT ═══ */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center, rgba(200, 168, 110, 0.05) 0%, transparent 50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ═══ SCROLL PROGRESS ═══ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  z-index: 9990;
  background: var(--accent-gradient);
  width: 0%;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  transition: all 0.5s var(--ease);
}

.nav.scrolled {
  padding: 12px 40px;
  background: rgba(10, 8, 16, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(248, 246, 240, 0.9);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.nav__logo img { height: 80px; width: auto; }
.nav__logo img.logo-dark { filter: invert(1) brightness(2); }
[data-theme="light"] .logo-dark { display: none !important; }
[data-theme="light"] .logo-light { display: block !important; }



.nav__center {
  display: flex;
  gap: 40px;
}

@media (max-width: 900px) {
  .nav__center {
    display: none;
  }
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav__link::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.4s var(--ease);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  clip-path: inset(0 0 0 0);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--accent-gradient);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.4s var(--ease);
  box-shadow: 0 0 20px var(--gold-glow);
}

.nav__cta:hover {
  box-shadow: 0 0 40px var(--gold-glow);
}

.nav__cta-arrow {
  transition: transform 0.3s var(--ease-spring);
  display: inline-block;
}

.nav__cta:hover .nav__cta-arrow {
  transform: translateX(4px);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s ease;
  cursor: auto;
  background: transparent;
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
  box-shadow: 0 0 16px var(--gold-glow);
}

.theme-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-spring), opacity 0.4s ease;
}

.moon-icon {
  display: none;
}

[data-theme="light"] .sun-icon {
  display: none;
}

[data-theme="light"] .moon-icon {
  display: block;
}

@media (max-width: 900px) {
  .nav__cta {
    display: none;
  }
  .nav__actions {
    margin-left: auto;
    margin-right: 16px;
  }
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

@media (max-width: 900px) {
  .nav__burger {
    display: flex;
  }
}

.nav__burger span {
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav__burger.open span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.nav__burger.open span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text);
  opacity: 0.7;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.mobile-menu__link:hover {
  opacity: 1;
  color: var(--gold);
}

.mobile-menu__cta {
  display: inline-block;
  padding: 14px 32px;
  margin-top: 16px;
  background: var(--accent-gradient);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
}

/* ═══ ARCHITECTURAL GRID ═══ */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: 80px 80px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
}

/* ═══ HERO (Asymmetrical) ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  opacity: 0.4;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 80% 20%, rgba(200, 168, 110, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: center;
}

/* Greeble (Left Side) */
.hero__greeble {
  position: absolute;
  left: 40px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  border-left: 1px solid var(--border);
  padding-left: 12px;
  height: auto;
  justify-content: flex-end;
  z-index: 10;
}

.greeble__dot {
  width: 4px;
  height: 4px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.greeble__text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* Main Content */
.hero__content {
  max-width: none;
  padding-right: 20px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 32px;
  padding: 8px 16px;
  border: 1px solid var(--green-glow);
  border-radius: 100px;
  background: var(--green-glow);
}

.hero__eyebrow-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__title-line--em em {
  font-style: italic;
  font-weight: 500;
}

.anim-split .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(80px) rotateX(-60deg);
  animation: charReveal 0.8s var(--ease) forwards;
}

@keyframes charReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.anim-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.anim-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__desc {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Geometric Animation (Right Side) */
.hero__geometric-anim {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 400px;
  perspective: 1000px;
}

.africa-wireframe {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(200, 168, 110, 0.15));
  transform-style: preserve-3d;
  animation: floatRotate 20s ease-in-out infinite alternate;
}

@keyframes floatRotate {
  0% {
    transform: rotateY(-10deg) rotateX(5deg) translateY(0) scale(1.3);
  }

  100% {
    transform: rotateY(10deg) rotateX(-5deg) translateY(-20px) scale(1.3);
  }
}

.wire-path {
  fill: none;
  stroke: url(#wire-grad);
  stroke-width: 1.5;
  stroke-dasharray: 5000;
  stroke-dashoffset: 5000;
  animation: drawWire 8s cubic-bezier(0.8, 0, 0.2, 1) infinite alternate;
  opacity: 0.8;
}

/* Stagger the path drawing slightly */
.wire-path:nth-child(2) {
  animation-delay: 1s;
}

.wire-path:nth-child(3) {
  animation-delay: 2s;
}

.wire-path:nth-child(4) {
  animation-delay: 3s;
}

@keyframes drawWire {

  0%,
  15% {
    stroke-dashoffset: 5000;
  }

  85%,
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes labelReveal {
  0%, 25% { opacity: 0; }
  60%, 100% { opacity: 1; }
}

.wire-svg-labels g {
  opacity: 0;
  animation: labelReveal 8s cubic-bezier(0.8, 0, 0.2, 1) infinite alternate;
}
.wire-svg-labels g:nth-child(1) { animation-delay: 0.5s; }
.wire-svg-labels g:nth-child(2) { animation-delay: 1.0s; }
.wire-svg-labels g:nth-child(3) { animation-delay: 1.5s; }
.wire-svg-labels g:nth-child(4) { animation-delay: 2.0s; }

.wire-node {
  fill: var(--bg);
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0;
  animation: pulseNode 3s ease-in-out infinite alternate;
}

.wire-node:nth-of-type(odd) {
  animation-delay: 1s;
}

@keyframes pulseNode {
  0% {
    opacity: 0.2;
    r: 3;
    box-shadow: 0 0 0 transparent;
  }

  100% {
    opacity: 1;
    r: 6;
    box-shadow: 0 0 20px var(--gold);
  }
}

.wire-label {
  position: absolute;
  background: rgba(18, 16, 26, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 2;
  transition: all 0.3s ease;
  animation: floatBob 6s ease-in-out infinite;
}

.wire-label:nth-of-type(even) {
  animation-delay: -3s;
}

.wire-label:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 168, 110, 0.1);
  transform: scale(1.05);
}

.wire-label__dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-glow);
  animation: pulse 2s infinite;
}

@media (max-width: 1100px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero__greeble {
    display: none;
  }

  .hero__geometric-anim {
    min-height: 350px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn__icon {
  display: flex;
  transition: transform 0.3s ease;
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
}

.btn--primary:hover {
  background: transparent;
  color: var(--text);
}

.btn--outline-light {
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn--outline-light:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--ghost {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding: 14px 4px;
  border-radius: 0;
  transition: border-color 0.2s ease, color 0.2s ease, gap 0.2s ease;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 3;
}

.hero__scroll-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  animation: scrollLineX 2s ease-in-out infinite;
}

@keyframes scrollLineX {
  0% {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
  }

  51% {
    transform-origin: right;
  }

  100% {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right;
  }
}


/* ═══ MARQUEE ═══ */
.marquee {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  animation: marqueeScroll 40s linear infinite;
}

.marquee__content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__content span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  padding: 0 20px;
}

.marquee__sep {
  color: var(--gold) !important;
  font-size: 0.5rem !important;
  opacity: 0.6;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ═══ ESSAY / THESIS ═══ */
.essay {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.essay__inner {
  max-width: 1100px; margin: 0 auto; padding: 0 5vw;
}
.essay__micro {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  display: block; margin-bottom: 18px;
}
.essay__h {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1; letter-spacing: -0.012em;
  margin-bottom: 48px;
}
.essay__body {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--text);
}
.essay__body p { margin-bottom: 1em; }
.essay__body p:first-child::first-letter {
  font-size: 4em;
  float: left;
  line-height: 0.85;
  padding: 6px 14px 0 0;
  color: var(--gold);
  font-weight: 500;
}
.essay__body em { font-style: italic; }
.essay__sig {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em;
}

/* ═══ EYEBROW ═══ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: block;
}

/* ═══════════════════════════════════════
   VISION — CHIME-STYLE SHOWCASE
   ═══════════════════════════════════════ */
.vision {
  padding: 140px 40px 100px;
}

.vision__header {
  max-width: 1200px;
  margin: 0 auto 60px;
  text-align: center;
}

.vision__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}

.vision__title em {
  font-style: italic;
  color: var(--gold-bright);
  -webkit-text-fill-color: var(--gold-bright);
}

/* Showcase card */
.vision__showcase {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #111018 0%, #0e1a14 40%, #0f160f 100%);
  min-height: 520px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(200, 168, 110, 0.04);
}

@media (max-width: 900px) {
  .vision__showcase {
    grid-template-columns: 1fr;
  }
}

/* Left column — topics */
.vision__left {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.vision__topic {
  cursor: pointer;
  padding: 16px 0;
  transition: all 0.4s var(--ease);
}

.vision__topic-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s var(--ease);
  line-height: 1.3;
  padding-bottom: 12px;
}

.vision__topic-text {
  position: relative;
  z-index: 2;
}

/* Progress Bar */
.vision__topic-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vision__topic.active .vision__topic-progress {
  opacity: 1;
}

.vision__topic-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  /* Width is controlled by JS */
}

/* Active state */
.vision__topic.active .vision__topic-title {
  color: var(--text);
  font-weight: 600;
  font-style: normal;
  opacity: 1;
}

.vision__topic-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s ease 0.1s, margin 0.4s ease;
  margin-top: 0;
}

.vision__topic.active .vision__topic-body {
  max-height: 250px;
  opacity: 1;
  margin-top: 16px;
}

.vision__topic-body ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vision__topic-body li {
  font-family: var(--font-sub);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.vision__topic-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.vision__topic-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 24px;
  border: 1px solid var(--text);
  border-radius: 100px;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: all 0.3s ease;
}

.vision__topic-link:hover {
  background: var(--text);
  color: var(--bg);
}

/* Right column — Images */
.vision__right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.vision__image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision__img {
  position: absolute;
  max-width: 90%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s var(--ease);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vision__img--active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (max-width: 900px) {
  .vision__left {
    padding: 40px 32px 20px;
  }

  .vision__image-wrap {
    min-height: 300px;
  }
}

/* ═══════════════════════════════════════
   PRODUCTS — CENTERED GRID
   ═══════════════════════════════════════ */
.products {
  padding: 100px 40px;
}

.products__container {
  max-width: 1400px;
  margin: 0 auto;
}

.products__intro {
  margin-bottom: 60px;
  text-align: center;
}

.products__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
}

.products__title em {
  font-style: italic;
  font-weight: 500;
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  .products__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

.products__card {
  border-radius: 24px;
  padding: 48px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.5s ease, transform 0.5s var(--ease);
}

.products__card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(52, 211, 153, 0.04), transparent 60%);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.products__card-glow--pulse {
  background: radial-gradient(ellipse at 30% 20%, rgba(200, 168, 110, 0.06), transparent 60%);
}

.products__card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--gold-glow);
  transform: translateY(-4px);
}

.products__card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.products__card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.products__card-icon {
  width: 48px;
  height: 48px;
  color: var(--green);
  opacity: 0.8;
}

.products__card-icon--pulse {
  color: var(--gold);
}

.products__card-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.products__card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.products__card-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
  margin-top: -8px;
}

.products__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 0;
}

.products__list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.products__list li b {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

/* Pillars */
.products__card-pillars {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  height: 120px;
  margin-bottom: 32px;
  padding-top: 20px;
}

.pillar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.pillar__bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--gold-dim), rgba(200, 168, 110, 0.35));
  height: 0;
  transition: height 1.2s var(--ease);
}

.products__card-pillars.animated .pillar__bar {
  height: var(--h);
}

.pillar span {
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.products__card-grade {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.grade-letter {
  width: 48px;
  height: 56px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.05);
  text-shadow: 0 0 20px var(--green-glow);
}

/* Bridge */
.products__bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  justify-content: center;
  padding: 20px 0;
}

.bridge__line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.bridge__center {
  position: relative;
}

.bridge__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  color: var(--gold);
  opacity: 0.8;
}

.bridge__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.bridge__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 200px;
  line-height: 1.5;
}

.bridge__pulse {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(200, 168, 110, 0.1);
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: bridgePulseRing 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bridgePulseRing {
  0% {
    width: 80px;
    height: 80px;
    opacity: 0.4;
  }

  100% {
    width: 180px;
    height: 180px;
    opacity: 0;
  }
}

/* Pulse signals */
.pulse__signals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.pulse__signal {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.pulse__signal:hover {
  border-color: var(--border-hover);
  background: rgba(200, 168, 110, 0.03);
}

.pulse__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pulse__signal--green .pulse__dot {
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}

.pulse__signal--amber .pulse__dot {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.pulse__label {
  flex: 1;
  color: var(--text-muted);
}

.pulse__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text);
}

.pulse__signal--amber .pulse__value {
  color: var(--amber);
}

.pulse__heartbeat {
  height: 40px;
  overflow: hidden;
  color: var(--gold);
  opacity: 0.5;
}

.pulse__heartbeat svg {
  width: 100%;
  height: 100%;
}

.pulse__heartbeat-line {
  stroke-dasharray: 400;
  animation: heartbeat 2s linear infinite;
}

@keyframes heartbeat {
  0% {
    stroke-dashoffset: 400;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

/* ═══════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════ */
.intelligence {
  padding: 100px 40px;
}

.intelligence__container {
  max-width: 1400px;
  margin: 0 auto;
}

.intelligence__header {
  margin-bottom: 60px;
  text-align: center;
}

.intelligence__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
}

.intelligence__title em {
  font-style: italic;
  font-weight: 500;
}

.dashboard {
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 0 0 1px var(--border), 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 120px rgba(200, 168, 110, 0.05);
  transition: box-shadow 0.5s ease, transform 0.5s var(--ease);
}

.dashboard:hover {
  box-shadow: 0 0 0 1px var(--border-hover), 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 80px var(--gold-glow);
}

.dashboard__chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.dashboard__dots {
  display: flex;
  gap: 6px;
}

.dashboard__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard__dots span:first-child {
  background: #ff5f57;
}

.dashboard__dots span:nth-child(2) {
  background: #ffbd2e;
}

.dashboard__dots span:last-child {
  background: #28c840;
}

.dashboard__url {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  padding: 4px 16px;
  background: var(--bg);
  border-radius: 6px;
  flex: 1;
  max-width: 320px;
}

.dashboard__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 480px;
}

@media (max-width: 900px) {
  .dashboard__body {
    grid-template-columns: 1fr;
  }
}

.dash-sidebar {
  border-right: 1px solid var(--border);
  padding: 20px;
}

@media (max-width: 900px) {
  .dash-sidebar {
    display: none;
  }
}

.dash-sidebar__logo {
  width: 28px;
  height: 28px;
  margin-bottom: 32px;
  overflow: hidden;
}

.dash-sidebar__logo img {
  width: 100%;
  height: auto;
}

.dash-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-sidebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.dash-sidebar__item svg {
  width: 18px;
  height: 18px;
  opacity: 0.5;
}

.dash-sidebar__item--active {
  background: var(--gold-dim);
  color: var(--gold);
}

.dash-sidebar__item--active svg {
  opacity: 1;
  color: var(--gold);
}

.dash-main {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dash-main__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.dash-main__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.dash-main__subtitle {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
  margin-top: 4px;
}

.dash-tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dash-tag--green {
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 700px) {
  .dash-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dash-metric {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.3s ease;
}

.dash-metric:hover {
  border-color: var(--border-hover);
}

.dash-metric__label {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.dash-metric__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
}

.dash-metric__value small {
  font-size: 0.6em;
  color: var(--text-muted);
}

.dash-metric__trend {
  display: block;
  margin-top: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}

.dash-metric__trend--up {
  color: var(--green);
}

.dash-metric__trend--amber {
  color: var(--amber);
}

.dash-chart {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
}

.dash-chart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dash-chart__tabs {
  display: flex;
  gap: 4px;
}

.dash-chart__tab {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dim);
}

.dash-chart__tab--active {
  background: var(--gold-dim);
  color: var(--gold);
}

.dash-chart__area {
  padding: 20px 18px;
  position: relative;
  height: 160px;
}

.dash-chart__svg {
  width: 100%;
  height: 100%;
}

.dash-chart__line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 2.5s var(--ease);
}

.dashboard.animated .dash-chart__line {
  stroke-dashoffset: 0;
}

.dash-chart__fill {
  opacity: 0;
  transition: opacity 1.5s ease 0.5s;
}

.dashboard.animated .dash-chart__fill {
  opacity: 1;
}

.dash-chart__dot {
  opacity: 0;
  transition: opacity 0.3s ease 2s;
}

.dashboard.animated .dash-chart__dot {
  opacity: 1;
}

.dash-chart__value-tag {
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease 2s;
}

.dashboard.animated .dash-chart__value-tag {
  opacity: 1;
}

.dash-table {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.dash-table__header,
.dash-table__row {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr 1fr;
  padding: 10px 18px;
  font-size: 0.75rem;
  align-items: center;
}

.dash-table__header {
  background: var(--bg);
  color: var(--text-dim);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.dash-table__row {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.dash-table__row:last-child {
  border-bottom: none;
}

.dash-table__row:hover {
  background: rgba(200, 168, 110, 0.03);
}

.dash-table__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.dash-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #3d2e44, #5a4762);
  display: grid;
  place-items: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.dash-avatar--2 {
  background: linear-gradient(135deg, #1a3a2a, #2a5a3a);
}

.dash-avatar--3 {
  background: linear-gradient(135deg, #3a2a1a, #5a4a2a);
}

.dash-avatar--4 {
  background: linear-gradient(135deg, #2a2a3a, #3a3a5a);
}

.dash-grade {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
}

.dash-grade--aaa {
  color: var(--green);
}

.dash-grade--aa {
  color: #60d4a0;
}

.dash-grade--a {
  color: var(--amber);
}

.dash-status {
  font-size: 0.7rem;
  font-weight: 500;
}

.dash-status--green {
  color: var(--green);
}

.dash-status--amber {
  color: var(--amber);
}

/* ═══ REGULATORY POSTURE ═══ */
.reg {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.reg__container {
  max-width: 1400px;
  margin: 0 auto;
}
.reg__inner {
  display: grid; 
  grid-template-columns: 1fr 2.5fr; 
  gap: 60px;
  align-items: start;
}
.reg__micro {
  font-family: var(--font-mono); 
  font-size: 10.5px; 
  font-weight: 500;
  letter-spacing: .18em; 
  text-transform: uppercase;
  color: var(--text-muted);
  display: block; 
  margin-bottom: 24px; 
}
.reg__l p {
  font-family: var(--font-display); 
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.35; 
  color: var(--text);
  max-width: 26ch;
}
.reg__r {
  display: grid; 
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--border);
}
.reg__item {
  border-right: 1px solid var(--border);
  padding: 24px 32px;
}
.reg__badge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 11px 15px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.reg__badge-img {
  display: block;
  height: 56px;
  width: auto;
}
.reg__code {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.reg__body { 
  font-size: 13px; 
  color: var(--text-muted); 
  line-height: 1.6; 
}
@media (max-width: 1000px) {
  .reg__inner { grid-template-columns: 1fr; gap: 40px; }
  .reg__r { grid-template-columns: repeat(2, 1fr); border-left: none; border-top: 1px solid var(--border); }
  .reg__item { border-left: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .reg__item:nth-child(even) { border-right: none; }
  .reg__item:nth-child(odd) { border-left: none; }
}
@media (max-width: 600px) {
  .reg__r { grid-template-columns: 1fr; }
  .reg__item { border: none !important; border-bottom: 1px solid var(--border) !important; padding: 24px 0; }
  .reg__item:last-child { border-bottom: none !important; }
}

/* ═══ ECOSYSTEM ═══ */
.ecosystem {
  padding: 100px 40px;
}

.ecosystem__container {
  max-width: 1400px;
  margin: 0 auto;
}

.ecosystem__header {
  margin-bottom: 60px;
  text-align: center;
}

.ecosystem__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
}

.ecosystem__title em {
  font-style: italic;
  font-weight: 500;
}

.ecosystem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 900px) {
  .ecosystem__grid {
    grid-template-columns: 1fr;
  }
}

.eco-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .35s ease, transform .35s ease, box-shadow .5s ease;
  border-radius: 0;
}
.eco-panel:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--gold-glow);
}
.eco-panel__photo {
  position: relative; height: 320px; overflow: hidden;
}
.eco-panel__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) contrast(1.02) brightness(.92);
  transition: transform 1.2s var(--ease);
}
.eco-panel:hover .eco-panel__photo img {
  transform: scale(1.04);
}
.eco-panel__photo::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(13,9,20,0) 50%, rgba(13,9,20,0.6) 100%);
}
.eco-panel__photo-tag {
  position:absolute; left: 28px; bottom: 22px;
  font-family: var(--font-display); font-style: italic;
  color: #f3eee5; font-size: 19px;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.eco-panel__body {
  padding: 32px 36px 40px;
}
.eco-panel__micro {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  display: block; margin-bottom: 14px;
}
.eco-panel__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.08; letter-spacing: -0.012em;
  margin-bottom: 18px;
}
.eco-panel__title em {
  font-style: italic; font-weight: 500;
}
.eco-panel__desc {
  font-size: 15px; color: var(--text-muted); line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 24px;
}
.eco-panel__list {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
  padding-left: 0;
}
.eco-panel__list li {
  font-size: 13px; color: var(--text-muted);
  display: grid; grid-template-columns: 18px 1fr; gap: 12px;
}
.eco-panel__list li::before {
  content: "—"; color: var(--gold);
  font-family: var(--font-display); font-style: italic;
}

/* ═══ FEATURES — BENTO GRID ═══ */
.features {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}

.features__container {
  max-width: 1200px;
  margin: 0 auto;
}

.features__header {
  margin-bottom: 60px;
  text-align: center;
}

.features__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
}

.features__title em {
  font-style: italic;
  font-weight: 500;
}

.features__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 20px;
}

@media (max-width: 900px) {
  .features__bento {
    grid-template-columns: 1fr;
  }
}

.feat {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
}

.feat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(200, 168, 110, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.feat:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--gold-glow);
  transform: translateY(-4px);
}

.feat:hover::before {
  opacity: 1;
}

.feat__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.feat__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(1) brightness(0.6);
  transition: transform 0.8s var(--ease), opacity 0.4s ease, filter 0.5s ease;
}

.feat:hover .feat__bg img {
  transform: scale(1.05);
  opacity: 0.35;
  filter: grayscale(0.5) brightness(0.9);
}

.feat--span-2 {
  grid-column: span 2;
}

.feat--tall {
  grid-row: span 2;
}

@media (max-width: 900px) {
  .feat--span-2 {
    grid-column: span 1;
  }

  .feat--tall {
    grid-row: span 1;
    min-height: 280px;
  }
}

.feat__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(200, 168, 110, 0.12);
  margin-bottom: 32px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 3;
}

.feat__icon svg {
  width: 22px;
  height: 22px;
}

.feat:hover .feat__icon {
  background: rgba(200, 168, 110, 0.15);
  box-shadow: 0 0 20px var(--gold-glow);
}

.feat__content {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.feat__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feat__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feat--span-2 .feat__desc {
  max-width: 400px;
}

/* ═══ CTA ═══ */
.cta {
  padding: 140px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
}

.cta__container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 28px;
}

.cta__title-line {
  display: block;
}

.cta__title-line--em em {
  font-style: italic;
  font-weight: 500;
}

.cta__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta__form {
  max-width: 640px;
  margin: 0 auto;
}

.cta__form-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 15px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cta__input::placeholder {
  color: var(--text-muted);
}

.cta__input:focus {
  outline: none;
  border-color: var(--gold, #c8a86e);
  background: rgba(200, 168, 110, 0.06);
}

.cta__form .btn {
  flex: 0 0 auto;
}

.cta__form-status {
  min-height: 1.3em;
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.cta__form-status[data-state="ok"] {
  color: var(--gold, #c8a86e);
}

.cta__form-status[data-state="error"] {
  color: #ef6961;
}

.cta__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
}

.cta__consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--gold, #c8a86e);
  cursor: pointer;
}

.cta__consent a,
.cta__consent-link {
  color: var(--gold, #c8a86e);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cta__consent a:hover,
.cta__consent-link:hover {
  color: var(--gold-bright, #e0c48e);
}

/* ═══ PRIVACY POP-UP ═══ */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal__scrim {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(6, 4, 10, 0.68);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.privacy-modal__card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-card, #181222);
  border: 1px solid var(--border, rgba(200, 168, 110, 0.32));
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: privacy-modal-in 0.18s ease-out;
}

@keyframes privacy-modal-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.privacy-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.privacy-modal__eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold, #c8a86e);
}

.privacy-modal__close {
  background: none;
  border: 1px solid var(--border, rgba(200, 168, 110, 0.32));
  border-radius: 8px;
  width: 30px;
  height: 30px;
  color: var(--text-muted, #a99fbd);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.privacy-modal__close:hover {
  color: var(--text, #ece3d5);
  border-color: var(--gold, #c8a86e);
}

.privacy-modal__title {
  font-family: "Cormorant", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--text, #ece3d5);
  margin: 10px 24px 0;
}

.privacy-modal__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 24px 26px;
}

.wpn__lede {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted, #a99fbd);
  margin: 0 0 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border, rgba(200, 168, 110, 0.2));
}

.wpn__sec {
  margin-top: 20px;
}

.wpn__sec-h {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold, #c8a86e);
  margin: 0 0 6px;
}

.wpn__sec-p {
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--text-muted, #a99fbd);
  margin: 0;
}

.wpn__sec-p a {
  color: var(--gold, #c8a86e);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wpn__sec-p a:hover {
  color: var(--gold-bright, #e0c48e);
}

.cta__form.is-done .cta__form-row,
.cta__form.is-done .cta__consent {
  display: none;
}

@media (max-width: 560px) {
  .cta__input,
  .cta__form .btn {
    flex: 1 1 100%;
  }
}

/* ═══ FOOTER ═══ */
.footer {
  padding: 80px 40px 40px;
  border-top: 1px solid var(--border);
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 500px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

.footer__logo { height: 80px; width: auto; opacity: 0.8; }
.footer__logo.logo-dark { filter: invert(1) brightness(2); }

.footer__desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col h4 {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

@media (max-width: 600px) {
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
  }
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.3s ease;
}

.footer__socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
  box-shadow: 0 0 16px var(--gold-glow);
}

.footer__socials svg {
  width: 16px;
  height: 16px;
}

/* ═══ SCROLL REVEAL ═══ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.features__grid .scroll-reveal:nth-child(1) {
  transition-delay: 0s;
}

.features__grid .scroll-reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.features__grid .scroll-reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.features__grid .scroll-reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.features__grid .scroll-reveal:nth-child(5) {
  transition-delay: 0.32s;
}

.features__grid .scroll-reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* Magnetic buttons */
.magnetic {
  transition: transform 0.3s var(--ease);
}

/* Zoom on scroll */
[data-zoom] {
  transition: transform 0.5s var(--ease), opacity 1s var(--ease);
}

/* ═══ LIGHT MODE OVERRIDES ═══ */
[data-theme="light"] body {
  background-image:
    radial-gradient(circle at 15% 50%, rgba(181, 143, 79, 0.15), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(5, 150, 105, 0.12), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(217, 119, 6, 0.12), transparent 50%);
  background-attachment: fixed;
}

[data-theme="light"] .hero__gradient {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(181, 143, 79, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(5, 150, 105, 0.2) 0%, transparent 40%);
  opacity: 1;
}

[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(to right, rgba(43, 27, 61, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 27, 61, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .dashboard {
  box-shadow: 0 0 0 1px var(--border), 0 30px 80px rgba(0, 0, 0, 0.05), 0 0 120px rgba(181, 143, 79, 0.05);
}

[data-theme="light"] .dashboard:hover {
  box-shadow: 0 0 0 1px var(--border-hover), 0 40px 100px rgba(0, 0, 0, 0.08), 0 0 80px var(--gold-glow);
}

[data-theme="light"] .eco-panel,
[data-theme="light"] .products__card {
  background: rgba(248, 246, 247, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

[data-theme="light"] .eco-panel__overlay {
  background: linear-gradient(to bottom, transparent 10%, rgba(248, 246, 247, 0.85) 90%);
}

[data-theme="light"] .eco-panel {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05), 0 0 60px rgba(181, 143, 79, 0.04);
}

[data-theme="light"] .eco-panel__image img {
  filter: brightness(1) saturate(1);
  opacity: 0.8;
}

[data-theme="light"] .eco-panel:hover .eco-panel__image img {
  filter: brightness(1.05) saturate(1.1);
  opacity: 0.9;
}

[data-theme="light"] .feat:hover,
[data-theme="light"] .products__card:hover,
[data-theme="light"] .eco-panel:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05), 0 0 40px var(--gold-glow);
}

[data-theme="light"] .feat__content,
[data-theme="light"] .hero__title {
  text-shadow: none;
}

[data-theme="light"] .feat__bg img {
  filter: grayscale(1) brightness(1.2) invert(1);
  opacity: 0.05;
}

[data-theme="light"] .feat:hover .feat__bg img {
  filter: grayscale(0.5) brightness(1.2) invert(1);
  opacity: 0.1;
}

[data-theme="light"] .vision__showcase {
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}

[data-theme="light"] .vision__img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .grade-letter {
  text-shadow: none;
}



/* ═══ MOBILE OVERRIDES ═══ */
@media (max-width: 1100px) {
  .hero {
    padding-top: 140px;
    height: auto;
    min-height: auto;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .hero__content {
    padding-right: 0;
    text-align: center;
    margin: 0 auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__title {
    font-size: clamp(2.8rem, 8vw, 4rem);
  }

  .hero__greeble {
    display: none;
  }

  /* Scale down the SVG map on mobile to fit the screen */
  .hero__geometric-anim {
    min-height: 300px;
    margin-bottom: 40px;
  }

  .africa-wireframe {
    transform: scale(1);
    animation: floatRotateMobile 20s ease-in-out infinite alternate;
  }

  @keyframes floatRotateMobile {
    0% {
      transform: rotateY(-5deg) rotateX(2deg) translateY(0) scale(1);
    }

    100% {
      transform: rotateY(5deg) rotateX(-2deg) translateY(-10px) scale(1);
    }
  }
}


/* ▓▓▓ MISSING V3 UTILITIES ▓▓▓ */
.container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.micro {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim);
}
.micro--gold { color: var(--gold); }
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
.display em { font-style: italic; font-weight: 500; }

/* ▓▓▓ JOURNEY (FROM V3) ▓▓▓ */
/* ─── JOURNEY (centerpiece) ─── */
.journey{
  padding: 140px 0 120px;
  position: relative;
}
.journey__hdr{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end;
  margin-bottom: 64px;
}
.journey__hdr-l .micro{ display:block; margin-bottom: 20px; }
.journey__hdr-l h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.journey__hdr-r{
  font-size: 16px; color: var(--text-muted); line-height: 1.65;
  max-width: 52ch;
}
@media (max-width: 980px){ .journey__hdr{ grid-template-columns: 1fr; gap: 24px; } }

/* timeline */
.timeline{
  position: relative;
  margin-bottom: 32px;
}
.timeline__rail{
  position: absolute;
  left: 10%; right: 10%; top: 18px;
  height: 1px;
  background: var(--border-hover);
  z-index: 1;
}
.timeline__rail-fill{
  position: absolute; left: 0; top: 0; height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--gold), var(--gold-bright));
  box-shadow: 0 0 12px var(--gold-glow);
  transition: width 2s var(--ease-2);
}
.timeline__pulse{
  position: absolute; top: 50%; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold), 0 0 32px var(--gold-glow);
  transform: translate(-50%, -50%);
  transition: left 2s var(--ease-2);
}
.timeline__chapters{
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.chapter{
  display:flex; flex-direction: column; align-items:center;
  gap: 6px;
  padding-top: 38px;
  text-align: center;
  transition: opacity .3s ease;
  opacity: 0.4;
  position: relative;
  cursor: pointer;
}
.chapter::before{
  content: ""; position: absolute; top: 12px; left: 50%;
  width: 14px; height: 14px;
  background: var(--bg);
  border: 1.5px solid var(--border-hover);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: all .3s ease;
}
.chapter.passed{ opacity: 1; }
.chapter.passed::before{
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
}
.chapter.active{ opacity: 1; }
.chapter.active::before{
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 6px rgba(200,168,110,0.15), 0 0 24px var(--gold);
  transform: translateX(-50%) scale(1.15);
}
.chapter__num{
  font-family: var(--font-display); font-style: italic;
  font-size: 13px; color: var(--text-dim);
}
.chapter__label{
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}
.chapter__sub{
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim);
}
/* Chapters are clickable — jump straight to any stage. Brighten on hover/focus
   (and light the dot) so it's clear they're navigable, not passive markers. */
.chapter:hover,
.chapter:focus-visible{ opacity: 0.9; }
.chapter:hover::before{
  border-color: var(--gold);
  box-shadow: 0 0 14px var(--gold-glow);
}
.chapter:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 10px;
}
.timeline__hint{
  text-align: center;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* stage screen */
.stage{
  border: 1px solid var(--border-hover);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.stage__chrome{
  display:flex; align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  gap: 24px;
}
.stage__dots{ display:flex; gap: 6px; }
.stage__dots span{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-hover);
}
.stage__where{
  font-size: 11.5px; letter-spacing: .12em;
  color: var(--text-dim);
  text-transform: lowercase;
  font-variant-caps: all-small-caps;
  flex: 1;
  text-align: center;
}
.stage__borrower{
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--text-muted);
}
.stage__borrower .micro{ font-size: 9.5px; }
@media (max-width: 720px){
  .stage__where{ display:none; }
}

.stage__panels{
  position: relative;
  min-height: 520px;
}
.panel{
  position: absolute; inset: 0;
  padding: 56px 56px 48px;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.panel.active{
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.panel__l{ max-width: 460px; }
.panel__l .micro{ display:block; margin-bottom: 16px; }
.panel__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin-bottom: 18px;
}
.panel__title em{ font-style:italic; font-weight: 500; }
.panel__desc{
  font-size: 15px; color: var(--text-muted); line-height: 1.65;
  max-width: 44ch;
}
.panel__r{
  position: relative;
}
.panel__r--center{
  display:flex; flex-direction:column; align-items:flex-start; gap: 28px;
}
@media (max-width: 900px){
  .panel{ grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .panel__r--center{ align-items:flex-start; }
  .stage__panels{ min-height: 720px; }
}

/* — Stage 1: PILLARS — */
.pillars{
  display:grid; grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  height: 220px;
  margin-bottom: 28px;
  padding: 24px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.pillar{
  position: relative;
  display:flex; flex-direction:column; align-items:center;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
}
.pillar__bar{
  width: 100%;
  height: 0;
  background: linear-gradient(to top, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 1px;
  transition: height 1.2s var(--ease-2);
  position: relative;
  box-shadow: 0 0 12px var(--gold-glow);
}
.panel[data-panel="0"].active .pillar__bar{ height: var(--target); }
.pillar__name{
  font-size: 10px; letter-spacing: .04em; color: var(--text-dim);
  text-align:center; line-height: 1.1;
  position: absolute; bottom: -22px;
  white-space: nowrap;
}
.pillar__pct{
  position: absolute; top: -22px;
  font-family: var(--font-display); font-style: italic;
  font-size: 13px; color: var(--text);
  opacity: 0;
  transition: opacity .4s ease .8s;
}
.panel[data-panel="0"].active .pillar__pct{ opacity: 1; }

.grade-card{
  display:flex; flex-direction:column; gap: 4px;
  padding: 24px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-line);
  width: fit-content;
  margin-top: 24px;
}
.grade-card .micro{ display:block; margin-bottom: 6px; }
.grade-card__letters{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  display: flex; align-items: baseline;
}
.grade-card__letters span:last-child{ font-size: 32px; color: var(--gold-bright); }
.grade-card__label{
  font-size: 12px; color: var(--gold);
  letter-spacing: .02em; margin-top: 2px;
}
.grade-card__meta{
  font-size: 11px; color: var(--text-dim); letter-spacing: .03em;
  margin-top: 4px;
}

/* — Stage 2: AMOUNT — */
.amount{
  display:flex; align-items: baseline; gap: 4px;
  font-family: var(--font-display); font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.amount__currency{ font-size: clamp(40px, 6vw, 80px); }
.amount__value{    font-size: clamp(72px, 11vw, 160px); letter-spacing: -0.03em; }
.amount__unit{     font-size: clamp(32px, 4vw, 56px); color: var(--text); }
.amount__lender{
  display:flex; flex-direction:column; gap: 2px;
  padding-top: 18px; border-top: 1px solid var(--border);
  width: 100%;
}
.amount__lender-name{
  font-family: var(--font-display); font-style: italic;
  font-size: 22px; color: var(--text);
}
.amount__schedule{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.amount__schedule > div{
  display:flex; flex-direction:column; gap: 2px;
}
.amount__schedule b{
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  color: var(--text); line-height: 1.1;
}

/* — Stage 3: BRIDGE FLOW — */
.bridge-flow{
  display:grid; grid-template-columns: 1fr auto 1fr;
  gap: 0; align-items: stretch;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 28px;
  min-height: 320px;
}
.bridge-flow__col{
  display:flex; flex-direction:column; gap: 10px;
  padding: 0 24px;
}
.bridge-flow__col .micro{ margin-bottom: 12px; display:block; }
.bridge-flow__rail{
  width: 80px; position: relative;
  display:grid; place-items:center;
}
.bridge-flow__rail svg{ height: 100%; width: 100%; }
.bridge-flow__rail::after{
  content:""; position:absolute; top: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold), 0 0 24px var(--gold-glow);
  opacity: 0;
}
.panel[data-panel="2"].active .bridge-flow__rail::after{
  animation: railFlow 1.2s linear infinite;
  opacity: 1;
}
@keyframes railFlow{
  0%   { top: 0%;   opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.token{
  padding: 12px 16px;
  font-size: 13px; font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--gold-line);
  color: var(--text);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .35s ease, transform .35s ease;
}
.token::before{
  content:"✓"; color: var(--gold); margin-right: 8px;
}
.panel[data-panel="2"].active .token{ opacity: 1; transform: translateX(0); }
.panel[data-panel="2"].active .token:nth-child(2){ transition-delay: 0.1s; }
.panel[data-panel="2"].active .token:nth-child(3){ transition-delay: 0.2s; }
.panel[data-panel="2"].active .token:nth-child(4){ transition-delay: 0.3s; }
.panel[data-panel="2"].active .token:nth-child(5){ transition-delay: 0.4s; }
.panel[data-panel="2"].active .token:nth-child(6){ transition-delay: 0.5s; }
.panel[data-panel="2"].active .token:nth-child(7){ transition-delay: 0.6s; }

.token-ghost{
  padding: 12px 16px;
  font-size: 13px;
  background: transparent;
  border: 1px dashed var(--border-hover);
  color: var(--text-dim);
  letter-spacing: .3em;
  text-align:center;
  transition: all .4s ease;
}
.panel[data-panel="2"].active .token-ghost{
  background: var(--bg-card);
  border-style: solid;
  border-color: var(--gold-line);
  color: var(--text);
  letter-spacing: 0;
}
.panel[data-panel="2"].active .token-ghost[data-recv="cac"]  { transition-delay: .9s; }
.panel[data-panel="2"].active .token-ghost[data-recv="firs"] { transition-delay: 1.0s; }
.panel[data-panel="2"].active .token-ghost[data-recv="nin"]  { transition-delay: 1.1s; }
.panel[data-panel="2"].active .token-ghost[data-recv="bank"] { transition-delay: 1.2s; }
.panel[data-panel="2"].active .token-ghost[data-recv="cov"]  { transition-delay: 1.3s; }
.panel[data-panel="2"].active .token-ghost[data-recv="dscr"] { transition-delay: 1.4s; }
.panel[data-panel="2"].active .token-ghost[data-recv="cac"]::before  { content: "→ CAC verified"; }
.panel[data-panel="2"].active .token-ghost[data-recv="firs"]::before { content: "→ FIRS clean"; }
.panel[data-panel="2"].active .token-ghost[data-recv="nin"]::before  { content: "→ NIN matched"; }
.panel[data-panel="2"].active .token-ghost[data-recv="bank"]::before { content: "→ Bank linked"; }
.panel[data-panel="2"].active .token-ghost[data-recv="cov"]::before  { content: "→ Covenant book"; }
.panel[data-panel="2"].active .token-ghost[data-recv="dscr"]::before { content: "→ DSCR baseline"; }
.token-ghost{ position: relative; }
.token-ghost::before{ font-size: 13px; color: var(--gold); }

/* — Stage 4: HEARTBEAT — */
.hb-card{
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 24px;
}
.hb-card__head{
  display:flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.hb-status{
  font-size: 11px; padding: 4px 10px;
  border: 1px solid;
  letter-spacing: .04em;
}
.hb-status--green{ color: var(--green); border-color: rgba(52,211,153,0.4); background: rgba(52,211,153,0.06); }
.hb{
  width: 100%; height: 110px; margin-bottom: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(52,211,153,0.04) 50%, transparent 100%);
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}
.hb__line{
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  filter: drop-shadow(0 0 6px var(--green-glow));
}
.panel[data-panel="3"].active .hb__line{
  animation: hbDraw 4s linear infinite;
}
@keyframes hbDraw{
  0%   { stroke-dashoffset: 3000; }
  100% { stroke-dashoffset: 0; }
}
.hb-card__metrics{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hb-card__metrics > div{ display: flex; flex-direction: column; gap: 2px; }
.hb-card__metrics b{
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  line-height: 1;
}
.hb-card__metrics b.green{ color: var(--green); }
.hb-card__metrics b.amber{ color: var(--amber); }
.hb-card__metrics small{ font-size: 10.5px; color: var(--text-dim); }

/* — Stage 5: SUCCESS — */
.ascend{
  display:flex; align-items: baseline; gap: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(60px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.ascend__from{ color: var(--text-dim); }
.ascend__arrow{ color: var(--gold); font-size: 0.6em; }
.ascend__to{ color: var(--gold); }
.panel[data-panel="4"].active .ascend__to{
  animation: ascendGlow 1.5s ease forwards;
}
@keyframes ascendGlow{
  0%   { opacity: 0; transform: translateY(20px); text-shadow: 0 0 0 var(--gold-glow); }
  100% { opacity: 1; transform: translateY(0); text-shadow: 0 0 30px var(--gold-glow); }
}

.credential-card{
  display:flex; gap: 24px; align-items: flex-start;
  padding: 24px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-line);
  width: 100%;
  max-width: 540px;
}
.credential-card__shield{
  width: 60px; height: 70px;
  color: var(--gold); flex-shrink: 0;
}
.credential-card__shield svg{ width: 100%; height: 100%; }
.credential-card__body{ flex:1; }
.credential-card__title{
  font-family: var(--font-display); font-size: 20px; font-weight: 500;
  margin-top: 6px; margin-bottom: 14px;
  color: var(--text);
}
.credential-card__list{
  display:flex; flex-direction:column; gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-muted);
}
.credential-card__list > div{ display:flex; justify-content: space-between; gap: 12px; }
.credential-card__list span{ color: var(--text-dim); }
.credential-card__list b{ font-weight: 500; color: var(--text); }
.credential-card__list .ghost span,
.credential-card__list .ghost b{ color: var(--text-dim); }

.next-up{
  display:flex; flex-direction:column; gap: 2px;
  padding: 14px 20px;
  border-left: 2px solid var(--gold);
  background: var(--gold-dim);
}
.next-up__name{
  font-family: var(--font-display); font-style: italic;
  font-size: 17px; color: var(--text);
}

/* stage controls */
.stage__controls{
  display:flex; align-items: center; gap: 24px;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.play{
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-hover);
  display:grid; place-items: center;
  color: var(--text);
  transition: all .25s ease;
}
.play:hover{ border-color: var(--gold); color: var(--gold); }
.play svg{ width: 12px; height: 12px; }
.play .pause-i{ display:none; }
.play.playing .play-i{ display:none; }
.play.playing .pause-i{ display:block; }
.stage__caption{
  flex: 1;
  font-family: var(--font-display); font-style: italic;
  font-size: 15px; color: var(--text-muted);
}
.stage__cycle{
  display:flex; align-items: baseline; gap: 6px;
  font-size: 13px; color: var(--text-dim);
}
.stage__cycle b{
  font-family: var(--font-display); font-size: 22px; color: var(--gold);
  font-weight: 500;
}
.stage__cycle .of{ color: var(--text-dim); font-size: 11px; }
/* Clickable cycle pips — jump straight to any of the four funding cycles. Same
   size whatever the state (no layout shift as the tour advances); the active
   cycle is gold, the rest dim, and any brightens on hover/focus. */
.cycle-dot{
  font-family: var(--font-display); font-size: 16px; font-weight: 500;
  color: var(--text-dim);
  background: none; border: none; padding: 2px 5px;
  cursor: pointer; opacity: 0.5;
  transition: color .25s ease, opacity .25s ease;
}
.cycle-dot:hover,
.cycle-dot:focus-visible{ opacity: 0.9; color: var(--text); }
.cycle-dot:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.cycle-dot.active{ opacity: 1; color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   GLOBAL MOBILE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* 1. Global Padding & Spacing */
  .hero { padding: 120px 20px 40px !important; min-height: auto; }
  .ecosystem, .products, .features, .intelligence, .journey, .stack, .cta {
    padding: 60px 20px !important;
  }
  .reg { padding: 40px 20px !important; }
  
  /* 2. Hero Section */
  .hero__title { font-size: 3rem !important; line-height: 1.1 !important; }
  .hero__desc { font-size: 1rem !important; margin-bottom: 32px !important; }
  .hero__actions { flex-direction: column; width: 100%; gap: 12px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__geometric-anim { min-height: 250px !important; }
  
  /* 3. Ecosystem Grid */
  .ecosystem__grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .eco-panel { min-height: auto !important; }
  
  /* 4. Bento Grid */
  .features__bento { grid-template-columns: 1fr !important; gap: 20px !important; }
  .feat { grid-column: auto !important; grid-row: auto !important; min-height: 280px !important; }
  
  /* 5. Products & Bridge */
  .products__grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .products__bridge { transform: none !important; margin: 40px 0 !important; }
  .bridge__line { height: 40px !important; }
  
  /* 6. Regulatory Posture */
  .reg__inner { flex-direction: column !important; gap: 32px !important; }
  .reg__r { 
    width: 100% !important; 
    border-left: none !important; 
    padding-left: 0 !important; 
    padding-top: 32px !important; 
    border-top: 1px solid var(--border) !important; 
  }
  
  /* 7. Dashboard Mockup (Hidden on mobile) */
  .intelligence { display: none !important; }
  
  /* 8. Journey Section — Mobile Sticky Stack (Chime-style) */
  
  /* Kill overflow on every ancestor so position:sticky works */
  .journey { overflow: visible !important; }
  .journey .container { overflow: visible !important; }
  .stage { overflow: visible !important; border: none !important; background: transparent !important; }
  
  /* Hide desktop-only chrome: timeline, playback controls */
  .timeline { display: none !important; }
  .stage__chrome { display: none !important; }
  .stage__controls { display: none !important; }
  
  /* Make panels container a normal block flow (not relative for abs children) */
  .stage__panels { 
    position: relative !important; 
    display: block !important; 
    min-height: auto !important; 
    transform: none !important; 
    padding: 0 !important;
  }
  
  /* Override the desktop absolute positioning to sticky */
  .panel { 
    /* Break out of position:absolute; inset:0 */
    position: sticky !important; 
    inset: auto !important;
    
    /* Force visibility (desktop hides inactive panels) */
    opacity: 1 !important; 
    pointer-events: auto !important;
    transform: none !important;
    
    /* Layout */
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 28px 20px 80vh !important; 
    
    /* Solid background so it fully covers the card behind */
    background: #140e1c !important;
    
    /* Card styling */
    border: 1px solid rgba(236, 227, 213, 0.08) !important;
    border-bottom: none !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.5) !important;
    
    /* Let it size to content, no forced min-height */
    min-height: auto !important;
  }
  
  /* Light theme override for panel background */
  [data-theme="light"] .panel {
    background: #ffffff !important;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.1) !important;
  }
  
  /* Staggered sticky offsets — each card sticks 16px lower */
  .panel:nth-child(1) { top: 20px !important; z-index: 1 !important; }
  .panel:nth-child(2) { top: 36px !important; z-index: 2 !important; }
  .panel:nth-child(3) { top: 52px !important; z-index: 3 !important; }
  .panel:nth-child(4) { top: 68px !important; z-index: 4 !important; }
  .panel:nth-child(5) { top: 84px !important; z-index: 5 !important; }
  .panel:last-child { padding-bottom: 40px !important; }
  
  /* Remove content width constraints */
  .panel__l { max-width: 100% !important; }
  .panel__title { font-size: 28px !important; margin-bottom: 12px !important; line-height: 1.15 !important; }
  .panel__desc { font-size: 14px !important; line-height: 1.55 !important; max-width: 100% !important; }
  .panel__r { margin-top: 24px !important; }
  
  /* Widen cards: kill container padding so cards go edge-to-edge */
  .journey .container { padding: 0 !important; }
  .journey__hdr { padding: 0 20px !important; }
  
  /* Bridge-flow: stack columns vertically on mobile */
  .bridge-flow { 
    grid-template-columns: 1fr !important; 
    padding: 20px !important;
    min-height: auto !important;
    gap: 16px !important;
  }
  .bridge-flow__rail { 
    width: 100% !important; 
    height: 40px !important;
  }
  .bridge-flow__rail svg { display: none !important; }
  .bridge-flow__col { padding: 0 !important; }
  
  /* Amount section: set initial value for mobile (JS bails early) */
  .amount__value { font-size: 64px !important; }
  .amount__schedule { 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 16px !important;
  }
  
  /* Pillar sizing on mobile */
  .pillar span { font-size: 0.4rem !important; }
  
  /* Eyebrow/section title spacing — prevent overlap */
  .eyebrow { margin-bottom: 16px !important; display: block !important; }
  .products__title, .ecosystem__title, .features__title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  /* Reduce gap between Journey and Products */
  .journey { padding-bottom: 40px !important; }
  
  /* Typography limits */
  .section__title { font-size: 2rem !important; }
  .ecosystem__title, .intelligence__title, .features__title, .journey__title, .stack__title, .cta__title {
    font-size: 2.2rem !important; 
    line-height: 1.2 !important;
  }
}
