.bio-wrap {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(256deg, #5372b0b3 0%, #5372b0 88%);
  border-radius: 20px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  opacity: 0;
  filter: blur(0px);
  transform: scale(0.96);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}
.bio-wrap.visible {
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

.bio-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px 60px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 52px;
  align-items: flex-start;
  box-sizing: border-box;
}

.bio-section-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.bio-wrap.visible .bio-section-label {
  opacity: 1;
  transform: translateY(0);
}

.bio-left { position: relative; z-index: 2; padding-top: 60px; }

.bio-name {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1;
  margin: 0 0 10px;
  text-transform: uppercase;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.2s, filter 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.bio-wrap.visible .bio-name {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

.bio-role {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin: 0 0 28px;
  line-height: 1.6;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(15px);
  transition: opacity 0.7s ease 0.35s, filter 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}
.bio-wrap.visible .bio-role {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

/* Word-by-word text */
.bio-text {
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 36px;
}
.bio-text .w {
  color: rgba(255,255,255,0.2);
  transition: color 0.4s ease;
  display: inline;
}
.bio-text .w.lit {
  color: #ffffff;
}

/* Stats */
.bio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.bio-stats > div {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(15px);
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
}
.bio-wrap.visible .bio-stats > div:nth-child(1) {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
  transition-delay: 0.5s;
}
.bio-wrap.visible .bio-stats > div:nth-child(2) {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
  transition-delay: 0.6s;
}
.bio-wrap.visible .bio-stats > div:nth-child(3) {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
  transition-delay: 0.7s;
}
.bio-wrap.visible .bio-stats > div:nth-child(4) {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
  transition-delay: 0.8s;
}
.bio-stat-num {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}
.bio-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* CTA */
.bio-cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 8px 8px 8px 22px;
  text-decoration: none;
  transition: background 0.2s ease;
  backdrop-filter: blur(4px);
  opacity: 0;
  filter: blur(6px);
  transform: translateY(15px);
  transition: opacity 0.7s ease 0.9s, filter 0.7s ease 0.9s, transform 0.7s ease 0.9s, background 0.2s ease;
}
.bio-wrap.visible .bio-cta {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}
.bio-cta:hover { background: rgba(255,255,255,0.26); }

.bio-cta-text {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-right: 12px;
  letter-spacing: 0.2px;
}
.bio-cta-circle {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.bio-cta:hover .bio-cta-circle { transform: rotate(45deg); }
.bio-cta-circle svg {
  width: 16px;
  height: 16px;
  color: #5372b0;
}

/* Right image */
.bio-right {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  margin-bottom: -1px;
}
.bio-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: bottom center;
  display: block;
  border-radius: 0;
  max-height: 600px;
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.1);
  transition: opacity 0.8s ease 0.3s, filter 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
.bio-wrap.visible .bio-right img {
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

/* Editor overrides - show everything immediately */
.elementor-editor-active .bio-wrap {
  opacity: 1 !important;
  filter: blur(0px) !important;
  transform: scale(1) !important;
}
.elementor-editor-active .bio-name,
.elementor-editor-active .bio-role {
  opacity: 1 !important;
  filter: blur(0px) !important;
  transform: translateY(0) !important;
}
.elementor-editor-active .bio-stats > div {
  opacity: 1 !important;
  filter: blur(0px) !important;
  transform: translateY(0) !important;
}
.elementor-editor-active .bio-cta {
  opacity: 1 !important;
  filter: blur(0px) !important;
  transform: translateY(0) !important;
}
.elementor-editor-active .bio-right img {
  opacity: 1 !important;
  filter: blur(0px) !important;
  transform: scale(1) !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .bio-inner { grid-template-columns: 1fr 260px; gap: 36px; padding: 48px 40px; }
  .bio-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 767px) {
  .bio-inner {
    grid-template-columns: 1fr !important;
    padding: 36px 24px 60px !important;
    gap: 0 !important;
  }
  .bio-wrap {
    border-radius: 16px;
    overflow: visible;
  }
  .bio-left {
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 40px;
  }
  .bio-right {
    order: -1;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
  }
  .bio-right img {
    height: auto;
    border-radius: 12px;
    object-position: center center;
    width: 100%;
  }
  .bio-name {
    text-align: center;
    margin-bottom: 8px;
  }
  .bio-role {
    text-align: center;
    margin-bottom: 24px;
  }
  .bio-text {
    font-size: 15px;
    text-align: center;
    margin-bottom: 28px;
    width: 100%;
  }
  .bio-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    margin-bottom: 28px;
    width: 100%;
  }
  .bio-cta {
    align-self: center;
  }
}
