html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #fafaf9;
}

section {
  scroll-margin-top: 84px;
}

.mobile-menu-panel {
  min-height: 100vh;
  min-height: 100dvh;
  background: #020617;
  box-shadow: inset 0 -160px 220px rgba(234, 184, 75, 0.12);
}

.header-logo-shell {
  display: flex;
  align-items: center;
  width: clamp(9.25rem, 15vw, 12.5rem);
  max-width: 42vw;
  transition: transform 180ms ease, filter 180ms ease;
}

.group:hover .header-logo-shell {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 14px rgba(247, 201, 90, 0.26));
}

.header-logo {
  display: block;
  width: 100%;
  height: 2.65rem;
  object-fit: contain;
}

.mobile-logo-shell {
  display: flex;
  align-items: center;
  width: 12.5rem;
}

.mobile-logo {
  display: block;
  width: 100%;
  height: 3rem;
  object-fit: contain;
}

.pathway-card {
  background:
    radial-gradient(circle at 18% 36%, rgba(247, 201, 90, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.98));
}

.pathway-beam {
  position: absolute;
  left: 5.75rem;
  top: 9rem;
  width: min(34rem, 78vw);
  height: 6.8rem;
  transform-origin: 0 50%;
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 58%);
  background: linear-gradient(90deg, rgba(247, 201, 90, 0.48), rgba(247, 201, 90, 0.16) 42%, transparent 86%);
  filter: blur(1px);
  mix-blend-mode: screen;
  opacity: 0.7;
  animation: strobePath 5.8s ease-in-out infinite;
}

.pathway-beam-one {
  transform: rotate(-17deg);
}

.pathway-beam-two {
  top: 10.8rem;
  transform: rotate(5deg);
  animation-delay: 1.2s;
}

.pathway-beam-three {
  top: 12.8rem;
  transform: rotate(22deg);
  animation-delay: 2.4s;
}

.pathway-node {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 24rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.76);
  padding: 0.9rem;
  box-shadow: 0 16px 42px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(14px);
  animation: nodeGlow 5.8s ease-in-out infinite;
}

.pathway-node-2 {
  margin-left: clamp(0rem, 5vw, 4.5rem);
  animation-delay: 1.2s;
}

.pathway-node-3 {
  margin-left: clamp(0rem, 9vw, 8rem);
  animation-delay: 2.4s;
}

.founder-section {
  isolation: isolate;
}

.founder-accent {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
}

.founder-accent-one {
  right: -8rem;
  top: 6rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(247, 201, 90, 0.22), transparent 68%);
}

.founder-accent-two {
  left: -10rem;
  bottom: -10rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.12), transparent 66%);
}

.founder-reveal {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.founder-image-wrap {
  position: relative;
  min-height: 32rem;
  max-height: 46rem;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #0f172a;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.founder-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(2, 6, 23, 0.18));
}

.input {
  width: 100%;
  border-radius: 0.875rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 0.9rem 1rem;
  color: #0f172a;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.input:focus {
  border-color: #eab84b;
  box-shadow: 0 0 0 4px rgba(234, 184, 75, 0.18);
}

.input::placeholder {
  color: #94a3b8;
}

.text-balance {
  text-wrap: balance;
}

.text-slate-650 {
  color: #405066;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.animate-rise {
  animation: rise 620ms ease both;
}

@keyframes strobePath {
  0%,
  100% {
    opacity: 0.2;
    transform: rotate(var(--beam-rotation, 0deg)) scaleX(0.82);
  }

  34% {
    opacity: 0.85;
    transform: rotate(var(--beam-rotation, 0deg)) scaleX(1);
  }

  48% {
    opacity: 0.44;
  }
}

.pathway-beam-one {
  --beam-rotation: -17deg;
}

.pathway-beam-two {
  --beam-rotation: 5deg;
}

.pathway-beam-three {
  --beam-rotation: 22deg;
}

@keyframes nodeGlow {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 42px rgba(2, 6, 23, 0.35);
  }

  34% {
    border-color: rgba(247, 201, 90, 0.46);
    box-shadow: 0 18px 52px rgba(247, 201, 90, 0.16);
  }
}

@media (max-width: 520px) {
  .pathway-beam {
    left: 4.8rem;
    width: 24rem;
  }

  .pathway-node {
    padding: 0.75rem;
  }

  .founder-image-wrap {
    min-height: 28rem;
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .founder-reveal {
    opacity: 1;
    transform: none;
  }
}
