.founders-section {
  padding: clamp(3.25rem, 6vw, 4.75rem) 0;
  background: #ffffff;
}

.founders-section__inner {
  /* width: var(--container-wide); */
  width: min(96rem, calc(100% - 6rem));
  margin: 0 auto;
}

.founders-section__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.founders-section__title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1;
  font-weight: 500;
  color: #0a0a0a;
  text-wrap: balance;
}

.founders-section__subtitle {
  color: #4a5565;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
}

.founders-section__subtitle p {
  margin: 0;
}

.founders-section__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 1.94rem;
  align-items: start;
}

.founders-section__grid[data-count="1"] {
  grid-template-columns: minmax(0, 480px);
  margin-left: auto;
  margin-right: auto;
}

.founders-section__grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.founders-section__card {
  display: flex;
  flex-direction: column;
  border-radius: 2.5rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.founders-section__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 485 / 636;
  flex-shrink: 0;
  background: rgba(255, 182, 193, 0.1);
}

.founders-section__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(10, 10, 10, 0.05));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.founders-section__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: translate3d(0, calc(var(--founders-image-shift, 0px) + var(--founders-image-hover-shift, 0px)), 0) scale(var(--founders-image-scale, 1.12));
  transform-origin: center center;
  will-change: transform;
  filter: saturate(1.01);
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .founders-section__image {
    transform: none;
    will-change: auto;
  }
}

.founders-section__avatar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(32, 18, 28, 0.82);
  background: rgba(255, 233, 242, 0.82);
}

.founders-section__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.founders-section__identity {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.founders-section__identity-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 182, 193, 0.1);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px;
  margin-top: 4px;
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.founders-section__identity-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founders-section__name {
  margin: 0;
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  line-height: 1.25;
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: -0.01em;
  text-wrap: balance;
  word-break: break-word;
  hyphens: auto;
}

.founders-section__credentials {
  color: #4a5565;
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.founders-section__role {
  color: #6a7282;
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 500;
}

.founders-section__bio-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.founders-section__bio-inner {
  display: grid;
  grid-template-rows: 5rem;
  overflow: hidden;
  position: relative;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.founders-section__bio-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2rem;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* grid-template-rows on .is-expanded is set by JS to the exact scrollHeight in px */
.founders-section__bio-inner.is-expanded::after {
  opacity: 0;
}

.founders-section__bio {
  min-height: 0;
  color: #4a5565;
  font-size: 0.9375rem;
  line-height: 1.65;
  font-weight: 400;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.founders-section__bio p {
  margin: 0 0 0.75em;
}

.founders-section__bio p:last-child {
  margin-bottom: 0;
}

.founders-section__bio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #007893;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  width: fit-content;
  font-family: inherit;
  transition: color 0.2s ease;
}

.founders-section__bio-toggle:hover {
  color: #005a7a;
}

.founders-section__bio-toggle svg {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.founders-section__bio-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.founders-section__bio-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.founders-section__full-bio-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f766e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.founders-section__full-bio-link:hover {
  color: #0b5f58;
}

.founders-section__full-bio-link:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.founders-section__full-bio-link[hidden] {
  display: none !important;
}

.founders-section__full-bio-link--standalone {
  width: fit-content;
}

.founders-section__badge {
  width: fit-content;
  height: 36px;
  padding: 0 1rem;
  border-radius: 9999px;
  background: rgba(255, 182, 193, 0.1);
  color: #364153;
  font-size: 0.875rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.founders-section__profiles {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: min(1290px, 100%);
  margin: 0 auto;
}

.founders-section__profile {
  display: grid;
  grid-template-columns: minmax(320px, 410px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.founders-section__profile--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
}

.founders-section__profile--reverse .founders-section__profile-media {
  order: 2;
}

.founders-section__profile--reverse .founders-section__profile-content {
  order: 1;
}

.founders-section__profile-media {
  position: sticky;
  top: var(--founders-profile-sticky-top, 1.5rem);
  align-self: start;
  border-radius: 1.125rem;
  overflow: hidden;
  background: rgba(217, 235, 255, 0.45);
  aspect-ratio: 410 / 530;
}

.founders-section__profile-image,
.founders-section__profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founders-section__profile-avatar {
  display: grid;
  place-items: center;
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(41, 51, 68, 0.82);
}

.founders-section__profile-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding-top: 0.5rem;
}

.founders-section__profile-name {
  margin: 0;
  color: #414836;
  text-align: left;
  font-size: clamp(2.1rem, 3vw, 3.05rem);
  line-height: 1.2;
  font-weight: 400;
  text-wrap: balance;
}

.founders-section__profile-credentials {
  margin: 0;
  color: #414836;
  text-align: left;
  font-size: 1.55rem;
  line-height: 1.3;
  font-weight: 600;
}

.founders-section__profile-role {
  margin: 0;
  color: #5f6468;
  text-align: left;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: 0.012em;
  text-transform: uppercase;
}

.founders-section__profile-bio {
  margin-top: 0.25rem;
  color: #414836;
  text-align: left;
  font-size: 1rem;
  line-height: 1.7;
  width: min(690px, 100%);
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.founders-section__profile-bio.is-collapsed {
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}

.founders-section__profile-bio p {
  margin: 0 0 1rem;
}

.founders-section__profile-bio p:last-child {
  margin-bottom: 0;
}

.founders-section__profile-bio-wrap {
  width: min(690px, 100%);
}

.founders-section__profile-show-more {
  margin-top: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: #007893;
  transition: color 0.2s ease;
}

.founders-section__profile-show-more:hover {
  color: #005f72;
}

.founders-section__profile-show-more:focus-visible {
  outline: 2px solid #007893;
  outline-offset: 2px;
}

.founders-section__profile-show-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.founders-section__profile-show-more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .founders-section__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 52px rgba(15, 23, 42, 0.16);
  }

  .founders-section__card:hover .founders-section__media::after {
    opacity: 1;
  }

  .founders-section__card:hover .founders-section__image {
    --founders-image-hover-shift: -10px;
    --founders-image-scale: 1.18;
    filter: saturate(1.06);
  }

  .founders-section__card:hover .founders-section__identity-icon {
    transform: translateY(-2px);
    background: rgba(255, 182, 193, 0.2);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  }

  .founders-section__card:hover .founders-section__badge {
    transform: translateY(-2px);
    background: rgba(255, 182, 193, 0.18);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  }
}

@media (max-width: 1100px) {
  .founders-section__grid,
  .founders-section__grid[data-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .founders-section {
    padding: 3.75rem 0;
  }

  .founders-section__inner {
    width: min(100%, calc(100% - 2rem));
  }

  .founders-section__grid,
  .founders-section__grid[data-count="2"],
  .founders-section__grid[data-count="3"] {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .founders-section__name {
    white-space: normal;
  }

  .founders-section__body {
    padding: 1.5rem;
  }

  .founders-section__image {
    transform: none;
    will-change: auto;
  }

  .founders-section__profiles {
    gap: 2rem;
  }

  .founders-section__profile,
  .founders-section__profile--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .founders-section__profile--reverse .founders-section__profile-media,
  .founders-section__profile--reverse .founders-section__profile-content {
    order: initial;
  }

  .founders-section__profile-media {
    position: static;
    top: auto;
    max-width: 410px;
  }

  .founders-section__profile-name {
    font-size: clamp(1.95rem, 8.6vw, 2.35rem);
  }

  .founders-section__profile-credentials {
    font-size: 1.15rem;
  }
}