
/* V1.0.2 Professional Photo Integration 1029 */

.hero-profile-stage{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.professional-portrait{
  position:relative;
  width:min(100%,440px);
  aspect-ratio:4/5;
  border-radius:30px;
  overflow:hidden;
  background:
    radial-gradient(circle at 70% 25%,rgba(53,184,255,.24),transparent 34%),
    linear-gradient(145deg,#071f46,#0a397a);
  box-shadow:
    0 34px 80px rgba(7,31,70,.24),
    0 0 0 1px rgba(7,31,70,.08);
}

.professional-portrait:before{
  content:"";
  position:absolute;
  inset:12px;
  z-index:2;
  border:1px solid rgba(255,255,255,.20);
  border-radius:22px;
  pointer-events:none;
}

.professional-portrait:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:42%;
  z-index:2;
  background:linear-gradient(to top,rgba(4,19,43,.88),rgba(4,19,43,.05),transparent);
  pointer-events:none;
}

.professional-portrait img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 22%;
  display:block;
  position:relative;
  z-index:1;
}

.professional-portrait-fallback{
  position:absolute;
  inset:0;
  z-index:0;
  display:grid;
  place-items:center;
  text-align:center;
  color:#fff;
  padding:28px;
}

.professional-portrait-fallback strong{
  display:block;
  font-size:74px;
  line-height:1;
  letter-spacing:-.06em;
}

.professional-portrait-fallback span{
  display:block;
  margin-top:10px;
  color:#bad1e9;
  font-size:11px;
  line-height:1.5;
}

.professional-portrait.photo-missing img{display:none}

.hero-profile-caption{
  position:absolute;
  z-index:4;
  left:28px;
  right:28px;
  bottom:28px;
  color:#fff;
}

.hero-profile-caption small{
  display:block;
  color:#8ed4ff;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-weight:900;
}

.hero-profile-caption strong{
  display:block;
  font-size:25px;
  line-height:1.08;
  margin-top:5px;
}

.hero-profile-caption span{
  display:block;
  margin-top:5px;
  color:#d5e4f2;
  font-size:11px;
}

.hero-profile-badge{
  position:absolute;
  z-index:5;
  padding:10px 12px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(7,31,70,.80);
  backdrop-filter:blur(14px);
  color:#fff;
  box-shadow:0 12px 30px rgba(7,31,70,.16);
}

.hero-profile-badge b{
  display:block;
  font-size:15px;
}

.hero-profile-badge span{
  display:block;
  color:#bed1e6;
  font-size:8px;
  margin-top:2px;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-weight:800;
}

.hero-profile-badge.badge-one{
  left:-28px;
  top:74px;
}

.hero-profile-badge.badge-two{
  right:-25px;
  top:185px;
}

.hero-profile-badge.badge-three{
  left:-18px;
  bottom:85px;
}

.hero-personal-note{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:18px;
  font-size:10px;
  color:#738198;
}

.hero-personal-note:before{
  content:"";
  width:26px;
  height:1px;
  background:linear-gradient(90deg,#1976d2,#c99a38);
}

/* Contact portrait */
.contact-profile-side{
  display:grid;
  grid-template-columns:112px 1fr;
  gap:13px;
  align-items:center;
}

.contact-profile-photo{
  width:112px;
  height:132px;
  position:relative;
  overflow:hidden;
  border-radius:15px;
  background:linear-gradient(145deg,#0b3a79,#071f46);
  border:1px solid rgba(255,255,255,.17);
}

.contact-profile-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center 22%;
}

.contact-profile-photo.photo-missing img{display:none}

.contact-profile-fallback{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:27px;
  font-weight:900;
  z-index:0;
}

.contact-profile-content h4{
  margin:0;
  font-size:16px;
  color:#fff;
}

.contact-profile-content p{
  margin:5px 0 11px;
  color:#bcd1e5;
  font-size:10px;
  line-height:1.5;
}

.contact-profile-links{
  display:grid;
  gap:7px;
}

.contact-profile-link{
  padding:9px 10px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  color:#fff;
  font-size:9px;
  font-weight:850;
}

.photo-asset-status{
  position:absolute;
  top:18px;
  right:18px;
  z-index:5;
  padding:7px 9px;
  border-radius:999px;
  background:rgba(7,31,70,.74);
  border:1px solid rgba(255,255,255,.15);
  color:#d8e7f6;
  font-size:8px;
  font-weight:850;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.professional-portrait:not(.photo-missing) .photo-asset-status{
  display:none;
}

@media(max-width:1100px){
  .hero-grid{
    grid-template-columns:1.08fr .92fr !important;
    gap:38px;
  }
  .hero-profile-stage{min-height:470px}
  .professional-portrait{max-width:380px}
  .hero-profile-badge.badge-one{left:-8px}
  .hero-profile-badge.badge-two{right:-8px}
  .hero-profile-badge.badge-three{left:0}
}

@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr !important}
  .hero-profile-stage{
    min-height:auto;
    padding:18px 34px 8px;
  }
  .professional-portrait{width:min(100%,390px)}
}

@media(max-width:650px){
  .hero-profile-stage{padding:12px 5px 4px}
  .professional-portrait{
    width:min(92vw,350px);
    border-radius:24px;
  }
  .professional-portrait:before{
    inset:9px;
    border-radius:18px;
  }
  .hero-profile-badge{
    padding:8px 9px;
  }
  .hero-profile-badge.badge-one{
    left:-2px;
    top:55px;
  }
  .hero-profile-badge.badge-two{
    right:-2px;
    top:145px;
  }
  .hero-profile-badge.badge-three{
    left:3px;
    bottom:72px;
  }
  .hero-profile-caption{
    left:22px;
    right:22px;
    bottom:23px;
  }
  .hero-profile-caption strong{font-size:21px}
  .contact-profile-side{grid-template-columns:84px 1fr}
  .contact-profile-photo{
    width:84px;
    height:104px;
  }
}

@media(max-width:420px){
  .hero-profile-badge.badge-one{left:0}
  .hero-profile-badge.badge-two{right:0}
  .hero-profile-badge.badge-three{display:none}
}
