:root {
  --color-bg: #f8f9fc;
  --color-surface: #ffffff;
  --color-primary: #5b36f0;
  /* Slightly deeper purple */
  --color-primary-dark: #4626c9;
  --color-text: #0f111a;
  /* Darker, sharper text */
  --color-muted: #5e6575;
  --color-border: #e6eaf0;

  --shadow-sm: 0 2px 8px -2px rgba(27, 33, 52, 0.06);
  --shadow-md: 0 12px 30px -10px rgba(27, 33, 52, 0.08);
  --shadow-lg: 0 25px 60px -20px rgba(27, 33, 52, 0.12);
  --shadow-glow: 0 0 40px -10px rgba(91, 54, 240, 0.35);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --max-width: 1240px;
  /* Wider container */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  /* More breathing room */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Noise Texture Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

.logo-text {
  color: var(--color-text);
}

.site-nav {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-weight: 500;
}

.nav-list a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--color-primary);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: none;
  background: rgba(97, 62, 243, 0.08);
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  width: 1.45rem;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  content: "";
}

.nav-toggle-bar::before {
  transform: translateY(-6px);
}

.nav-toggle-bar::after {
  transform: translateY(6px);
}

.nav-open .nav-toggle-bar {
  background: transparent;
}

.nav-open .nav-toggle-bar::before {
  transform: rotate(45deg);
}

.nav-open .nav-toggle-bar::after {
  transform: rotate(-45deg);
}

.nav-open .nav-toggle-bar::before,
.nav-open .nav-toggle-bar::after {
  background: var(--color-primary);
}

.hero {
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

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

.lines-bg-canvas {
  position: absolute;
  inset: -15% -5% -5%;
  width: 110%;
  height: 120%;
  display: block;
  filter: drop-shadow(0 40px 60px rgba(16, 18, 34, 0.25));
  opacity: 0.7;
  z-index: 1;
}

.lines-bg-glow {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0.4;
  animation: lines-glow 12s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes lines-glow {
  from {
    transform: translate3d(-2%, -2%, 0) scale(1);
    opacity: 0.4;
  }

  to {
    transform: translate3d(2%, 4%, 0) scale(1.05);
    opacity: 0.6;
  }
}

.hero-bg {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 249, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(97, 62, 243, 0.15), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(97, 62, 243, 0.12), transparent 50%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.75;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-glow {
  background: radial-gradient(circle at 60% 30%, rgba(97, 62, 243, 0.35), transparent 50%);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(97, 62, 243, 0.12);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.badge-light {
  color: var(--color-text);
  background: rgba(26, 29, 41, 0.08);
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw + 1rem, 3.7rem);
  line-height: 1.1;
  margin: 1.2rem 0 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 32rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.35s ease, background 0.3s ease,
    color 0.3s ease;
  will-change: transform;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-link {
  background: rgba(97, 62, 243, 0.08);
  color: var(--color-primary);
}

.btn-link:hover,
.btn-link:focus-visible {
  border-color: rgba(97, 62, 243, 0.3);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 36px -28px rgba(97, 62, 243, 0.4);
}

.hero-visual {
  background: radial-gradient(circle at 30% 20%, rgba(97, 62, 243, 0.24), transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(97, 62, 243, 0.16), transparent 60%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.hero-video {
  display: block;
  width: 100%;
  min-height: 380px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.clients {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(97, 62, 243, 0.06));
  border-top: 1px solid rgba(227, 232, 240, 0.6);
  border-bottom: 1px solid rgba(227, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.clients::before,
.clients::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.clients::before {
  background: linear-gradient(120deg, rgba(97, 62, 243, 0.08), transparent 55%);
}

.clients::after {
  background: repeating-linear-gradient(115deg,
      rgba(97, 62, 243, 0.05),
      rgba(97, 62, 243, 0.05) 2px,
      transparent 2px,
      transparent 20px),
    radial-gradient(circle at 80% -20%, rgba(121, 94, 255, 0.18), transparent 45%);
  mix-blend-mode: soft-light;
  animation: clients-grid 18s linear infinite;
  opacity: 0.5;
}

@keyframes clients-grid {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-6%, -6%, 0);
  }
}

.clients-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.clients-heading h2 {
  margin-top: 0.8rem;
  font-size: 2rem;
}

.logo-ticker {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 249, 0.94));
  padding: 1rem 0;
  box-shadow: 0 35px 70px -50px rgba(27, 33, 52, 0.65);
}

.logo-ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0;
  animation: ticker-shimmer 12s ease-in-out infinite;
}

@keyframes ticker-shimmer {

  0%,
  35% {
    opacity: 0;
    transform: translateX(-60%);
  }

  50% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(60%);
  }
}

.logo-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  gap: 2.5rem;
  animation: ticker-slide 28s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.logo-track img {
  height: clamp(110px, 12vw, 180px);
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.logo-track img:nth-child(2n) {
  animation-duration: 8.5s;
  animation-delay: -2s;
}

.logo-track img:nth-child(3n) {
  animation-duration: 6.5s;
  animation-delay: -1s;
}

@keyframes logo-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.logo-track img:hover {
  opacity: 1;
}

@keyframes ticker-slide {
  0% {
    transform: translateX(0);
  }

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

.section-headline {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 3rem;
}

.section-headline h2 {
  font-size: 2.4rem;
  margin: 1rem 0 0.6rem;
}

.section-intro {
  color: var(--color-muted);
}

.services {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 249, 1));
  overflow: hidden;
  isolation: isolate;
}

.services>.container {
  position: relative;
  z-index: 1;
}

.services::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(245, 246, 249, 0), rgba(97, 62, 243, 0.12));
  pointer-events: none;
  z-index: 0;
}

.services-bg {
  background: radial-gradient(circle at 50% 0%, rgba(97, 62, 243, 0.12), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(157, 199, 255, 0.12), transparent 55%);
}

.services-bg-canvas {
  opacity: 0.35;
}

.services-bg-glow {
  background: radial-gradient(circle at 45% 10%, rgba(121, 94, 255, 0.26), transparent 55%);
  animation-duration: 18s;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(91, 54, 240, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

/* Scroll Reveal Utility */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

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

html.js .card[data-card-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.js .card[data-card-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cards .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from 90deg,
      rgba(121, 94, 255, 0.9),
      rgba(121, 178, 255, 0.7),
      rgba(121, 94, 255, 0.9),
      rgba(255, 255, 255, 0.8));
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(121, 94, 255, 0.5));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

html.js .card[data-card-animate].is-visible::before {
  animation: neon-border 2s ease-out 0.15s forwards;
}

@keyframes neon-border {
  0% {
    opacity: 0;
    transform: scale(0.92);
    background-position: 0 0;
  }

  10% {
    opacity: 1;
  }

  70% {
    opacity: 0.8;
    transform: scale(1.01);
    background-position: 200% 0;
  }

  100% {
    opacity: 0;
    transform: scale(1.02);
    background-position: 300% 0;
  }
}

.cards .card,
.approach-card,
.about .highlight,
.blog-card,
.blog-sources,
.funding-card,
.contact-form,
.legal-section {
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.45s ease,
    border-color 0.45s ease, background 0.45s ease;
  will-change: transform;
}

.cards .card:hover,
.cards .card:focus-within,
.approach-card:hover,
.approach-card:focus-within,
.blog-card:hover,
.blog-card:focus-within,
.blog-sources:hover,
.blog-sources:focus-within,
.funding-card:hover,
.funding-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px -45px rgba(27, 33, 52, 0.65);
  border-color: rgba(97, 62, 243, 0.25);
}

.about .highlight:hover,
.about .highlight:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -40px rgba(27, 33, 52, 0.4);
  border-color: rgba(97, 62, 243, 0.2);
}

.contact-form:hover,
.contact-form:focus-within,
.legal-section:hover,
.legal-section:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px -45px rgba(27, 33, 52, 0.5);
  border-color: rgba(97, 62, 243, 0.2);
}

.card-icon {
  width: 3.5rem;
  height: auto;
  transition: transform 0.45s ease;
}

.cards .card:hover .card-icon,
.cards .card:focus-within .card-icon {
  transform: translateY(-6px) scale(1.05);
}

.card h3 {
  font-size: 1.5rem;
  margin: 0.4rem 0;
}

.card p {
  color: var(--color-muted);
}

.card ul {
  display: grid;
  gap: 0.6rem;
  padding-left: 1rem;
  list-style: disc;
  color: var(--color-text);
}

.approach {
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, #f5f6f9 65%);
}

.approach-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.approach-summary>p {
  color: var(--color-muted);
  max-width: 36rem;
}

.approach-bg {
  background: radial-gradient(circle at 15% 10%, rgba(97, 62, 243, 0.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(121, 94, 255, 0.12), transparent 60%);
}

.approach-bg-canvas {
  opacity: 0.55;
}

.approach-bg-glow {
  background: radial-gradient(circle at 70% 60%, rgba(97, 62, 243, 0.25), transparent 55%);
  animation-duration: 16s;
  animation-delay: -3s;
}

.approach-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

.approach-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(97, 62, 243, 0.12);
  box-shadow: 0 20px 40px -32px rgba(16, 18, 34, 0.8);
}

.approach-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(97, 62, 243, 0.1);
  padding: 1.3rem 1.1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease,
    background 0.4s ease;
  position: relative;
  overflow: hidden;
}

.metric::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 120% 0%, rgba(97, 62, 243, 0.15), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.metric-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
}

.metric-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.3rem;
}

.metric:hover,
.metric:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px -45px rgba(27, 33, 52, 0.5);
  border-color: rgba(97, 62, 243, 0.35);
  background: #fff;
}

.metric:hover::after,
.metric:focus-within::after {
  opacity: 1;
}

.approach-playbook {
  position: relative;
  z-index: 1;
}

.playbook {
  height: 100%;
  background: rgba(13, 16, 35, 0.95);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 55px 110px -70px rgba(8, 10, 24, 0.95);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.playbook-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.playbook-heading p {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.playbook-heading span {
  font-size: 1.3rem;
  font-weight: 600;
}

.playbook-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.timeline-item {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.timeline-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(97, 62, 243, 0.35);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.92);
}

.timeline-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.timeline-item:hover,
.timeline-item:focus-within {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 25px 45px -35px rgba(3, 5, 18, 0.8);
}

.approach-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.approach-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(97, 62, 243, 0.12);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.approach-card-phase {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(97, 62, 243, 0.12);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
}

.approach-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.approach-card p {
  margin: 0;
  color: var(--color-muted);
}

.approach-card ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  display: grid;
  gap: 0.5rem;
  color: var(--color-text);
}

.about {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f5f6f9 0%, #ffffff 100%);
  position: relative;
  isolation: isolate;
}

.about>.container {
  position: relative;
  z-index: 1;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.about-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-text p {
  color: var(--color-muted);
  max-width: 32rem;
}

.about-highlights {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.highlight {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(97, 62, 243, 0.08);
}

.highlight-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.highlight-label {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.blog-page {
  padding: 5rem 0 4rem;
  background: var(--color-bg);
}

.blog-page .container {
  width: min(100% - 2.5rem, 1280px);
}

.blog-hero {
  display: grid;
  gap: 1.4rem;
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.blog-hero>* {
  justify-self: center;
}

.blog-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.blog-lead {
  color: var(--color-muted);
  font-size: 1.1rem;
}

.blog-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.blog-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 29, 41, 0.05);
  display: grid;
  gap: 1.2rem;
}

.blog-card-header {
  display: grid;
  gap: 0.6rem;
}

.blog-card-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(97, 62, 243, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  width: fit-content;
}

.blog-meta {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.blog-highlights {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--color-text);
  display: grid;
  gap: 0.5rem;
}

.blog-link {
  justify-self: flex-start;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}

.blog-link::after {
  content: "→";
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.blog-link:hover,
.blog-link:focus-visible {
  color: var(--color-primary-dark);
}

.blog-link:hover::after,
.blog-link:focus-visible::after {
  transform: translateX(4px);
}

.blog-sources {
  margin-top: 4rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26, 29, 41, 0.08);
}

.blog-sources h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.blog-sources ol {
  margin: 0;
  padding-left: 1.4rem;
  color: var(--color-muted);
  display: grid;
  gap: 0.5rem;
}

.blog-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.funding {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(97, 62, 243, 0.1), transparent 70%);
}

.funding-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3rem;
  align-items: center;
}

.funding-text p {
  color: var(--color-muted);
  max-width: 34rem;
}

.funding-list {
  margin: 2rem 0;
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--color-text);
  display: grid;
  gap: 0.6rem;
}

.funding-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3vw, 2.4rem);
  border: 1px solid rgba(26, 29, 41, 0.05);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.2rem;
  max-width: 420px;
  margin-left: auto;
}

.funding-stat {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.funding-percentage {
  font-size: clamp(3rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--color-primary);
}

.funding-caption {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.funding-note {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.legal-page {
  padding: 6rem 0 5rem;
}

.legal-wrapper {
  display: grid;
  gap: 2.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
}

.legal-header {
  display: grid;
  gap: 0.8rem;
}

.legal-header h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin: 0;
}

.legal-meta {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.legal-section {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 29, 41, 0.05);
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
}

.legal-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.legal-section p+p {
  margin-top: 1rem;
}

.legal-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 1.2rem;
}

.legal-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  list-style: disc;
  color: var(--color-muted);
}

.legal-list li+li {
  margin-top: 0.6rem;
}

.contact {
  padding: 5rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: start;
}

.contact-text p {
  color: var(--color-muted);
  max-width: 34rem;
}

.contact-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
  color: var(--color-text);
}

.contact-heading {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(97, 62, 243, 0.12);
  padding: 0.75rem;
  box-shadow: 0 12px 24px -16px rgba(97, 62, 243, 0.6);
  margin-top: 0.25rem;
}

.contact-heading-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-heading-text .badge {
  margin: 0;
  padding: 0.25rem 0.65rem;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.contact-heading-text h2 {
  margin: 0;
}

.contact-form {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(26, 29, 41, 0.05);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1rem;
  max-width: 640px;
  margin-left: auto;
  align-self: stretch;
}

.contact-form h3 {
  margin: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(245, 246, 249, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(97, 62, 243, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0.1;
  z-index: 0;
}

.contact-form>* {
  position: relative;
  z-index: 1;
}

.form-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* Honeypot - Visually hidden but accessible to bots */
.honeypot-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  background: #0f1320;
  color: rgba(255, 255, 255, 0.88);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand .logo-mark {
  background: #fff;
  color: #0f1320;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-legal {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1024px) {

  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .approach-content {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-visual {
    order: -1;
    padding: 2.2rem;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-playbook {
    margin-top: 1rem;
  }

  .approach-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    gap: 2rem;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 1.6rem, var(--max-width));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: fixed;
    inset: 0;
    top: 0;
    height: 100dvh;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .nav-open #primary-navigation {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list a {
    font-size: 1.5rem;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .nav-open .nav-list a {
    transform: translateY(0);
    opacity: 1;
  }

  /* Staggered menu items */
  .nav-open .nav-list li:nth-child(1) a {
    transition-delay: 0.1s;
  }

  .nav-open .nav-list li:nth-child(2) a {
    transition-delay: 0.15s;
  }

  .nav-open .nav-list li:nth-child(3) a {
    transition-delay: 0.2s;
  }

  .nav-open .nav-list li:nth-child(4) a {
    transition-delay: 0.25s;
  }

  .nav-open .nav-list li:nth-child(5) a {
    transition-delay: 0.3s;
  }

  .nav-toggle {
    z-index: 101;
    /* Above the fullscreen menu */
  }

  .logo-track {
    animation-duration: 60s;
    /* Slower on mobile */
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    max-width: 100%;
    margin-left: 0;
  }

  .contact-text p {
    max-width: none;
  }

  .contact-heading {
    align-items: center;
  }

  .blog-hero {
    gap: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    padding: 2rem;
  }

  .hero-content {
    gap: 2.5rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .clients-content {
    align-items: center;
    text-align: center;
  }

  .logo-track {
    gap: 2rem;
  }

  .hero-video {
    min-height: 320px;
  }

  .approach-metrics {
    grid-template-columns: 1fr;
  }

  .approach-cards {
    grid-template-columns: 1fr;
  }

  .playbook {
    padding: 1.8rem;
  }

  .about-content {
    gap: 2rem;
  }

  .about-photo {
    order: -1;
  }

  .footer-links {
    gap: 1rem;
  }

  .funding-content {
    grid-template-columns: 1fr;
  }

  .funding-card {
    margin-left: 0;
    max-width: 100%;
  }

  .funding {
    padding: 4.5rem 0;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .contact-icon {
    width: 52px;
    height: 52px;
    padding: 0.6rem;
  }

  .blog-hero h1 {
    font-size: 2.2rem;
  }

  .blog-card {
    padding: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .lead {
    font-size: 1rem;
  }

  .logo-track {
    gap: 1.4rem;
  }

  .logo-track img {
    height: clamp(130px, 35vw, 180px);
  }

  .cards .card {
    padding: 2rem 1.6rem;
  }

  .approach-pills {
    flex-direction: column;
  }

  .approach-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .approach-card {
    padding: 1.8rem;
  }

  .approach-summary {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .approach-summary .approach-pills {
    justify-content: center;
  }

  .highlight-number {
    font-size: 1.7rem;
  }

  .contact {
    padding: 4rem 0;
  }

  .contact-form {
    padding: 1.6rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-sources {
    padding: 1.8rem;
  }

  .funding-card {
    padding: 1.8rem;
  }

  .funding-list {
    gap: 0.5rem;
  }

  .hero-video {
    min-height: 220px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-visual {
    padding: 1.5rem;
  }

  .hero-visual img {
    border-radius: var(--radius-sm);
  }

  .funding-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .funding-card {
    margin-left: 0;
    max-width: 100%;
  }

  .hero-video {
    min-height: 180px;
  }

  .badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
  }

  .contact-heading-text h2 {
    font-size: 1.6rem;
  }

  .blog-card-header h2 {
    font-size: 1.45rem;
  }
}

@media (max-width: 480px) {

  /* Hide less important text on small screens */
  .card p,
  .approach-summary>p,
  .contact-text p,
  .about-text p,
  .funding-text p,
  .approach-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Hide lists in cards on mobile to reduce clutter */
  .card ul,
  .approach-card ul {
    display: none;
  }

  /* Hide secondary text in funding and about */
  .funding-text p:not(:first-of-type),
  .about-text p:not(:first-of-type) {
    display: none;
  }
}

/* Boot-up Animation */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.boot-up .hero-text>* {
  opacity: 0;
  animation: fade-in-up 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

body.boot-up .hero-text .badge {
  animation-delay: 0.1s;
}

body.boot-up .hero-text h1 {
  animation-delay: 0.2s;
}

body.boot-up .hero-text .lead {
  animation-delay: 0.3s;
}

body.boot-up .hero-text .hero-actions {
  animation-delay: 0.4s;
}

body.boot-up .hero-visual {
  opacity: 0;
  animation: fade-in-up 1s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.3s;
}

/* BAFA Wizard Modal */
.bafa-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bafa-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.bafa-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 16, 35, 0.6);
  backdrop-filter: blur(8px);
}

.bafa-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.bafa-modal.is-open .bafa-content {
  transform: translateY(0);
}

.bafa-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-muted);
  padding: 0.5rem;
  line-height: 1;
}

.wizard-step {
  animation: fade-in-up 0.4s ease forwards;
}

.wizard-step h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.wizard-list {
  margin: 1.5rem 0;
  padding-left: 1.2rem;
  list-style: disc;
  color: var(--color-text);
  display: grid;
  gap: 0.5rem;
}

.wizard-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.wizard-actions .btn {
  flex: 1;
}

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

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

.wizard-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  margin-top: 1rem;
  font-family: inherit;
}

.wizard-input.error {
  border-color: #ef4444;
  background: #fef2f2;
}

.wizard-success {
  text-align: center;
}

.result-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.result-box {
  background: rgba(97, 62, 243, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.result-label {
  font-size: 0.9rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.result-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.result-amount {
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 500;
}

.wizard-fail {
  text-align: center;
}

/* --- Services Redesign (Split Layout) --- */
.service-rows {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  /* Reduced gap */
  margin-top: 3rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  /* Reduced gap */
  align-items: center;
}

.service-row.reverse .service-image {
  order: -1;
}

.service-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
  max-width: 85%;
  /* Reduce image size */
  margin: 0 auto;
  /* Center it */
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.service-image:hover img {
  transform: scale(1.03);
}

.service-card {
  height: auto;
  /* Don't force height */
  justify-content: center;
  padding: 2rem;
  /* Reduced padding */
}

@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-row.reverse .service-image {
    order: 0;
  }

  .service-row,
  .service-row.reverse {
    display: flex;
    flex-direction: column;
  }

  .service-image {
    max-width: 100%;
  }
}

/* --- Recruiting Section --- */
.recruiting {
  padding: 6rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
  position: relative;
  overflow: hidden;
}

.recruiting-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.recruiting-text h2 {
  font-size: 2.4rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.2;
}

.recruiting-text>p {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 34rem;
}

.recruiting-list {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.recruiting-list li {
  position: relative;
  padding-left: 1.5rem;
}

.recruiting-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: var(--color-primary);
  font-weight: 800;
}

.recruiting-list strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.recruiting-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.recruiting-visual {
  position: relative;
}

.recruiting-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: transform 0.5s ease;
  background: #fff;
  padding: 0.5rem;
  /* White border effect */
}

.recruiting-image-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

.recruiting-image-wrapper img {
  border-radius: calc(var(--radius-lg) - 4px);
  width: 100%;
  height: auto;
  display: block;
}

.recruiting-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(97, 62, 243, 0.25), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .recruiting-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .recruiting-image-wrapper {
    transform: rotate(0);
    max-width: 100%;
  }

  .recruiting-visual {
    order: -1;
    /* Image on top on mobile */
  }
}

/* --- Sticky Horizontal Timeline (Zusammenarbeit) --- */
.timeline-container {
  position: relative;
  height: 300vh;
  /* Scroll distance */
  margin-top: 4rem;
}

.timeline-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fix for sticky behavior */
.approach {
  overflow: visible !important;
}

.timeline-horizontal-track {
  position: relative;
  width: 95%;
  max-width: 1200px;
  /* Increased width for images */
  height: 500px;
  /* Increased height */
  display: flex;
  align-items: center;
}

.timeline-line-bg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(97, 62, 243, 0.1);
  border-radius: 4px;
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-line-fill {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%;
  /* JS will animate this */
  height: 4px;
  background: var(--color-primary);
  border-radius: 4px;
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(97, 62, 243, 0.5);
}

.timeline-steps-horizontal {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.timeline-step-h {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  /* Reduced width to fit images */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-step-h.active {
  opacity: 1;
  transform: translateY(0);
}

.step-marker {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid var(--color-primary);
  border-radius: 50%;
  margin-bottom: 2rem;
  position: relative;
  z-index: 4;
  box-shadow: 0 0 0 4px rgba(97, 62, 243, 0.1);
  transition: transform 0.3s ease;
}

.timeline-step-h.active .step-marker {
  transform: scale(1.2);
  background: var(--color-primary);
}

.step-card-h {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
  text-align: center;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card-h:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-card-h h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-card-h p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Shine Badge for Labels */
.shine-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.shine-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
  transform: skewX(-25deg);
  animation: shine-sweep-infinite 3s infinite;
}

@keyframes shine-sweep-infinite {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

/* Connector Images */
.timeline-connector-image {
  width: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-connector-image.is-visible {
  opacity: 1;
  transform: scale(1);
}

.timeline-connector-image img {
  width: 100%;
  max-width: 80px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Cycle Arrow */
.timeline-cycle-arrow {
  position: absolute;
  bottom: -50px;
  right: 0;
  width: 60px;
  height: 60px;
  color: var(--color-primary);
  opacity: 0.6;
  animation: spin-slow 15s linear infinite;
}

.cycle-svg {
  width: 100%;
  height: 100%;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Video Fade In */
.hero-video-container {
  background-color: #fff;
  /* Match video start color to hide black frame */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  /* Optional: adds a nice depth */
}

.hero-video {
  opacity: 0;
  transition: opacity 1.5s ease-in;
}

.hero-video.is-playing {
  opacity: 1;
}

@media (max-width: 768px) {
  .timeline-container {
    height: auto;
    /* Remove scroll distance */
    margin-top: 2rem;
    padding-bottom: 4rem;
  }

  .timeline-sticky {
    position: relative;
    /* Disable sticky */
    height: auto;
    top: auto;
    display: block;
    overflow: visible;
  }

  .timeline-horizontal-track {
    flex-direction: column;
    height: auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
  }

  .timeline-line-bg {
    width: 4px;
    height: 100%;
    left: 20px;
    top: 0;
    transform: none;
  }

  .timeline-line-fill {
    width: 4px;
    height: 0%;
    /* JS will animate or we can set to 100% if we want static line */
    left: 20px;
    top: 0;
    transform: none;
    transition: height 0.3s ease;
  }

  .timeline-steps-horizontal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    /* Gap handled by padding/margin of steps */
  }

  .timeline-step-h {
    width: 100%;
    flex-direction: column;
    /* Keep content vertical */
    align-items: flex-start;
    padding-left: 3.5rem;
    /* Space for line */
    margin-bottom: 3rem;
    opacity: 0;
    /* Start hidden for reveal */
    transform: translateY(20px);
  }

  .timeline-step-h.active {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline-connector-image {
    width: 100%;
    margin: 0 0 3rem 0;
    padding-left: 3.5rem;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(20px);
  }

  .timeline-connector-image.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline-connector-image img {
    max-width: 60px;
  }

  .step-marker {
    position: absolute;
    left: 12px;
    top: 0;
    margin-bottom: 0;
  }

  .step-card-h {
    text-align: left;
    width: 100%;
  }

  .timeline-cycle-arrow {
    bottom: -40px;
    right: 0;
    width: 50px;
    height: 50px;
  }
}

/* --- Funding Highlight --- */
.funding-highlight-wrapper {
  margin: 2rem 0;
}

.funding-highlight {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 242, 255, 0.9));
  border: 1px solid rgba(97, 62, 243, 0.2);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funding-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
}

.funding-highlight:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.funding-highlight:hover::before {
  left: 200%;
  transition: left 0.7s ease;
}

/* Trigger shine on scroll */
.funding-highlight.shine-effect::before {
  animation: shine-sweep 1.5s ease forwards;
}

@keyframes shine-sweep {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

/* --- Contact Grid --- */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-item strong {
  color: var(--color-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
}

@media (max-width: 600px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Cookie Banner & Settings
   ========================================= */
.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 400px);
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(97, 62, 243, 0.05), 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  z-index: 9999;
  animation: cookie-fade-in 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.cookie-banner.hidden {
  display: none;
}

@keyframes cookie-fade-in {
  from {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.cookie-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.cookie-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cookie-content h3 {
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
}

.cookie-actions .btn {
  width: 100%;
  justify-content: center;
}

.cookie-settings-panel {
  display: none;
  background: rgba(97, 62, 243, 0.03);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(97, 62, 243, 0.08);
  text-align: left;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-label {
  display: flex;
  flex-direction: column;
}

.cookie-option-label strong {
  font-size: 0.95rem;
  color: var(--color-text);
}

.cookie-option-label small {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.toggle-slider {
  background-color: var(--color-primary);
}

input:checked+.toggle-slider:before {
  transform: translateX(20px);
}

input:disabled+.toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Floating Settings Button */
.cookie-settings-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 9990;
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s ease;
}

.cookie-settings-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.cookie-settings-btn.hidden {
  display: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .cookie-settings-btn {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
  }
}