/* NeuraViz: "From our Founder" (#founder). Scoped; additive only. */
#founder {
  --nvf-accent: #9bc4d8;
  --nvf-text: #dbe6ed;
  --nvf-meta: #9fb3c4;
  --nvf-rule: rgba(155, 196, 216, .35);
  --nvf-ease: cubic-bezier(.2, .7, .2, 1);
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: linear-gradient(125deg, #0d2a3f, #173f5f);
  border-bottom: 1px solid rgba(155, 196, 216, .15);
  color: var(--nvf-text);
}

#founder .nvf-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(640px, 80%);
  height: auto;
  opacity: .07;
  pointer-events: none;
}

#founder .nvf-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

#founder .nvf-portrait { display: none; }

#founder .eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--nvf-accent);
}

#founder .nvf-kbar {
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--nvf-accent);
}

#founder h2 {
  max-width: none;
  margin: 0 0 32px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}

#founder .nvf-rule {
  display: block;
  height: 1px;
  background: var(--nvf-rule);
}

#founder .nvf-rule-top { display: none; }

#founder figure { margin: 0; }

#founder blockquote {
  margin: 0 0 32px;
  padding-left: 16px;
  border-left: 2px solid var(--nvf-accent);
}

#founder .nvf-quote {
  display: block;
  height: 24px;
  margin-bottom: 8px;
  color: var(--nvf-accent);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

#founder blockquote p {
  max-width: 62ch;
  margin: 0 0 14px;
  color: var(--nvf-text);
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

#founder blockquote p:last-child { margin-bottom: 0; }

#founder blockquote strong {
  color: #ffffff;
  font-weight: 600;
}

#founder .nvf-sign {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

#founder .nvf-avatar img {
  width: 88px;
  height: 88px;
  padding: 3px;
  border: 2px solid var(--nvf-accent);
  border-radius: 50%;
  background: #0d2a3f;
  object-fit: cover;
}

#founder .nvf-bar {
  flex: none;
  width: 1px;
  height: 56px;
  background: var(--nvf-rule);
}

#founder .nvf-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#founder .nvf-name {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

#founder .nvf-role {
  color: var(--nvf-meta);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  #founder .nvf-wrap { width: calc(100% - 40px); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #founder { padding: 80px 0; }
  #founder .nvf-wrap { width: min(640px, calc(100% - 96px)); }
  #founder h2 { font-size: 34px; }
  #founder .nvf-avatar img { width: 104px; height: 104px; }
}

@media (min-width: 1024px) {
  #founder { padding: 96px 0; }

  #founder .nvf-wrap {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    column-gap: 56px;
    align-items: center;
  }

  #founder .nvf-portrait { display: block; }

  #founder .nvf-portrait img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
  }

  #founder .nvf-text { position: relative; }

  #founder .nvf-text::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -28px;
    width: 1px;
    background: rgba(155, 196, 216, .25);
  }

  #founder .nvf-kbar,
  #founder .nvf-quote,
  #founder .nvf-avatar { display: none; }

  #founder h2 { margin-bottom: 24px; font-size: 42px; }

  #founder .nvf-rule-top {
    display: block;
    margin-bottom: 32px;
  }

  #founder blockquote {
    padding-left: 0;
    border-left: 0;
  }

  #founder blockquote p {
    font-size: 17.5px;
    line-height: 1.75;
  }

  #founder .nvf-bar {
    width: 3px;
    background: var(--nvf-accent);
  }

  #founder .nvf-name { font-size: 21px; }
  #founder .nvf-role { font-size: 15px; }
}

/* Motion: only when founder.js adds .nvf-anim */
#founder.nvf-anim .nvf-r {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--nvf-ease), transform .5s var(--nvf-ease);
  transition-delay: calc(var(--nvf-i, 0) * 60ms);
}

#founder.nvf-anim .nvf-draw {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--nvf-ease);
  transition-delay: calc(var(--nvf-i, 0) * 60ms);
}

#founder.nvf-anim .nvf-bar {
  transform: scaleY(0);
  transform-origin: center top;
}

#founder.nvf-anim .nvf-portrait img {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .7s var(--nvf-ease), transform .9s var(--nvf-ease);
}

#founder.nvf-in .nvf-r,
#founder.nvf-in .nvf-draw,
#founder.nvf-in .nvf-portrait img {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  #founder .nvf-r,
  #founder .nvf-draw,
  #founder .nvf-portrait img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
