.team-story {
  background: #edf2eb;
}

.founder summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.founder summary::-webkit-details-marker {
  display: none;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 32px;
}

.founder {
  display: block;
  min-width: 0;
  text-align: center;
}

.founder-photo {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  -webkit-clip-path: circle(50% at 50% 50%);
  -webkit-mask-image: radial-gradient(circle,#fff 70%,transparent 71%);
  mask-image: radial-gradient(circle,#fff 70%,transparent 71%);
  background: #dce5d8;
}

.founder-photo img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: var(--photo-width,260%);
  max-width: none;
  height: auto;
  transform: translate(calc(-1 * var(--face-x,50%)),calc(-1 * var(--face-y,50%)));
}

.founder h3 {
  font-weight: 600;
  font-size: clamp(18px,1.55vw,23px);
  margin: 20px 0 0;
  line-height: 1.35;
  letter-spacing: -.04em;
}

.founder p.founder-role {
  min-height: 3.4em;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  max-width: 220px;
  margin: 7px auto 0;
}

@media(max-width:1000px) {
  .founder-grid {
    gap: 22px;
  }
  .founder p.founder-role {
    font-size: 10px;
  }
}

.founder p.founder-bio {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.85;
  text-align: left;
  color: #607363;
}

.founder .founder-experience {
  margin-top: 18px;
  padding: 0;
  border: 1px solid #c4d3bb;
  border-radius: 18px;
  background: #f8fbf5;
  box-shadow: 0 4px 14px #24433406;
  text-align: left;
  overflow: hidden;
  interpolate-size: allow-keywords;
  transition: background .3s,border-color .3s,box-shadow .35s;
}

.founder .founder-experience:hover {
  background: #fff;
  border-color: #a8bf99;
  box-shadow: 0 8px 22px #24433410;
}

.founder-experience summary {
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #385841;
  transition: background .3s,color .3s;
}

.founder-experience summary:focus-visible {
  outline: 2px solid #7d9e64;
  outline-offset: -4px;
  border-radius: 17px;
}

.founder .founder-experience[open] {
  background: #fff;
  border-color: #b1c5a4;
  box-shadow: 0 12px 28px #24433410;
}

.founder-experience[open]>summary {
  background: #244c38;
  color: #f4f8ed;
}

.founder-book {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid #d6e2cc;
  border-radius: 50%;
  background: #e9f1e1;
  color: #58774b;
  transition: background .3s,color .3s,border-color .3s;
}

.founder-book svg {
  display: block;
  width: 19px;
  height: 19px;
  overflow: visible;
}

.founder-book g {
  transform-origin: 12px 12px;
  transition: opacity .3s,transform .45s cubic-bezier(.2,.7,.2,1);
}

.founder-book .book-cover {
  opacity: 1;
  transform: scale(1);
}

.founder-book .book-pages {
  opacity: 0;
  transform: translateY(2px) scale(.65);
}

.founder-experience[open] .founder-book {
  background: #3d634a;
  border-color: #648063;
  color: #e4f0d5;
}

.founder-experience[open] .book-cover {
  opacity: 0;
  transform: scale(.65);
}

.founder-experience[open] .book-pages {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.founder .founder-experience p.founder-bio {
  margin: 0;
  padding: 17px 16px 20px;
}

.founder-experience[open] .founder-bio {
  animation: founder-bio-in .4s ease both;
}

@supports(interpolate-size:allow-keywords) {
  .founder-experience::details-content {
    block-size: 0;
    opacity: 0;
    overflow: clip;
    transition: block-size .5s cubic-bezier(.2,.7,.2,1),opacity .3s,content-visibility .5s allow-discrete;
  }
  .founder-experience[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

@keyframes founder-bio-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(prefers-reduced-motion:reduce) {
  .founder-experience::details-content {
    transition: none;
  }
}

@media(max-width:760px) {
  .founder-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 30px;
  }
  .founder {
    display: grid;
    grid-template-columns: 88px minmax(0,1fr);
    gap: 0 18px;
    text-align: left;
    align-items: start;
  }
  .founder-photo {
    grid-column: 1;
    grid-row: 1/span 2;
    width: 88px;
    margin: 0;
  }
  .founder h3 {
    grid-column: 2;
    font-size: 21px;
    margin: 0;
    line-height: 1.4;
  }
  .founder p.founder-role {
    grid-column: 2;
    font-size: 12px;
    line-height: 1.65;
    min-height: 0;
    max-width: none;
    margin: 5px 0 0;
  }
  .founder .founder-experience {
    grid-column: 1/-1;
    min-width: 0;
    margin-top: 17px;
  }
  .founder-experience summary {
    min-height: 50px;
    padding: 9px 8px 9px 12px;
    font-size: 12px;
    gap: 6px;
  }
  .founder-book {
    width: 28px;
    height: 28px;
  }
  .founder-book svg {
    width: 17px;
    height: 17px;
  }
  .founder .founder-experience p.founder-bio {
    padding: 14px 12px 17px;
    font-size: 12px;
    line-height: 1.9;
  }
}

.founder-photo-wide {
  isolation: isolate;
}

.founder-photo-wide:before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -1;
  background: url("/invest/assets/team/khvan.jpg?v=photo-2") center 39.5%/cover;
  filter: blur(7px);
}
