/* ─── RESET & BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s-4);
}
/* Project chapter markers — prominently scannable */
.project-label {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: var(--s-5);
}
.project-label.ke-label {
  text-shadow: 0 0 18px rgba(16,185,129,0.7), 0 0 52px rgba(16,185,129,0.25);
}
.project-label:not(.ke-label) {
  text-shadow: 0 0 18px rgba(59,130,246,0.7), 0 0 52px rgba(59,130,246,0.25);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: var(--s-4);
}
.section-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
  max-width: 660px;
}

/* ─── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--r-md);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border: none;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-bright);
  box-shadow: 0 0 24px var(--blue-glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-mid);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}
.btn-amber {
  background: var(--amber);
  color: #000;
}
.btn-amber:hover {
  box-shadow: var(--shadow-glow-amber);
  transform: translateY(-1px);
}
.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 60%, #34d399 100%);
  color: #fff;
  box-shadow: 0 0 18px rgba(16,185,129,0.30), 0 2px 8px rgba(0,0,0,0.35);
  border: 1px solid rgba(16,185,129,0.40);
  position: relative;
  overflow: hidden;
}
.btn-emerald::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.14) 50%, transparent 100%);
  animation: ke-shimmer 4.5s linear infinite;
  pointer-events: none;
}
.btn-emerald:hover {
  filter: brightness(1.14);
  box-shadow: 0 0 30px rgba(16,185,129,0.50), 0 4px 14px rgba(0,0,0,0.40);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) { .btn-emerald::before { animation: none; } }
.btn-desert-glow {
  background: linear-gradient(135deg, #c2185b 0%, #e91e8c 55%, #ad1457 100%);
  color: #fff;
  box-shadow: 0 0 18px rgba(236,72,153,0.28), 0 2px 8px rgba(0,0,0,0.35);
  border: 1px solid rgba(236,72,153,0.38);
  position: relative;
  overflow: hidden;
}
.btn-desert-glow::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  animation: cs-shimmer 5s linear infinite;
  pointer-events: none;
}
.btn-desert-glow:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 30px rgba(236,72,153,0.48), 0 4px 14px rgba(0,0,0,0.40);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) { .btn-desert-glow::before { animation: none; } }

/* ─── NAV ───────────────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: var(--s-4) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 9, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}
#nav.scrolled {
  background: rgba(8, 8, 9, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-links {
  display: none;
  gap: var(--s-8);
  align-items: center;
}
.nav-cta {
  position: absolute;
  right: var(--s-6);
}
.nav-link {
  font-size: 1.1rem;
  font-weight: 680;
  letter-spacing: 0.014em;
  color: rgba(245, 248, 255, 0.92);
  transition: color 0.28s ease, filter 0.28s ease;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.55))
          drop-shadow(0 0 28px rgba(59, 130, 246, 0.22));
}

@media (prefers-reduced-motion: reduce) {
  .nav-link { transition: none; }
}
.nav-cta {
  position: absolute;
  right: var(--s-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.35);
  border-radius: var(--r-md);
  padding: 0.5rem 1.125rem;
  transition: all 0.25s var(--ease-out);
}
.nav-cta:hover {
  background: var(--blue-dim);
  border-color: var(--blue);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  position: absolute;
  left: var(--s-6);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition:
    transform var(--duration-base) var(--ease-out),
    opacity var(--duration-base) var(--ease-out);
}
.nav-toggle:hover span { background: var(--text-primary); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer — always position:absolute, shown via visibility not display */
.nav-drawer {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(8, 8, 9, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: var(--s-5) var(--s-6);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out),
    visibility 0s var(--duration-base);
}
.nav-drawer.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out),
    visibility 0s;
}
.nav-drawer-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--duration-fast);
}
.nav-drawer-link:last-child { border-bottom: none; }
.nav-drawer-link:hover { color: var(--text-primary); }

@media (max-width: 899px) {
  .nav-toggle { display: flex; }
}

/* ─── ANCHOR OFFSET (fixed nav clearance) ───────────────────────────────────── */
section[id] { scroll-margin-top: 5rem; }

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 30%, var(--bg) 90%),
    linear-gradient(to bottom, transparent 50%, var(--bg) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 860px;
  padding: 7rem var(--s-6) 3.5rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: var(--r-full);
  padding: 0.375rem 1rem;
  background: rgba(59,130,246,0.07);
  margin-bottom: var(--s-8);
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 8.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--s-6);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--s-6);
}
.hero-highlight { color: var(--blue); }
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto var(--s-8);
  letter-spacing: 0.01em;
}
.hero-ctas {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--s-6);
}
.hero-badge {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.3rem 0.875rem;
}
.hero-pill-cta {
  margin-top: var(--s-8);
  display: flex;
  justify-content: center;
}
.hero-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-full);
  padding: 0.625rem 1.5rem;
  transition: all 0.25s var(--ease-out);
}
.hero-pill-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}
.hero-pill-arrow {
  font-size: 1rem;
  transition: transform 0.2s;
}
.hero-pill-btn:hover .hero-pill-arrow {
  transform: translateX(3px);
}

/* ── Hero CTAs — shared sizing baseline ──────────────────────────────────────
   All three hero buttons use identical dimensions. Color/glow differs per brand.
   ─────────────────────────────────────────────────────────────────────────── */
.hero-ctas .btn-emerald,
.hero-ctas .btn-desert-glow,
.hero-ctas .btn-primary,
.hero-ctas .btn-github {
  padding:       0.85rem 2.25rem;
  font-size:     0.9375rem;
  font-weight:   700;
  border-radius: var(--r-xl);
  letter-spacing: 0.015em;
}

/* ── KalEdge hero button — deep emerald, Bloomberg/trading intelligence feel ── */
.hero-ctas .btn-emerald {
  background: linear-gradient(148deg, #065f46 0%, #059669 50%, #047857 100%);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.30),
    0 0 28px rgba(16, 185, 129, 0.40),
    0 0 64px rgba(5, 150, 105, 0.15),
    0 4px 24px rgba(0, 0, 0, 0.50);
  transition: box-shadow 0.30s var(--ease-out), transform 0.20s var(--ease-out), border-color 0.30s;
  position: relative;
  overflow: hidden;
}
.hero-ctas .btn-emerald:hover {
  background: linear-gradient(148deg, #059669 0%, #10b981 50%, #059669 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32),
    0 0 50px rgba(16, 185, 129, 0.62),
    0 0 100px rgba(5, 150, 105, 0.22),
    0 8px 32px rgba(0, 0, 0, 0.55);
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(52, 211, 153, 0.68);
}
.hero-ctas .btn-emerald::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.20) 50%, transparent 85%);
  animation: cs-shimmer 4.5s linear infinite;
  pointer-events: none;
}
.hero-ctas .btn-emerald::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 40%, transparent 65%);
  border-radius: inherit;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .hero-ctas .btn-emerald::before { animation: none; } }

/* ── Desert Glow hero button — luxury rose/magenta, med-spa identity ─────── */
.hero-ctas .btn-desert-glow {
  background: linear-gradient(148deg, #9d174d 0%, #c2185b 50%, #9d174d 100%);
  border: 1px solid rgba(236, 72, 153, 0.40);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.30),
    0 0 26px rgba(236, 72, 153, 0.34),
    0 0 60px rgba(190, 24, 93, 0.13),
    0 4px 24px rgba(0, 0, 0, 0.50);
  transition: box-shadow 0.30s var(--ease-out), transform 0.20s var(--ease-out), border-color 0.30s;
  position: relative;
  overflow: hidden;
}
.hero-ctas .btn-desert-glow:hover {
  background: linear-gradient(148deg, #be185d 0%, #e91e8c 50%, #be185d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32),
    0 0 46px rgba(236, 72, 153, 0.58),
    0 0 90px rgba(190, 24, 93, 0.20),
    0 8px 32px rgba(0, 0, 0, 0.55);
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(244, 114, 182, 0.68);
}
.hero-ctas .btn-desert-glow::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.18) 50%, transparent 85%);
  animation: cs-shimmer 5s linear infinite;
  pointer-events: none;
}
.hero-ctas .btn-desert-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.04) 40%, transparent 65%);
  border-radius: inherit;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .hero-ctas .btn-desert-glow::before { animation: none; } }

/* ── Hero primary CTA (kept for other potential uses) ─────────────────────── */
.hero-ctas .btn-primary {
  background: linear-gradient(148deg, #0ea5e9 0%, #2563eb 45%, #1d4ed8 100%);
  border: 1px solid rgba(14, 165, 233, 0.55);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.30),
    0 0 36px rgba(14, 165, 233, 0.55),
    0 0 80px rgba(37, 99, 235, 0.20),
    0 4px 24px rgba(0, 0, 0, 0.50);
  transition: box-shadow 0.30s var(--ease-out), transform 0.20s var(--ease-out), border-color 0.30s;
  position: relative;
  overflow: hidden;
}
.hero-ctas .btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32),
    0 0 56px rgba(14, 165, 233, 0.82),
    0 0 110px rgba(37, 99, 235, 0.28),
    0 8px 32px rgba(0, 0, 0, 0.55);
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(56, 189, 248, 0.80);
}
.hero-ctas .btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.22) 50%, transparent 85%);
  animation: cs-shimmer 4.5s linear infinite;
  pointer-events: none;
}
.hero-ctas .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 40%, transparent 65%);
  border-radius: inherit;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .hero-ctas .btn-primary::before { animation: none; } }

.hero-scroll {
  position: absolute;
  bottom: var(--s-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
.hero-scroll-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── BUILDING STRIP (neon marquee) ──────────────────────────────────────────── */
@keyframes neon-pulse-pink {
  0%, 100% { text-shadow: 0 0 6px rgba(244,114,182,0.7), 0 0 14px rgba(244,114,182,0.4); }
  50%       { text-shadow: 0 0 12px rgba(244,114,182,1.0), 0 0 28px rgba(244,114,182,0.7), 0 0 50px rgba(244,114,182,0.35); }
}
@keyframes neon-pulse-yellow {
  0%, 100% { text-shadow: 0 0 6px rgba(250,204,21,0.7), 0 0 14px rgba(250,204,21,0.4); }
  50%       { text-shadow: 0 0 12px rgba(250,204,21,1.0), 0 0 28px rgba(250,204,21,0.7), 0 0 50px rgba(250,204,21,0.35); }
}
@keyframes neon-pulse-red {
  0%, 100% { text-shadow: 0 0 6px rgba(248,113,113,0.7), 0 0 14px rgba(248,113,113,0.4); }
  50%       { text-shadow: 0 0 12px rgba(248,113,113,1.0), 0 0 28px rgba(248,113,113,0.7), 0 0 50px rgba(248,113,113,0.35); }
}
@keyframes neon-pulse-gold {
  0%, 100% { text-shadow: 0 0 6px rgba(251,191,36,0.7), 0 0 14px rgba(251,191,36,0.4); }
  50%       { text-shadow: 0 0 12px rgba(251,191,36,1.0), 0 0 28px rgba(251,191,36,0.7), 0 0 50px rgba(251,191,36,0.35); }
}

#building-strip {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}
.strip-overflow { overflow: hidden; }
.strip-track {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.strip-item {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.strip-item--pink {
  color: #f472b6;
  animation: neon-pulse-pink 3.2s ease-in-out infinite;
}
.strip-item--yellow {
  color: #facc15;
  animation: neon-pulse-yellow 3.6s ease-in-out infinite;
}
.strip-item--red {
  color: #f87171;
  animation: neon-pulse-red 4.0s ease-in-out infinite;
}
.strip-item--gold {
  color: #fbbf24;
  animation: neon-pulse-gold 3.8s ease-in-out infinite;
}
.strip-dot {
  color: rgba(255,255,255,0.18);
  font-size: 1.1rem;
}

/* ─── KALEDGE PROJECT ───────────────────────────────────────────────────────── */
#kaledge-project {
  padding-top: var(--s-16);
}

/* ─── CURRENT PROJECT ────────────────────────────────────────────────────────── */
#current-project {
  padding: var(--s-24) 0 var(--s-10) 0;
  background: var(--bg);
}
.cs-blocks {
  margin-top: var(--s-10);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cs-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
  padding: var(--s-12) 0;
  border-top: 1px solid var(--border);
}
.cs-block:last-child {
  border-bottom: 1px solid var(--border);
}

/* ─── CASE STUDY — DEMO CTA ──────────────────────────────────────────────────── */
.cs-demo-cta {
  margin-top: var(--s-8);
  text-align: center;
  position: relative;
}
/* Atmospheric bloom — button feels like it emits light into the page */
.cs-demo-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 88px;
  background: radial-gradient(ellipse, rgba(194, 24, 91, 0.14) 0%, transparent 68%);
  pointer-events: none;
}
.cs-demo-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  padding: 0.8rem 2.5rem;
  color: #fff;
  background: linear-gradient(150deg, #d4246e 0%, #be185d 42%, #7b0f3c 100%);
  border: 1px solid rgba(236, 72, 153, 0.28);
  border-radius: var(--r-full);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 22px rgba(194, 24, 91, 0.32),
    0 0 56px rgba(194, 24, 91, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.35s var(--ease-out),
              transform 0.2s var(--ease-out),
              border-color 0.35s;
  text-decoration: none;
  z-index: 1;
}
/* Desert Glow brand stamp */
.cs-demo-micro {
  font-family: var(--font-display);
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
  line-height: 1;
}
/* Main CTA text */
.cs-demo-main {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1;
  transition: filter 0.3s;
}
/* Resting shimmer — sweeps once every 5 s, pauses between passes */
.cs-demo-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255, 255, 255, 0.13) 50%,
    transparent 85%
  );
  animation: cs-shimmer 5s linear infinite;
  pointer-events: none;
}
/* Static glossy top-edge sheen */
.cs-demo-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 65%
  );
  border-radius: inherit;
  pointer-events: none;
}
.cs-demo-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 32px rgba(194, 24, 91, 0.55),
    0 0 76px rgba(194, 24, 91, 0.2),
    0 4px 18px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  border-color: rgba(236, 72, 153, 0.55);
}
.cs-demo-btn:hover .cs-demo-main {
  filter: brightness(1.08);
}
/* Sweeps in first 32% of 5 s cycle, invisible for remaining 68% */
@keyframes cs-shimmer {
  0%   { left: -80%; opacity: 1; }
  32%  { left: 110%; opacity: 1; }
  33%  { left: 110%; opacity: 0; }
  34%  { left: -80%; opacity: 0; }
  100% { left: -80%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-demo-btn::before { animation: none; }
}

.cs-problem-num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-3);
}
.cs-headline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-6);
}
.cs-segments {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.cs-segment {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.cs-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  padding: 0.2rem 0.6rem;
  width: fit-content;
}
.cs-tag-problem {
  color: #f87171;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
}
.cs-tag-system {
  color: var(--blue-bright);
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.2);
}
.cs-tag-outcome {
  color: #34d399;
  background: rgba(52,211,153,0.07);
  border: 1px solid rgba(52,211,153,0.18);
}
.cs-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.cs-outcome-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ─── CASE STUDY VISUALS ─────────────────────────────────────────────────────── */
.cs-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.cs-visual-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.cv-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.cv-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

/* Visual 01 — Channel Acquisition Intelligence */
.cv-acq-grid {
  display: flex;
  flex-direction: column;
  padding: 0.375rem 0;
}
.cv-acq-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border);
}
.cv-acq-row:last-child { border-bottom: none; }
.cv-acq-ch {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
}
.cv-acq-leads {
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
}
.cv-acq-conv {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.cv-acq-pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}
.cv-acq-high {
  color: #34d399;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.2);
}
.cv-acq-med {
  color: var(--blue-bright);
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.2);
}
.cv-acq-low {
  color: var(--amber);
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.2);
}

/* Visual 01b — Chat UI */
.cv-messages {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1rem;
}
.cv-msg {
  max-width: 82%;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-lg);
  font-size: var(--text-xs);
  line-height: 1.5;
}
.cv-msg-user {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.cv-msg-ai {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
}
.cv-intent-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.375rem 0.75rem;
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--r-md);
  font-size: 10px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.cv-intent-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* Visual 02 — Pipeline flow */
.cv-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem;
  gap: 0;
}
.cv-flow-node {
  width: 100%;
  max-width: 240px;
  text-align: center;
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
}
.cv-node-red {
  color: #f87171;
  border-color: rgba(248,113,113,0.3);
  background: rgba(248,113,113,0.06);
}
.cv-node-blue {
  color: var(--blue-bright);
  border-color: rgba(59,130,246,0.3);
  background: var(--blue-dim);
}
.cv-flow-connector {
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, var(--border), transparent);
  flex-shrink: 0;
}

/* Visual 03 — Bar chart */
.cv-chart-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}
.cv-chart-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.cv-chart-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  width: 52px;
  flex-shrink: 0;
  font-weight: 500;
}
.cv-chart-track {
  flex: 1;
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.cv-chart-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 4px;
}
.cv-fill-purple { background: #818cf8; }
.cv-fill-green  { background: #34d399; }
.cv-fill-amber  { background: var(--amber); }
.cv-chart-value {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  width: 44px;
  text-align: right;
  flex-shrink: 0;
}

/* Visual 04 — Workflow list */
.cv-workflow-list {
  display: flex;
  flex-direction: column;
  padding: 0.875rem 1rem;
  gap: 0;
}
.cv-workflow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
}
.cv-workflow-row:last-child { border-bottom: none; }
.cv-wf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cv-wf-active { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.cv-wf-idle   { background: var(--border-mid); }
.cv-wf-name {
  flex: 1;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-weight: 500;
}
.cv-wf-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.2);
  border-radius: var(--r-sm);
  padding: 0.15rem 0.5rem;
}
.cv-badge-idle {
  color: var(--text-muted);
  background: transparent;
  border-color: var(--border);
}

/* Visual 05 — Metrics grid */
.cv-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.cv-metric {
  background: var(--surface);
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cv-metric-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cv-metric-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cv-metric-delta {
  font-size: var(--text-xs);
  font-weight: 600;
}
.cv-delta-up      { color: #34d399; }
.cv-delta-neutral { color: var(--text-muted); }

/* ─── SYSTEMS ─────────────────────────────────────────────────────────────────── */
#systems {
  padding: var(--s-24) 0;
  background: var(--bg-2);
}
.systems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-top: var(--s-12);
}
.system-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.system-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--duration-base);
}
.system-card:hover {
  border-color: var(--border-mid);
  box-shadow: 0 0 30px var(--blue-glow-lg);
  transform: translateY(-2px);
}
.system-card:hover::before { opacity: 1; }
.system-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
  color: var(--blue);
  position: relative;
  z-index: 1;
}
.system-icon svg { width: 20px; height: 20px; stroke-width: 1.5; fill: none; stroke: currentColor; }
.system-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--s-2);
  position: relative;
  z-index: 1;
}
.system-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ─── TECH STACK ──────────────────────────────────────────────────────────────── */
#stack {
  padding: var(--s-24) 0;
  background: var(--bg);
}
.stack-categories {
  margin-top: var(--s-12);
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}
.stack-category { display: flex; flex-direction: column; gap: var(--s-3); }
.stack-category-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.5rem 1rem;
  transition: all var(--duration-base) var(--ease-out);
  cursor: default;
}
.stack-pill:hover {
  color: var(--blue-bright);
  border-color: rgba(59,130,246,0.3);
  background: var(--blue-dim);
}
.stack-pill.coming-soon {
  opacity: 0.45;
  font-style: italic;
}
.stack-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ─── PROCESS ─────────────────────────────────────────────────────────────────── */
#process {
  padding: var(--s-24) 0;
  background: var(--bg-2);
}
.process-steps {
  margin-top: var(--s-12);
}
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-8);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step-number {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  opacity: 0.55;
  padding-top: 0.2rem;
}
.step-content h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--s-2);
}
.step-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ─── ABOUT / FOUNDER CARD ────────────────────────────────────────────────────── */
#about {
  padding: var(--s-24) 0 var(--s-10) 0;
  background: var(--bg);
}
.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  margin-top: var(--s-12);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-8);
}
.founder-photo-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  height: 100%;
}
.founder-photo {
  border-radius: var(--r-xl);
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.founder-headshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: var(--r-xl);
}
.founder-photo-placeholder {
  width: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, var(--blue-dim) 0%, var(--surface-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-bright);
  letter-spacing: -0.02em;
  opacity: 0.5;
}
.founder-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  max-width: 260px;
}
.founder-tag {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.3rem 0.625rem;
}
.founder-bio {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.founder-bio p {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.82;
}
.founder-specialties {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.founder-specialty-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.founder-specialties ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.founder-specialties li {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--blue-bright);
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--r-md);
  padding: 0.3rem 0.7rem;
  list-style: none;
}
.founder-links {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  padding-top: var(--s-3);
}

/* ─── SYSTEM WALKTHROUGHS ─────────────────────────────────────────────────────── */
#walkthroughs {
  padding: var(--s-24) 0;
  background: var(--bg-2);
}
.walkthroughs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-top: var(--s-12);
}
.walkthrough-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
}
.walkthrough-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.walkthrough-thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.walkthrough-thumb-1 { background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(99,102,241,0.16)); }
.walkthrough-thumb-2 { background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(59,130,246,0.1)); }
.walkthrough-thumb-3 { background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(59,130,246,0.08)); }
.walkthrough-thumb-4 { background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(59,130,246,0.08)); }
.walkthrough-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  padding-left: 3px;
  transition: all 0.25s var(--ease-out);
}
.walkthrough-card:hover .walkthrough-play {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 20px var(--blue-glow);
}
.walkthrough-info {
  padding: var(--s-4) var(--s-4);
  border-top: 1px solid var(--border);
}
.walkthrough-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-2);
}
.walkthrough-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

/* ─── CTA ─────────────────────────────────────────────────────────────────────── */
#contact {
  padding: 2rem 0 3.5rem 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--s-6);
}
.cta-body {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: var(--s-6);
}
.cta-secondary {
  font-size: var(--text-sm);
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--s-12);
}
.cta-buttons {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn { padding: 0.875rem 2rem; }
.cta-btn-secondary { padding: 0.875rem 2rem; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────────── */
#footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-main { padding: var(--s-16) 0 var(--s-12); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
.footer-cta-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.footer-cta-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-cta-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}
.footer-talk-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-full);
  padding: 0.55rem 1.25rem;
  width: fit-content;
  transition: all 0.25s var(--ease-out);
}
.footer-talk-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-2);
}
.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer-links-col a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}
.footer-links-col a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: var(--s-4) 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: center;
  text-align: center;
}
.footer-legal {
  display: flex;
  gap: var(--s-6);
}
.footer-legal a {
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: color var(--duration-fast);
}
.footer-legal a:hover { color: var(--text-secondary); }
.footer-legal a[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}
.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ─── MID-PAGE CTA ───────────────────────────────────────────────────────────── */
.mid-cta {
  padding: 2.25rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mid-cta-block {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
}
.mid-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.mid-cta-sub {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .systems-grid { grid-template-columns: 1fr 1fr; }
  .walkthroughs-grid { grid-template-columns: 1fr 1fr; }
  .strip-prefix { display: block; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
}

@media (min-width: 768px) {
  .cs-blocks .cs-block:first-child { padding-top: var(--s-8); }
  .cs-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-12);
    align-items: center;
  }
  .cs-block-alt .cs-visual { order: -1; }
  .founder-card { grid-template-columns: 300px 1fr; padding: var(--s-12); align-items: stretch; }
  .process-steps { display: grid; grid-template-columns: 1fr 1fr; }
  .process-step { border-top: 1px solid var(--border); border-left: none; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  /* Lock drawer invisible on desktop regardless of JS state */
  .nav-drawer {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (min-width: 1024px) {
  .systems-grid { grid-template-columns: repeat(3, 1fr); }
  .stack-categories { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8) var(--s-16); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-16); }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ─── CASE STUDY — DUAL CTA PAIR ─────────────────────────────────────────────── */
/* Left-align pair layout to match section text */
.cs-demo-cta.cs-demo-cta--pair {
  text-align: left;
}
/* Override pink bloom with blue-purple for analytics-primary layout */
.cs-demo-cta.cs-demo-cta--pair::before {
  left: 0;
  transform: translate(0, -50%);
  background: radial-gradient(
    ellipse at 0% 50%,
    rgba(59, 130, 246, 0.16) 0%,
    rgba(124, 58, 237, 0.07) 45%,
    transparent 70%
  );
  width: 700px;
  height: 130px;
}

.cs-demo-pair {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
  position: relative;
  z-index: 1;
}

@media (min-width: 580px) {
  .cs-demo-pair {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-3);
  }
}

/* ── Analytics dashboard primary button ───────────────────────────────────── */
.cs-analytics-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  padding: 0.95rem 2.85rem;
  color: #fff;
  background: linear-gradient(150deg, #2563eb 0%, #4f46e5 55%, #3730a3 100%);
  border: 1px solid rgba(99, 102, 241, 0.42);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 0 28px rgba(59, 130, 246, 0.38),
    0 0 64px rgba(99, 102, 241, 0.12),
    0 4px 18px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.35s var(--ease-out),
              transform 0.2s var(--ease-out),
              border-color 0.35s;
  text-decoration: none;
  z-index: 1;
}
.cs-analytics-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 44px rgba(59, 130, 246, 0.68),
    0 0 88px rgba(99, 102, 241, 0.22),
    0 4px 22px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.7);
}
.cs-analytics-btn:hover .cs-demo-main { filter: brightness(1.08); }
/* Shimmer — reuses cs-shimmer keyframe */
.cs-analytics-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 85%
  );
  animation: cs-shimmer 4.5s linear infinite;
  pointer-events: none;
}
/* Top-edge sheen */
.cs-analytics-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 65%
  );
  border-radius: inherit;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .cs-analytics-btn::before { animation: none; }
}

/* Internal Dashboard button — crimson/red, visually between blue and pink */
.cs-internal-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  padding: 0.95rem 2.85rem;
  color: #fff;
  background: linear-gradient(150deg, #b91c1c 0%, #e11d48 52%, #9f1239 100%);
  border: 1px solid rgba(251, 113, 133, 0.42);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 0 28px rgba(225, 29, 72, 0.45),
    0 0 64px rgba(185, 28, 28, 0.18),
    0 4px 18px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.35s var(--ease-out),
              transform 0.2s var(--ease-out),
              border-color 0.35s;
  text-decoration: none;
  z-index: 1;
}
.cs-internal-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 48px rgba(225, 29, 72, 0.75),
    0 0 96px rgba(185, 28, 28, 0.3),
    0 4px 22px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  border-color: rgba(251, 113, 133, 0.72);
}
.cs-internal-btn:hover .cs-demo-main { filter: brightness(1.08); }
.cs-internal-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255, 255, 255, 0.16) 50%,
    transparent 85%
  );
  animation: cs-shimmer 4.5s linear infinite;
  pointer-events: none;
}
.cs-internal-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 65%
  );
  border-radius: inherit;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .cs-internal-btn::before { animation: none; }
}

/* Desert Glow button — visually secondary in pair context */
.cs-demo-btn--secondary { opacity: 0.84; }
.cs-demo-btn--secondary:hover { opacity: 1; }

/* ─── DASHBOARD PREVIEW SECTION ──────────────────────────────────────────────── */
#dashboard-preview {
  padding: var(--s-24) 0;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
#dashboard-preview::before {
  content: '';
  position: absolute;
  top: -140px;
  left: -200px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.055) 0%, transparent 65%);
  pointer-events: none;
}
#dashboard-preview::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.045) 0%, transparent 65%);
  pointer-events: none;
}

.dash-intro { margin-bottom: var(--s-10); }

/* Capability dimension pills */
.dash-dimensions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-10);
}
.dash-dim {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--r-md);
  padding: 0.38rem 0.875rem;
}
.dash-dim-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.65;
  flex-shrink: 0;
}

/* Dashboard browser frame */
.dash-frame {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.05),
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(59, 130, 246, 0.06);
  margin-bottom: var(--s-10);
  position: relative;
  z-index: 1;
}

.dash-frame-bar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 0.7rem var(--s-5);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dash-frame-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.dash-frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dash-frame-dots span:nth-child(1) { background: #ef4444; opacity: 0.55; }
.dash-frame-dots span:nth-child(2) { background: #f59e0b; opacity: 0.55; }
.dash-frame-dots span:nth-child(3) { background: #22c55e; opacity: 0.55; }
.dash-frame-title {
  flex: 1;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--r-full);
  padding: 0.22rem 0.6rem;
  flex-shrink: 0;
}
.dash-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: dash-pulse 2.2s ease-in-out infinite;
}
@keyframes dash-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@media (prefers-reduced-motion: reduce) {
  .dash-live-dot { animation: none; }
}

.dash-content {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.dash-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.dash-section-lbl {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dash-section-ts {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

/* KPI metric tiles */
.dash-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.dash-kpi {
  background: var(--bg-2);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.dash-kpi-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dash-kpi-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}
.dash-kpi-delta {
  font-size: var(--text-xs);
  font-weight: 600;
}
.dash-up      { color: #34d399; }
.dash-neutral { color: var(--text-muted); }

/* Secondary panels */
.dash-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
.dash-panel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5);
}
.dash-panel-hd {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-3);
}

/* Service demand bars */
.dash-bars { display: flex; flex-direction: column; gap: 0.55rem; }
.dash-bar-r {
  display: grid;
  grid-template-columns: 68px 1fr 34px;
  align-items: center;
  gap: var(--s-2);
}
.dash-bar-lbl {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-weight: 500;
}
.dash-bar-t {
  height: 5px;
  background: var(--surface-2);
  border-radius: var(--r-full);
  overflow: hidden;
}
.dash-bar-f {
  height: 100%;
  background: var(--blue);
  border-radius: var(--r-full);
}
.dash-f-purple { background: var(--purple-bright); }
.dash-f-amber  { background: var(--amber); }
.dash-bar-v {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 600;
  text-align: right;
}

/* Escalation pipeline */
.dash-esc { display: flex; flex-direction: column; gap: 0.55rem; }
.dash-esc-r {
  display: grid;
  grid-template-columns: 60px 1fr 26px;
  align-items: center;
  gap: var(--s-2);
}
.dash-esc-b {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  padding: 0.2rem 0.38rem;
  text-align: center;
}
.dash-esc-crit { background: rgba(239,68,68,0.18); color: #f87171; }
.dash-esc-high { background: rgba(245,158,11,0.18); color: #fbbf24; }
.dash-esc-med  { background: rgba(59,130,246,0.18); color: var(--blue-bright); }
.dash-esc-low  { background: rgba(255,255,255,0.05); color: var(--text-muted); }
.dash-esc-desc { font-size: var(--text-xs); color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-esc-n { font-size: var(--text-sm); font-weight: 700; color: var(--text-primary); text-align: right; }

/* Booking intent */
.dash-intent { display: flex; flex-direction: column; gap: 0.65rem; }
.dash-intent-r { display: flex; align-items: center; gap: var(--s-2); }
.dash-intent-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.dash-intent-lbl { font-size: var(--text-xs); color: var(--text-secondary); flex: 1; }
.dash-intent-v { font-size: var(--text-sm); font-weight: 700; color: var(--text-primary); }

/* Analytics status bar */
.dash-embed-bar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: rgba(59, 130, 246, 0.04);
  border: 1px dashed rgba(59, 130, 246, 0.22);
  border-radius: var(--r-lg);
}
.dash-embed-bar > svg {
  width: 17px; height: 17px;
  stroke: var(--blue-bright); flex-shrink: 0; opacity: 0.65;
}
.dash-embed-copy {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.dash-embed-status { color: var(--blue-bright); font-weight: 600; }

/* Positioning statement */
.dash-positioning {
  padding: var(--s-5) var(--s-8);
  border-left: 2px solid var(--blue);
  background: var(--surface);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  position: relative;
  z-index: 1;
}
.dash-positioning-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.85;
  font-style: italic;
}

/* Tech stack pills */
.dash-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-2);
}
.dash-tech-pill {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.35rem 0.75rem;
}

/* Responsive — dashboard section */
@media (min-width: 640px) {
  .dash-kpi-row { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .dash-panels { grid-template-columns: repeat(3, 1fr); }
}

/* ── Dashboard layout: sidebar + main ──────────────────────────────────── */
.dash-layout {
  display: flex;
  min-height: 480px;
}
.dash-sidebar {
  width: 168px;
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: var(--s-3) 0;
}
@media (max-width: 639px) {
  .dash-sidebar { display: none; }
}
.dash-sidebar-brand {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0 var(--s-4) var(--s-3);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-2);
}
.dash-sidebar-brand-txt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.dash-sidebar-brand-badge {
  margin-left: auto;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-bright);
  flex-shrink: 0;
}
.dash-sidebar-group {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: var(--s-3) var(--s-4) var(--s-1);
}
.dash-sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem var(--s-4);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  text-decoration: none;
}
.dash-sidebar-item--active {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-bright);
  font-weight: 700;
}
.dash-sidebar-item--active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--blue);
  border-radius: 0 2px 2px 0;
}
.dash-sidebar-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
  flex-shrink: 0;
}
.dash-sidebar-item--active .dash-sidebar-dot { opacity: 1; }

/* Main area */
.dash-main { flex: 1; overflow: hidden; }
.dash-page-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  flex-wrap: wrap;
  gap: var(--s-2);
}
.dash-page-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.dash-page-filters {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.dash-filter-chip {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.18rem 0.5rem;
}
.dash-filter-chip--active {
  color: var(--blue-bright);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.08);
}

/* ── Pages index grid ───────────────────────────────────────────────────── */
.dash-pages-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-10);
}
@media (min-width: 480px)  { .dash-pages-index { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .dash-pages-index { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .dash-pages-index { grid-template-columns: repeat(6, 1fr); } }
.dash-page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: border-color 0.2s, background 0.2s;
}
.dash-page-card:hover {
  border-color: rgba(59, 130, 246, 0.28);
  background: var(--surface-2);
}
.dash-page-card--active {
  border-color: rgba(59, 130, 246, 0.42);
  background: rgba(59, 130, 246, 0.07);
}
.dash-page-card-num {
  font-size: 8.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint);
}
.dash-page-card-name {
  font-size: 10.5px; font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.35;
}
.dash-page-card-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue);
  margin-top: 0.2rem;
  opacity: 0.4;
}
.dash-page-card--active .dash-page-card-dot { opacity: 1; }

/* ── Spotlight cards ────────────────────────────────────────────────────── */
.dash-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-10);
}
@media (min-width: 768px) { .dash-spotlight { grid-template-columns: repeat(3, 1fr); } }
.dash-spotlight-card {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.dash-spotlight-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.dash-spotlight-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.dash-spotlight-pg {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-faint);
}
.dash-spotlight-body { padding: var(--s-4) var(--s-5); }

/* ── Sentiment analysis ─────────────────────────────────────────────────── */
.dash-sentiment { display: flex; flex-direction: column; gap: 0.6rem; }
.dash-sentiment-r {
  display: grid;
  grid-template-columns: 72px 1fr 38px;
  align-items: center;
  gap: var(--s-2);
}
.dash-sentiment-lbl { font-size: var(--text-xs); color: var(--text-secondary); font-weight: 500; }
.dash-sentiment-t {
  height: 8px;
  background: var(--surface-2);
  border-radius: var(--r-full);
  overflow: hidden;
}
.dash-sentiment-f { height: 100%; border-radius: var(--r-full); }
.dash-s-positive { background: #34d399; }
.dash-s-neutral  { background: #60a5fa; }
.dash-s-negative { background: #f87171; }
.dash-s-risk     { background: #f59e0b; }
.dash-sentiment-v { font-size: var(--text-xs); font-weight: 700; color: var(--text-primary); text-align: right; }

/* Keyword cloud */
.dash-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: var(--s-3);
}
.dash-kw {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-sm);
  padding: 0.22rem 0.5rem;
}
.dash-kw-lg { font-size: 12.5px; padding: 0.28rem 0.6rem; }
.dash-kw-sm { font-size: 9px; opacity: 0.68; }
.dash-kw-pos { background: rgba(52,211,153,0.12);  color: #34d399; }
.dash-kw-neg { background: rgba(248,113,113,0.12); color: #f87171; }
.dash-kw-neu { background: rgba(96,165,250,0.12);  color: #60a5fa; }
.dash-kw-amb { background: rgba(245,158,11,0.12);  color: #fbbf24; }

/* ── Booking funnel ─────────────────────────────────────────────────────── */
.dash-funnel { display: flex; flex-direction: column; gap: 0.32rem; }
.dash-funnel-step {
  display: grid;
  grid-template-columns: 106px 1fr 36px;
  align-items: center;
  gap: var(--s-2);
}
.dash-funnel-lbl { font-size: var(--text-xs); color: var(--text-secondary); font-weight: 500; white-space: nowrap; }
.dash-funnel-t { height: 11px; background: var(--surface-2); border-radius: var(--r-sm); overflow: hidden; }
.dash-funnel-f {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), rgba(99,102,241,0.7));
  border-radius: var(--r-sm);
}
.dash-funnel-v { font-size: var(--text-xs); font-weight: 700; color: var(--text-primary); text-align: right; }

/* ── Campaign attribution ───────────────────────────────────────────────── */
.dash-sources { display: flex; flex-direction: column; gap: 0.5rem; }
.dash-source-r {
  display: grid;
  grid-template-columns: 72px 1fr 38px 46px;
  align-items: center;
  gap: var(--s-2);
}
.dash-source-lbl { font-size: var(--text-xs); color: var(--text-secondary); font-weight: 500; }
.dash-source-bar-t { height: 5px; background: var(--surface-2); border-radius: var(--r-full); overflow: hidden; }
.dash-source-bar-f { height: 100%; border-radius: var(--r-full); }
.dash-source-leads { font-size: var(--text-xs); font-weight: 600; color: var(--text-muted); text-align: right; }
.dash-source-conv  { font-size: var(--text-xs); font-weight: 700; color: #34d399; text-align: right; }

/* ── AI Concierge metrics grid ──────────────────────────────────────────── */
.dash-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
.dash-agent-m {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-3);
  text-align: center;
}
.dash-agent-m-lbl {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.18rem;
}
.dash-agent-m-val {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.dash-agent-m-sub { font-size: 9px; color: var(--text-muted); margin-top: 0.1rem; }

/* ── AI-generated insight rows ──────────────────────────────────────────── */
.dash-insights { display: flex; flex-direction: column; gap: 0.45rem; }
.dash-insight {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  padding: 0.45rem var(--s-3);
  background: rgba(99,102,241,0.05);
  border: 1px solid rgba(99,102,241,0.1);
  border-radius: var(--r-md);
  line-height: 1.55;
}
.dash-insight::before {
  content: '◆';
  font-size: 8px;
  color: var(--blue-bright);
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

/* ── Revenue snapshot ───────────────────────────────────────────────────── */
.dash-rev-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.dash-rev-item {
  text-align: center;
  padding: var(--s-3);
  background: var(--bg-2);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.dash-rev-lbl {
  font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 0.2rem;
}
.dash-rev-val {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ── Follow-up ops queue ────────────────────────────────────────────────── */
.dash-queue { display: flex; flex-direction: column; gap: 0.45rem; }
.dash-queue-r {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--text-xs);
}
.dash-queue-name { color: var(--text-secondary); font-weight: 500; }
.dash-queue-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: var(--r-sm);
  padding: 0.18rem 0.45rem;
}
.dash-q-callback  { background: rgba(59,130,246,0.14);  color: #60a5fa; }
.dash-q-noshow    { background: rgba(245,158,11,0.14);  color: #fbbf24; }
.dash-q-abandoned { background: rgba(248,113,113,0.14); color: #f87171; }
.dash-q-text      { background: rgba(52,211,153,0.14);  color: #34d399; }
.dash-queue-time  { font-size: 9px; color: var(--text-faint); white-space: nowrap; }

/* ── SEO Intelligence (Page 12) ─────────────────────────────────────────── */
.dash-seo-kw { display: flex; flex-direction: column; gap: 0.45rem; }
.dash-seo-kw-r {
  display: grid;
  grid-template-columns: 1fr 32px 36px 46px;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--text-xs);
}
.dash-seo-kw-lbl { color: var(--text-secondary); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-seo-kw-pos { font-weight: 700; text-align: center; }
.dash-seo-kw-p1  { color: #34d399; }
.dash-seo-kw-p2  { color: #fbbf24; }
.dash-seo-kw-p3  { color: var(--text-muted); }
.dash-seo-kw-vol { font-size: 9px; color: var(--text-faint); text-align: right; }
.dash-seo-kw-trend { font-size: 9px; font-weight: 700; text-align: right; }

.dash-seo-vis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.dash-seo-vis-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-3);
  text-align: center;
}
.dash-seo-vis-lbl {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 0.2rem;
}
.dash-seo-vis-val {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800;
  color: var(--text-primary); letter-spacing: -0.02em;
}
.dash-seo-vis-delta { font-size: 9px; color: #34d399; font-weight: 600; }

/* ── AEO / AI Visibility (Page 13) ─────────────────────────────────────── */
.dash-aeo-engines { display: flex; flex-direction: column; gap: 0.65rem; }
.dash-aeo-engine-r {
  display: grid;
  grid-template-columns: 80px 1fr 42px;
  align-items: center;
  gap: var(--s-2);
}
.dash-aeo-engine-lbl { font-size: var(--text-xs); color: var(--text-secondary); font-weight: 600; }
.dash-aeo-t { height: 10px; background: var(--surface-2); border-radius: var(--r-full); overflow: hidden; }
.dash-aeo-f { height: 100%; border-radius: var(--r-full); }
.dash-aeo-chatgpt { background: linear-gradient(90deg, #10a37f, #19c37d); }
.dash-aeo-copilot  { background: linear-gradient(90deg, #2563eb, #38bdf8); }
.dash-aeo-gemini   { background: linear-gradient(90deg, #4f46e5, #a78bfa); }
.dash-aeo-perp     { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.dash-aeo-v { font-size: var(--text-xs); font-weight: 700; color: var(--text-primary); text-align: right; }

.dash-aeo-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: var(--s-2);
}
.dash-aeo-topic {
  font-size: 10px; font-weight: 600;
  border-radius: var(--r-sm);
  padding: 0.22rem 0.5rem;
}
.dash-aeo-cited   { background: rgba(99,102,241,0.14); color: #a78bfa; }
.dash-aeo-partial { background: rgba(59,130,246,0.12); color: #60a5fa; }
.dash-aeo-gap     { background: rgba(255,255,255,0.04); color: var(--text-faint); }

.dash-aeo-score {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.dash-aeo-score-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-3);
  text-align: center;
}
.dash-aeo-score-lbl {
  font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-faint); margin-bottom: 0.2rem;
}
.dash-aeo-score-val {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 800;
  letter-spacing: -0.02em;
}
.dash-aeo-score-val--high { color: #34d399; }
.dash-aeo-score-val--med  { color: #fbbf24; }
.dash-aeo-score-val--low  { color: #f87171; }

/* ── Dashboard Copilot showcase block ──────────────────────────────────── */
.dash-copilot-block {
  margin-bottom: var(--s-10);
}
.dash-copilot-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.dash-copilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a78bfa;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--r-full);
  padding: 0.38rem 0.9rem;
  flex-shrink: 0;
}
.dash-copilot-tagline {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.dash-copilot-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 768px) {
  .dash-copilot-layout { grid-template-columns: 1fr 320px; align-items: start; }
}

/* Chat area */
.dash-copilot-chat {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dash-copilot-msg {
  padding: var(--s-4) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.dash-copilot-msg + .dash-copilot-msg {
  border-top: 1px solid var(--border);
}
.dash-copilot-msg--user { background: var(--surface); }
.dash-copilot-msg--ai   { background: rgba(99,102,241,0.04); }
.dash-copilot-msg-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.dash-copilot-bubble {
  font-size: var(--text-sm);
  line-height: 1.65;
}
.dash-copilot-bubble--user {
  color: var(--text-secondary);
  font-weight: 500;
}
.dash-copilot-bubble--ai {
  color: var(--text-primary);
}

/* Input bar (decorative) */
.dash-copilot-input-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-3) var(--s-5);
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.dash-copilot-input-placeholder {
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-style: italic;
}
.dash-copilot-send {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(99,102,241,0.2);
  color: #a78bfa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* Capabilities card */
.dash-copilot-capabilities {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.dash-copilot-cap-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dash-copilot-cap-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}
.dash-copilot-cap-list li {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  padding-left: var(--s-4);
  position: relative;
  line-height: 1.5;
}
.dash-copilot-cap-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 7px;
  color: #a78bfa;
  top: 3px;
  opacity: 0.7;
}
.dash-copilot-arch {
  border-top: 1px solid var(--border);
  padding-top: var(--s-4);
}
.dash-copilot-arch-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--s-2);
}
.dash-copilot-arch-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.dash-copilot-arch-stack span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #a78bfa;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--r-sm);
  padding: 0.2rem 0.5rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   UNIFIED PREMIUM BUTTON ECOSYSTEM
   Five color identities — one shared motion system.
   All use the same shadow architecture, shimmer, timing, and hover physics.
   cs-shimmer keyframe is defined at line ~648.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Shared foundation mixin (applied per-context below) ──────────────────
   Establishes the visual system contract every premium button shares:
   gradient body, 5-layer shadow, ::before shimmer, ::after glass sheen,
   translateY(-2px) scale(1.01) hover lift, 0.30s/0.20s timing.
   ─────────────────────────────────────────────────────────────────────── */

/* ── 1. GitHub — graphite / steel / engineering infrastructure ───────────── */

.hero-ctas .btn-outline,
.founder-links .btn-outline {
  background: linear-gradient(148deg, #181f2e 0%, #222d40 50%, #181f2e 100%);
  border: 1px solid rgba(148,163,184,0.28);
  color: #cbd5e1;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 -1px 0 rgba(0,0,0,0.28),
    0 0 18px rgba(148,163,184,0.14),
    0 0 44px rgba(100,116,139,0.06),
    0 4px 16px rgba(0,0,0,0.42);
  transition:
    box-shadow 0.30s var(--ease-out),
    transform   0.20s var(--ease-out),
    border-color 0.30s,
    color 0.20s;
}
.hero-ctas .btn-outline:hover,
.founder-links .btn-outline:hover {
  background: linear-gradient(148deg, #181f2e 0%, #222d40 50%, #181f2e 100%);
  border-color: rgba(148,163,184,0.55);
  color: #e2e8f0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.13),
    inset 0 -1px 0 rgba(0,0,0,0.30),
    0 0 30px rgba(148,163,184,0.28),
    0 0 66px rgba(100,116,139,0.10),
    0 6px 22px rgba(0,0,0,0.50);
  transform: translateY(-2px) scale(1.01);
}
.hero-ctas .btn-outline::before,
.founder-links .btn-outline::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 42%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.10) 50%, transparent 85%);
  animation: cs-shimmer 6s linear infinite;
  pointer-events: none;
}
.hero-ctas .btn-outline::after,
.founder-links .btn-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 40%, transparent 65%);
  border-radius: inherit;
  pointer-events: none;
}

/* ── 2. Connect on LinkedIn — vivid professional blue ───────────────────── */

.founder-links .btn-primary {
  background: linear-gradient(148deg, #0a84ff 0%, #0066cc 48%, #004fa3 100%);
  border: 1px solid rgba(10,132,255,0.45);
  color: #fff;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.28),
    0 0 28px rgba(10,132,255,0.40),
    0 0 66px rgba(0,102,204,0.13),
    0 4px 20px rgba(0,0,0,0.45);
  transition:
    box-shadow 0.30s var(--ease-out),
    transform   0.20s var(--ease-out),
    border-color 0.30s;
}
.founder-links .btn-primary:hover {
  background: linear-gradient(148deg, #0a84ff 0%, #0066cc 48%, #004fa3 100%);
  border-color: rgba(10,132,255,0.75);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 -1px 0 rgba(0,0,0,0.30),
    0 0 46px rgba(10,132,255,0.68),
    0 0 92px rgba(0,102,204,0.20),
    0 6px 26px rgba(0,0,0,0.50);
  transform: translateY(-2px) scale(1.01);
}
.founder-links .btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 42%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.18) 50%, transparent 85%);
  animation: cs-shimmer 5s linear infinite;
  pointer-events: none;
}
.founder-links .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 38%, transparent 62%);
  border-radius: inherit;
  pointer-events: none;
}

/* ── 3. Let's Talk — warm crimson / human collaboration energy ──────────── */

.mid-cta .btn-primary,
.cta-buttons .btn-primary {
  /* Unified size — both Let's Talk buttons identical */
  min-width: 220px;
  height: 58px;
  padding: 0 32px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 18px;
  justify-content: center;
  /* Crimson identity */
  background: linear-gradient(148deg, #e11d48 0%, #be123c 48%, #9f1239 100%);
  border: 1px solid rgba(225,29,72,0.45);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.28),
    0 0 28px rgba(225,29,72,0.42),
    0 0 66px rgba(190,18,60,0.13),
    0 4px 20px rgba(0,0,0,0.45);
  transition:
    box-shadow 0.30s var(--ease-out),
    transform   0.20s var(--ease-out),
    border-color 0.30s;
}
.mid-cta .btn-primary:hover,
.cta-buttons .btn-primary:hover {
  background: linear-gradient(148deg, #e11d48 0%, #be123c 48%, #9f1239 100%);
  border-color: rgba(251,113,133,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 -1px 0 rgba(0,0,0,0.30),
    0 0 50px rgba(225,29,72,0.70),
    0 0 98px rgba(190,18,60,0.22),
    0 6px 28px rgba(0,0,0,0.52);
  transform: translateY(-2px) scale(1.01);
}
.mid-cta .btn-primary::before,
.cta-buttons .btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 42%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.18) 50%, transparent 85%);
  animation: cs-shimmer 5s linear infinite;
  pointer-events: none;
}
.mid-cta .btn-primary::after,
.cta-buttons .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 38%, transparent 62%);
  border-radius: inherit;
  pointer-events: none;
}

/* ── 4. Connect on LinkedIn outline — CTA section secondary button ─────── */

.cta-buttons .btn-outline {
  background: linear-gradient(148deg, rgba(10,132,255,0.07) 0%, rgba(0,102,204,0.12) 100%);
  border: 1px solid rgba(10,132,255,0.38);
  color: #60a5fa;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 18px rgba(10,132,255,0.10),
    0 4px 16px rgba(0,0,0,0.35);
  transition:
    box-shadow 0.30s var(--ease-out),
    transform   0.20s var(--ease-out),
    border-color 0.30s,
    color 0.20s;
}
.cta-buttons .btn-outline:hover {
  background: linear-gradient(148deg, rgba(10,132,255,0.14) 0%, rgba(0,102,204,0.20) 100%);
  border-color: rgba(10,132,255,0.68);
  color: #93c5fd;
  box-shadow:
    0 0 34px rgba(10,132,255,0.30),
    0 0 68px rgba(0,102,204,0.14),
    0 6px 22px rgba(0,0,0,0.42);
  transform: translateY(-2px) scale(1.01);
}
.cta-buttons .btn-outline::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 42%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.10) 50%, transparent 85%);
  animation: cs-shimmer 5.5s linear infinite;
  pointer-events: none;
}
.cta-buttons .btn-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.06) 0%, transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}

/* ── 5. Nav "Connect" — violet / indigo executive portal ────────────────── */

.nav-cta {
  background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(79,70,229,0.20) 100%);
  border: 1px solid rgba(99,102,241,0.40);
  color: #a5b4fc;
  overflow: hidden;
  box-shadow:
    0 0 16px rgba(99,102,241,0.18),
    0 2px 12px rgba(0,0,0,0.32);
  transition:
    box-shadow 0.28s var(--ease-out),
    transform   0.18s var(--ease-out),
    border-color 0.28s,
    color 0.20s;
}
.nav-cta:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.20) 0%, rgba(79,70,229,0.30) 100%);
  border-color: rgba(99,102,241,0.65);
  color: #c7d2fe;
  box-shadow:
    0 0 30px rgba(99,102,241,0.38),
    0 0 64px rgba(79,70,229,0.16),
    0 4px 16px rgba(0,0,0,0.36);
  transform: translateY(-1px);
}
.nav-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 42%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.12) 50%, transparent 85%);
  animation: cs-shimmer 7s linear infinite;
  pointer-events: none;
}

/* ── 6. Footer "Let's Talk" pill — warm crimson pill identity ───────────── */

.footer-talk-btn {
  background: linear-gradient(148deg, #e11d48 0%, #be123c 100%);
  border: 1px solid rgba(225,29,72,0.45);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 0 18px rgba(225,29,72,0.35),
    0 4px 14px rgba(0,0,0,0.42);
  transition:
    box-shadow 0.28s var(--ease-out),
    transform   0.18s var(--ease-out),
    border-color 0.28s;
}
.footer-talk-btn:hover {
  border-color: rgba(251,113,133,0.65);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 0 34px rgba(225,29,72,0.58),
    0 0 68px rgba(190,18,60,0.18),
    0 4px 18px rgba(0,0,0,0.45);
  transform: translateY(-2px);
}
.footer-talk-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 38%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.14) 50%, transparent 85%);
  animation: cs-shimmer 5.5s linear infinite;
  pointer-events: none;
}

/* ── Reduce-motion guard for all button shimmers ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .btn-github::before,
  .founder-links .btn-primary::before,
  .mid-cta .btn-primary::before,
  .cta-buttons .btn-primary::before,
  .nav-cta::before,
  .footer-talk-btn::before { animation: none; }
}

/* ─── NAV DROPDOWN ─────────────────────────────────────────────────────────── */
.nav-has-dropdown {
  position: relative;
}
.nav-link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown-chevron {
  font-size: 0.75rem;
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
  opacity: 0.7;
}
.nav-has-dropdown:hover .nav-dropdown-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: rgba(8, 10, 20, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(99,102,241,0.26);
  border-radius: var(--r-md);
  padding: 0.625rem 0.5rem 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
  box-shadow: 0 12px 40px rgba(0,0,0,0.60), 0 0 0 1px rgba(255,255,255,0.05);
  z-index: 200;
}
.nav-has-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 0.78rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(210, 220, 250, 0.82);
  border-radius: calc(var(--r-md) - 3px);
  transition: color 0.16s ease, background 0.16s ease, filter 0.16s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-dropdown-item:hover {
  color: #fff;
  background: rgba(99,102,241,0.14);
  filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.40));
}

/* ── Nav GitHub — graphite / silver ─────────────────────────────────────── */
.nav-cta--github {
  background: linear-gradient(148deg, #181f2e 0%, #222d40 50%, #181f2e 100%);
  border-color: rgba(148,163,184,0.28);
  color: #cbd5e1;
}
.nav-cta--github:hover {
  background: linear-gradient(148deg, #1e2738 0%, #28364e 50%, #1e2738 100%);
  border-color: rgba(148,163,184,0.55);
  color: #e2e8f0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 0 22px rgba(148,163,184,0.18),
    0 4px 14px rgba(0,0,0,0.40);
}

/* ═══════════════════════════════════════════════════════════════════════════
   UNIFIED GITHUB BUTTON — premium bronze / warm parchment
   Single source of truth. Applied via class="btn-github" to all four
   GitHub links: nav top-right, hero, founder/about, and CTA section.
   ═══════════════════════════════════════════════════════════════════════════ */

.btn-github {
  /* Layout (ensures nav button works without .btn class) */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;

  /* ── Identical sizing across all instances ── */
  padding:       0.75rem 1.5rem;
  font-size:     var(--text-sm);
  font-weight:   650;
  border-radius: var(--r-xl);

  /* ── Bronze palette ── */
  background: linear-gradient(
    135deg,
    #6D4C2A  0%,
    #8B6B4A 33%,
    #B08968 60%,
    #C8A07A 100%
  );
  background-size:     200% 100%;
  background-position: 0% 0%;
  border:  1px solid rgba(255, 255, 255, 0.12);
  color:   #F8F4EE;

  /* ── Glass depth ── */
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0  1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0,   0,   0,   0.22),
    0  0  22px rgba(139, 107,  74, 0.24),
    0  0  52px rgba(110,  78,  42, 0.09),
    0  4px 18px rgba(0,   0,   0,   0.40);

  /* Only animate the properties we actually change — no "all" */
  transition:
    background-position 0.40s ease,
    box-shadow          0.30s ease,
    transform           0.20s ease,
    border-color        0.28s,
    color               0.22s;
}

.btn-github:hover {
  background-position: 100% 0%;      /* shifts to the brighter right half */
  border-color: rgba(255, 255, 255, 0.24);
  color: #FBF8F2;
  box-shadow:
    inset 0  1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0,   0,   0,   0.26),
    0  0  34px rgba(176, 137, 104, 0.44),
    0  0  72px rgba(139, 107,  74, 0.20),
    0  6px 24px rgba(0,   0,   0,   0.46);
  transform: translateY(-2px) scale(1.015);
}

/* Warm shimmer sweep — reuses the existing cs-shimmer keyframe */
.btn-github::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 42%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent           15%,
    rgba(255, 238, 210, 0.22) 50%,
    transparent           85%
  );
  animation: cs-shimmer 5.5s linear infinite;
  pointer-events: none;
}

/* Glass top-edge highlight */
.btn-github::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 65%
  );
  border-radius: inherit;
  pointer-events: none;
}

/* Nav instance: restore absolute positioning — .btn-github's position:relative
   would otherwise override .nav-cta's position:absolute in the cascade */
.nav-cta.btn-github {
  position: absolute;
  right: var(--s-6);
}

/* ── Hero "Let's Talk" pill — crimson warm energy ────────────────────────── */
.hero-pill-btn {
  background: linear-gradient(148deg, #e11d48 0%, #be123c 48%, #9f1239 100%);
  border-color: rgba(225,29,72,0.45);
  color: #fff;
}
.hero-pill-btn:hover {
  border-color: rgba(251,113,133,0.65);
  background: linear-gradient(148deg, #f43f5e 0%, #e11d48 48%, #be123c 100%);
  color: #fff;
  box-shadow:
    0 0 24px rgba(225,29,72,0.38),
    0 4px 18px rgba(0,0,0,0.36);
}


/* ─── CURRENT PROJECT SUBSECTION DIVIDERS ────────────────────────────────── */
.cp-subsection-divider {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin: var(--s-16) 0 var(--s-10);
}
.cp-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(99,102,241,0.30), transparent);
}
.cp-divider-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(99,102,241,0.70);
  white-space: nowrap;
}

/* ─── CP SECTION HEADINGS ───────────────────────────────────────────────── */
.cp-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: var(--s-4);
}
.cp-section-sub {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 600px;
}
.cp-media-header,
.cp-ads-header { margin-bottom: var(--s-8); }

/* ─── ACQUISITION BODY COPY ─────────────────────────────────────────────── */
.acq-body-wrap {
  max-width: 720px;
  margin-top: var(--s-4);
}
.acq-body {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.78;
  margin-bottom: var(--s-4);
}
.acq-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2) var(--s-8);
}
.acq-list li {
  font-size: 1.0rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  padding-left: 1.3em;
  position: relative;
}
.acq-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b82f6;
}
.acq-close {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  font-weight: 500;
  border-left: 2px solid #3b82f6;
  padding-left: var(--s-4);
  margin-top: var(--s-2);
}
@media (max-width: 640px) {
  .acq-list { grid-template-columns: 1fr; }
}

/* ─── MEDIA / WALKTHROUGH CARDS ─────────────────────────────────────────── */
.cp-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-12);
}
@media (max-width: 768px) { .cp-media-grid { grid-template-columns: 1fr; } }
.cp-media-card {
  background: rgba(13,17,28,0.72);
  border: 1px solid rgba(59,130,246,0.14);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.cp-media-card:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 0 30px rgba(59,130,246,0.10), 0 8px 24px rgba(0,0,0,0.30);
  transform: translateY(-2px);
}
.cp-media-thumb {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp-media-thumb--1 { background: linear-gradient(135deg, #0f1729 0%, #1a2040 50%, #0d1525 100%); }
.cp-media-thumb--2 { background: linear-gradient(135deg, #120f29 0%, #1e1540 50%, #0f0d25 100%); }
.cp-media-thumb--3 { background: linear-gradient(135deg, #0f1a20 0%, #142840 50%, #0d1a25 100%); }
.cp-media-thumb--4 { background: linear-gradient(135deg, #1a0f20 0%, #2a1540 50%, #150d25 100%); }
.cp-media-play {
  width: 52px;
  height: 52px;
  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(59,130,246,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #60a5fa;
  padding-left: 3px;
  transition: background 0.2s, box-shadow 0.2s;
}
.cp-media-card:hover .cp-media-play {
  background: rgba(59,130,246,0.30);
  box-shadow: 0 0 20px rgba(59,130,246,0.30);
}
.cp-media-status {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0,0,0,0.50);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-full);
  padding: 0.2rem 0.6rem;
}
.cp-media-info { padding: var(--s-4) var(--s-5); }
.cp-media-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s-1);
}
.cp-media-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--s-1);
  line-height: 1.3;
}
.cp-media-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── FLAGSHIP VIDEO WALKTHROUGH ─────────────────────────────────────────── */
.wt-section {
  margin-top: var(--s-12);
  margin-bottom: var(--s-16);
}
.wt-header {
  text-align: center;
  margin-bottom: var(--s-10);
}
.wt-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f472b6;
  margin-bottom: var(--s-3);
}
.wt-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--s-4);
  letter-spacing: -0.02em;
}
.wt-meta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  margin-top: var(--s-2);
}
.wt-short-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
  margin: var(--s-6) auto var(--s-8);
  text-align: center;
}
.wt-desc {
  max-width: 720px;
  margin: 0 auto var(--s-8);
  text-align: center;
}
.wt-desc p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--s-4);
}
.wt-desc p:last-child {
  margin-bottom: 0;
}
.wt-player-wrap {
  position: relative;
  margin-bottom: var(--s-8);
}
.wt-glow-backdrop {
  position: absolute;
  inset: -60px -40px;
  background: radial-gradient(ellipse at 50% 50%, rgba(236,72,153,0.13) 0%, rgba(139,92,246,0.07) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.dashboard-video-wrapper {
  position: relative;
  z-index: 1;
  width: min(75%, 1200px);
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 1px rgba(236,72,153,0.10),
    0 32px 80px rgba(0,0,0,0.60),
    0 0 60px rgba(236,72,153,0.06);
  background: #000;
  transition: box-shadow 0.3s ease;
}
.dashboard-video-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  border-radius: 0 0 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.dashboard-video-wrapper:hover {
  box-shadow:
    0 0 0 1px rgba(236,72,153,0.20),
    0 32px 80px rgba(0,0,0,0.65),
    0 0 80px rgba(236,72,153,0.10);
}
.dashboard-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
}
@media (max-width: 960px) {
  .dashboard-video-wrapper {
    width: 92%;
  }
}

.wt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  justify-content: center;
  margin-bottom: var(--s-8);
}
.wt-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 5px 12px;
  transition: color 0.2s, border-color 0.2s;
}
.wt-tag:hover {
  color: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.16);
}
.wt-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.wt-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: rgba(236,72,153,0.88);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 20px rgba(236,72,153,0.28);
}
.wt-cta-primary:hover {
  background: rgba(236,72,153,1.0);
  box-shadow: 0 0 32px rgba(236,72,153,0.48);
}
.wt-cta-secondary {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}
.wt-cta-secondary:hover {
  color: rgba(255,255,255,0.80);
}

/* ─── BUSINESS VALUE SECTION ─────────────────────────────────────────────────── */
.bv-section {
  padding: var(--s-10) 0 var(--s-8);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--s-10);
}
.bv-header {
  max-width: 760px;
  margin-bottom: var(--s-8);
}
.bv-headline {
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: var(--s-4);
}
.bv-subheadline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
  max-width: 680px;
}
.bv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}
@media (max-width: 960px) {
  .bv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bv-grid { grid-template-columns: 1fr; }
}
.bv-card {
  padding: var(--s-6);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
}
.bv-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: var(--s-3);
}
.bv-card-heading {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--s-3);
}
.bv-card-body {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.78;
}
.bv-footer-statement {
  font-size: 1.0rem;
  font-style: italic;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  max-width: 860px;
}

/* ─── SOCIAL MEDIA CAMPAIGN ADS GRID ────────────────────────────────────────── */
.cp-ads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  gap: clamp(96px, 10vw, 160px);
  justify-content: center;
  max-width: 1200px;
  margin: var(--s-8) auto var(--s-6);
  padding: 0 var(--s-4);
}
.cp-ad-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cp-ad-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 2;
  border-radius: 20px;
  overflow: hidden;
  background-color: rgba(4,4,12,0.90);
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.18),
    0 20px 60px rgba(0,0,0,0.55);
  transition: box-shadow 0.45s ease, transform 0.35s ease;
}
.cp-ad-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.32),
    0 0 60px rgba(139,92,246,0.14),
    0 30px 80px rgba(0,0,0,0.65);
}
.cp-ad-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  user-select: none;
}
.cp-ad-platform {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.cp-campaign-caption {
  text-align: center;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.62);
  max-width: 560px;
  margin: 0 auto var(--s-12);
  line-height: 1.75;
  padding: 0 var(--s-4);
}
@media (max-width: 960px) {
  .cp-ads-grid {
    grid-template-columns: repeat(3, minmax(0, 200px));
    gap: 32px;
  }
}
@media (max-width: 640px) {
  .cp-ads-grid {
    grid-template-columns: minmax(0, 300px);
    gap: 40px;
  }
}

/* ─── SYSTEMS TECH ROW ──────────────────────────────────────────────────── */
.systems-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-10);
  padding-top: var(--s-8);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ─── CTA OUTCOMES GRID ─────────────────────────────────────────────────── */
.cta-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3) var(--s-6);
  margin: var(--s-8) 0;
}
@media (max-width: 640px) {
  .cta-outcomes-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding-top: 5rem; padding-left: var(--s-4); padding-right: var(--s-4); }
}
@media (max-width: 400px) {
  .hero-content { padding-left: var(--s-3); padding-right: var(--s-3); }
  .hero-ctas { gap: var(--s-2); }
  .hero-ctas .btn-emerald,
  .hero-ctas .btn-desert-glow,
  .hero-ctas .btn-github { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
}
.cta-outcome-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.cta-outcome-arrow {
  font-size: 0.75rem;
  color: var(--blue);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE PASS — 2026-05-21
   Mobile / tablet improvements only. Desktop baseline untouched.
   Breakpoints: tablet ≤960px · mobile ≤640px
═══════════════════════════════════════════════════════════════════════════ */

/* ─── GLOBAL ─────────────────────────────────────────────────────────────── */
html { overflow-x: hidden; }

/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */
@media (max-width: 899px) {
  /* 44×44 min touch target on hamburger */
  .nav-toggle {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  /* Full-width tap area on drawer links */
  .nav-drawer-link {
    padding: var(--s-4) 0;
    font-size: 1rem;
  }
  /* Keep Book a Call but compact so it doesn't crowd the toggle */
  .nav-cta {
    font-size: 0.75rem;
    padding: 0.4375rem 0.875rem;
  }
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Tighter eyebrow prevents letter-spacing overflow on narrow viewports */
  .hero-eyebrow {
    letter-spacing: 0.1em;
    font-size: 0.6875rem;
    margin-bottom: var(--s-6);
  }
  /* Reduce vertical rhythm between stacked hero elements */
  .hero-name     { margin-bottom: var(--s-4); }
  .hero-headline { margin-bottom: var(--s-4); }
  .hero-tagline  { font-size: 0.9375rem; margin-bottom: var(--s-6); }
}

/* ─── SECTION VERTICAL PADDING ───────────────────────────────────────────── */
@media (max-width: 640px) {
  /* 6rem → 4rem: enough nav clearance without wasting screen height */
  #current-project { padding-top: var(--s-16); }
  #about           { padding-top: var(--s-16); }
  /* Footer breathing room reduced on mobile */
  .footer-main     { padding: var(--s-12) 0 var(--s-8); }
}

/* ─── VIDEO ──────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .wt-section { margin-top: var(--s-8); margin-bottom: var(--s-10); }
  .wt-header  { margin-bottom: var(--s-6); }
  /* Full-width video on narrow screens — edge-to-edge for premium mobile feel */
  .dashboard-video-wrapper { width: 100%; }
  /* Tighten border-radius at full-bleed width */
  .dashboard-video { border-radius: 12px; }
}

/* ─── PSP SECTION (Problem / Solution / Process) ─────────────────────────── */
@media (max-width: 640px) {
  .psp-section { gap: var(--s-5); padding: var(--s-5) 0; }
}

/* ─── SOCIAL ADS — single-column mobile refinement ──────────────────────── */
@media (max-width: 640px) {
  .cp-ad-item {
    max-width: 260px;
    margin: 0 auto;
    gap: 16px;
  }
}
/* Disable card hover lift on touch devices — no precise hover on mobile */
@media (hover: none) {
  .cp-ad-card:hover {
    transform: none;
    box-shadow:
      0 0 0 1px rgba(139,92,246,0.18),
      0 20px 60px rgba(0,0,0,0.55);
  }
}

/* ─── ABOUT / FOUNDER CARD ───────────────────────────────────────────────── */
@media (max-width: 767px) {
  .founder-card    { padding: var(--s-6); gap: var(--s-8); }
  /* Center photo in single-column layout */
  .founder-photo-col { align-items: center; height: auto; }
  .founder-photo   { max-width: 320px; margin: 0 auto; flex: none; aspect-ratio: 4/5; }
}

/* ─── BUTTONS — minimum 44px touch targets on mobile ─────────────────────── */
@media (max-width: 899px) {
  .cs-internal-btn,
  .cs-demo-btn,
  .cs-demo-btn--secondary { min-height: 44px; }
}

/* ─── DASHBOARD MOCKUP — overflow guard ──────────────────────────────────── */
@media (max-width: 767px) {
  /* Decorative dashboard HTML must not push horizontal layout */
  .dash-layout { overflow-x: hidden; min-height: auto; }
  .dash-main   { overflow: hidden; }
}

/* ─── PLYR VIDEO THEME ───────────────────────────────────────────────────────── */
.plyr {
  --plyr-color-main: #ec4899;
  --plyr-range-fill-background: #ec4899;
  --plyr-range-track-height: 10px;
  --plyr-range-thumb-height: 18px;
  --plyr-range-thumb-background: #ec4899;
  --plyr-range-thumb-shadow: 0 0 0 3px rgba(236,72,153,0.35);
  --plyr-video-background: transparent;
  border-radius: 24px;
}
.dashboard-video-wrapper .plyr { width: 100%; height: 100%; }

/* Progress wrapper — larger hit area */
.plyr__progress {
  padding: 12px 0;
  cursor: pointer;
}

/* Track — light gray unfilled portion */
.plyr__progress input[type=range] {
  height: 10px;
  position: relative;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
}

.plyr__progress input[type=range]::-webkit-slider-runnable-track {
  height: 10px;
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
}
.plyr__progress input[type=range]::-moz-range-track {
  height: 10px;
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
}

/* Thumb */
.plyr__progress input[type=range]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  background: #ec4899;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -4px;
  box-shadow: 0 0 0 3px rgba(236,72,153,0.35);
}
.plyr__progress input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #ec4899;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(236,72,153,0.35);
}

/* Buffer bar — slightly visible */
.plyr__progress .plyr__progress__buffer {
  height: 10px;
  border-radius: 999px;
  color: rgba(255,255,255,0.15);
}

/* ─── PLYR — KALEDGE EMERALD OVERRIDE (scoped to two-column grid players) ─── */
.aic-video-wrapper .plyr {
  --plyr-color-main:             #10b981;
  --plyr-range-fill-background:  #10b981;
  --plyr-range-thumb-background: #10b981;
  --plyr-range-thumb-shadow:     0 0 0 3px rgba(16,185,129,0.38);
  position: relative;
  z-index: 2;
}
.aic-video-wrapper .plyr__progress input[type=range]::-webkit-slider-thumb {
  background:  #10b981;
  box-shadow:  0 0 0 3px rgba(16,185,129,0.38);
}
.aic-video-wrapper .plyr__progress input[type=range]::-moz-range-thumb {
  background:  #10b981;
  box-shadow:  0 0 0 3px rgba(16,185,129,0.38);
}

/* ─── KALEDGE THEME ──────────────────────────────────────────────────────────── */

/* Single prominent KalEdge CTA below section header */
.ke-hero-cta {
  margin: var(--s-8) 0;
}
.ke-hero-launch-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--r-xl);
  color: #fff;
  text-decoration: none;
  background: linear-gradient(148deg, #065f46 0%, #059669 50%, #047857 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 0 32px rgba(16, 185, 129, 0.42),
    0 0 70px rgba(5, 150, 105, 0.16),
    0 4px 20px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.28s var(--ease-out), transform 0.18s var(--ease-out), border-color 0.28s;
}
.ke-hero-launch-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.20) 50%, transparent 85%);
  animation: ke-shimmer 4.5s linear infinite;
  pointer-events: none;
}
.ke-hero-launch-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 40%, transparent 65%);
  border-radius: inherit;
  pointer-events: none;
}
.ke-hero-launch-btn:hover {
  background: linear-gradient(148deg, #059669 0%, #10b981 50%, #059669 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(0, 0, 0, 0.30),
    0 0 52px rgba(16, 185, 129, 0.62),
    0 0 100px rgba(5, 150, 105, 0.22),
    0 8px 28px rgba(0, 0, 0, 0.52);
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(52, 211, 153, 0.65);
}
@media (prefers-reduced-motion: reduce) { .ke-hero-launch-btn::before { animation: none; } }
@media (max-width: 640px) {
  .ke-hero-launch-btn { padding: 0.85rem 2rem; font-size: 0.9375rem; }
}

/* Label accent */
.ke-label {
  color: var(--emerald) !important;
}

/* Atmospheric backdrop — emerald glow instead of pink */
.ke-glow-backdrop {
  position: absolute;
  inset: -60px -40px;
  background: radial-gradient(ellipse at 50% 50%, rgba(16,185,129,0.12) 0%, rgba(52,211,153,0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Video wrapper — emerald glow border */
.ke-video-wrapper {
  position: relative;
  z-index: 1;
  width: min(75%, 1200px);
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(16,185,129,0.14);
  box-shadow:
    0 0 0 1px rgba(16,185,129,0.08),
    0 32px 80px rgba(0,0,0,0.60),
    0 0 60px rgba(16,185,129,0.05);
  background: #000;
  transition: box-shadow 0.3s ease;
}
.ke-video-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  border-radius: 0 0 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.ke-video-wrapper:hover {
  box-shadow:
    0 0 0 1px rgba(16,185,129,0.22),
    0 32px 80px rgba(0,0,0,0.65),
    0 0 80px rgba(16,185,129,0.10);
}
@media (max-width: 960px) {
  .ke-video-wrapper { width: 92%; }
}

/* Stats bar */
.ke-stats-bar {
  display: flex;
  align-items: center;
  margin: var(--s-8) 0;
  padding: var(--s-5) var(--s-8);
  background: rgba(16,185,129,0.04);
  border: 1px solid rgba(16,185,129,0.12);
  border-radius: var(--r-xl);
  max-width: 460px;
}
.ke-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ke-stat-value {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: -0.02em;
  line-height: 1;
}
.ke-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.ke-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(16,185,129,0.15);
  margin: 0 var(--s-6);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .ke-stats-bar {
    padding: var(--s-4) var(--s-5);
    max-width: 100%;
  }
  .ke-stat-value { font-size: 1.125rem; }
  .ke-stat-divider { margin: 0 var(--s-4); }
}

/* KalEdge primary button — emerald gradient with shimmer */
.ke-primary-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 24px;
  background: linear-gradient(150deg, #059669 0%, #10b981 52%, #065f46 100%);
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-lg);
  text-decoration: none;
  border: 1px solid rgba(16,185,129,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 0 24px rgba(16,185,129,0.22),
    0 4px 16px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.ke-primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  animation: ke-shimmer 5s linear infinite;
  pointer-events: none;
}
@keyframes ke-shimmer {
  0%   { left: -80%; opacity: 1; }
  32%  { left: 120%; opacity: 1; }
  32.01% { opacity: 0; }
  100% { left: 120%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ke-primary-btn::before { animation: none; }
}
.ke-primary-btn:hover {
  filter: brightness(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.28),
    0 0 36px rgba(16,185,129,0.38),
    0 6px 20px rgba(0,0,0,0.40);
  transform: translateY(-2px);
}
.ke-primary-btn--sm {
  flex-direction: row;
  align-items: center;
  padding: 12px 28px;
  font-size: 0.9375rem;
}

/* KalEdge secondary button — ghost emerald */
.ke-secondary-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 24px;
  background: rgba(16,185,129,0.04);
  color: var(--emerald-bright);
  font-weight: 600;
  border-radius: var(--r-lg);
  text-decoration: none;
  border: 1px solid rgba(16,185,129,0.22);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.ke-secondary-btn:hover {
  border-color: rgba(16,185,129,0.48);
  background: rgba(16,185,129,0.08);
  color: #fff;
  transform: translateY(-2px);
}

.ke-primary-btn .cs-demo-micro,
.ke-secondary-btn .cs-demo-micro,
.ke-hero-launch-btn .cs-demo-micro {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}
.ke-primary-btn .cs-demo-main,
.ke-secondary-btn .cs-demo-main,
.ke-hero-launch-btn .cs-demo-main {
  font-size: 0.9375rem;
  font-weight: 700;
  color: inherit;
}
.ke-secondary-btn .cs-demo-micro {
  color: rgba(52,211,153,0.60);
}

/* Override CTA bloom for KalEdge section — emerald instead of indigo */
#kaledge-project .cs-demo-cta.cs-demo-cta--pair::before {
  background: radial-gradient(ellipse, rgba(16,185,129,0.10) 0%, transparent 68%);
}

/* Project section separator */
.project-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.07) 25%, rgba(255,255,255,0.07) 75%, transparent 100%);
  margin: 0;
}

/* Touch target on mobile */
@media (max-width: 899px) {
  .ke-primary-btn,
  .ke-secondary-btn { min-height: 44px; }
}

/* ─── AI CONTENT PIPELINE SUBSECTION (inside KalEdge Project #1) ────────────── */

.ke-pipeline-section {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(16,185,129,0.10);
}
.ke-pipeline-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0 0 var(--s-3);
  line-height: 1.08;
}
.ke-pipeline-section .section-sub {
  margin-bottom: var(--s-2);
}

/* 2-column video grid */
.aic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  margin-top: var(--s-6);
  align-items: start;
}
@media (max-width: 860px) {
  .aic-grid {
    grid-template-columns: 1fr;
    gap: var(--s-10);
  }
}

/* Column */
.aic-col {
  display: flex;
  flex-direction: column;
}

/* Video label above each player */
.aic-vid-header {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.aic-vid-num {
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--emerald);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 3px;
  flex-shrink: 0;
}
.aic-vid-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-2);
  line-height: 1.3;
}
.aic-vid-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin: 0;
  line-height: 1;
}

/* Player wrap override — remove margin for grid layout */
.aic-player-wrap {
  margin-bottom: 0 !important;
  flex: 1;
}

/* Video wrapper — full width within column, emerald glow matching ke-video-wrapper */
.aic-video-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(16,185,129,0.14);
  box-shadow:
    0 0 0 1px rgba(16,185,129,0.08),
    0 24px 60px rgba(0,0,0,0.60),
    0 0 50px rgba(16,185,129,0.05);
  background: #000;
  transition: box-shadow 0.3s ease;
}
/* Decorative bottom gradient — must stay below Plyr controls (z-index: 3+) */
.aic-video-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.30) 0%, transparent 100%);
  border-radius: 0 0 20px 20px;
  pointer-events: none;
  z-index: 1;
}
.aic-video-wrapper:hover {
  box-shadow:
    0 0 0 1px rgba(16,185,129,0.22),
    0 24px 60px rgba(0,0,0,0.65),
    0 0 70px rgba(16,185,129,0.10);
}

/* Description block */
.aic-desc-block {
  margin-top: var(--s-8);
  padding: var(--s-8) var(--s-10);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
}
@media (max-width: 640px) {
  .aic-desc-block { padding: var(--s-6) var(--s-5); }
}

.aic-desc-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
}
.aic-desc-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 var(--s-4);
}
.aic-desc-body--last {
  margin-bottom: 0;
}

/* Workflow list */
.aic-workflow-list {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.aic-workflow-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
}
.aic-workflow-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}
.aic-workflow-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
  position: relative;
  top: -0.15em;
}

/* Tech badges */
.aic-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-6);
  margin-bottom: var(--s-5);
}
.aic-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.18);
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* Disclaimer */
.aic-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin: 0;
  line-height: 1.5;
}
