/* BC Networks motion preview: intentionally restrained and brand-consistent. */
.home-hero[data-astro-cid-j7pv25f6] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080d20;
}

.home-hero[data-astro-cid-j7pv25f6]::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -4%;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(47, 42, 90, .52) 100%),
    url("/assets/images/2026/03/Home-Banner.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.015);
  animation: bcn-hero-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}

.home-hero[data-astro-cid-j7pv25f6]::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    radial-gradient(circle at 12% 28%, rgba(193, 178, 255, .95) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 48% 18%, rgba(193, 178, 255, .75) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 42%, rgba(193, 178, 255, .85) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 88% 72%, rgba(193, 178, 255, .65) 0 1px, transparent 2px),
    linear-gradient(118deg, transparent 0 29%, rgba(193, 178, 255, .22) 29.1% 29.25%, transparent 29.35% 100%),
    linear-gradient(28deg, transparent 0 63%, rgba(193, 178, 255, .18) 63.1% 63.25%, transparent 63.35% 100%);
  background-size: 310px 240px, 380px 300px, 340px 280px, 420px 330px, 460px 360px, 520px 400px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
  animation: bcn-network-drift 30s linear infinite;
}

.home-hero[data-astro-cid-j7pv25f6] > .wrap {
  position: relative;
  z-index: 2;
}

@keyframes bcn-hero-drift {
  0% { transform: scale(1.015) translate3d(-.35%, 0, 0); }
  100% { transform: scale(1.055) translate3d(.45%, -.35%, 0); }
}

@keyframes bcn-network-drift {
  to { background-position: 310px -90px, -190px 110px, 170px 140px, -210px -120px, 80px 45px, -70px 50px; }
}

.motion-ready .home-hero-copy,
.motion-ready .assessment-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.22, 1, .36, 1);
}

.motion-ready .assessment-reveal {
  transition-delay: .18s;
}

.motion-ready .home-hero-copy.is-visible,
.motion-ready .assessment-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready [data-motion] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--motion-delay, 0ms);
}

.motion-ready [data-motion="fade-right"] {
  transform: translateX(-18px);
}

.motion-ready [data-motion].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (hover: hover) and (pointer: fine) {
  main .card,
  .model li,
  .founder-story__milestone {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }

  main .card:hover,
  .model li:hover,
  .founder-story__milestone:hover {
    transform: translateY(-4px);
    border-color: rgba(107, 58, 237, .34);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .1);
  }
}

.founder-story {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 440px at 88% 18%, rgba(107, 58, 237, .1), transparent 62%),
    var(--white);
}

.founder-story::before {
  content: "1989";
  position: absolute;
  top: -1.2rem;
  right: clamp(1rem, 6vw, 5rem);
  color: rgba(107, 58, 237, .045);
  font: 700 clamp(7rem, 17vw, 13rem)/1 var(--font-head);
  letter-spacing: -.06em;
  pointer-events: none;
}

.founder-story__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, .72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.founder-story__image-frame {
  position: relative;
  max-width: 28rem;
  padding: .7rem;
  border: 1px solid rgba(107, 58, 237, .2);
  border-radius: calc(var(--radius) + .5rem);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-lg);
}

.founder-story__image-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2rem -1.5rem -1.5rem 2rem;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(107, 58, 237, .26), rgba(33, 22, 82, .06));
}

.founder-story__image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.founder-story__since {
  position: absolute;
  right: -1.25rem;
  bottom: 1.75rem;
  max-width: 10rem;
  padding: .75rem 1rem;
  border-radius: .65rem;
  background: var(--ink-deep);
  color: #fff;
  box-shadow: var(--shadow);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.founder-story__content {
  max-width: 48rem;
}

.founder-story__content h2 {
  max-width: 42rem;
}

.founder-story__content > p:not(.eyebrow) {
  margin-top: 1.1rem;
  color: var(--muted);
}

.founder-story__timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2rem;
}

.founder-story__milestone {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .86);
}

.founder-story__milestone span {
  display: block;
  margin-bottom: .3rem;
  color: var(--brand);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .04em;
}

.founder-story__milestone p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.founder-story__link {
  margin-top: 1.75rem;
}

@media (max-width: 850px) {
  .founder-story__grid {
    grid-template-columns: 1fr;
  }

  .founder-story__portrait {
    max-width: 25rem;
  }
}

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

  .founder-story__since {
    right: .2rem;
    bottom: .9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero[data-astro-cid-j7pv25f6]::before,
  .home-hero[data-astro-cid-j7pv25f6]::after {
    animation: none;
  }

  .motion-ready .home-hero-copy,
  .motion-ready .assessment-reveal,
  .motion-ready [data-motion] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  main .card,
  .model li,
  .founder-story__milestone {
    transition: none;
  }
}
