/* v2.8.3 Professional Portrait Homepage */
.portrait-hero{isolation:isolate;overflow:visible;background:radial-gradient(circle at 45% 36%,rgba(255,255,255,.94),rgba(213,230,253,.65) 66%,rgba(157,194,250,.38));border-radius:36px;min-height:490px;height:490px}
.portrait-hero::before{content:"";position:absolute;inset:22px 22px 27px;border-radius:30px;border:1px solid rgba(255,255,255,.68);pointer-events:none}
.portrait-hero::after{content:"";position:absolute;width:240px;height:240px;top:-35px;right:-33px;background:radial-gradient(circle,#91beff55,transparent 70%);filter:blur(5px);z-index:-1}
.portrait-hero .portrait-shape{width:85%;height:92%;align-self:end;margin-top:auto;position:relative;box-shadow:none;background:transparent;border-radius:28px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.portrait-hero .portrait-shape.has-portrait{width:88%;height:100%;border-radius:28px 28px 12px 12px}
.portrait-hero .hero-portrait-photo{width:100%;height:100%;object-fit:cover;object-position:center 16%;filter:drop-shadow(0 9px 16px rgba(16,51,110,.12));-webkit-mask-image:linear-gradient(#000 0%,#000 83%,transparent 100%);mask-image:linear-gradient(#000 0%,#000 83%,transparent 100%)}
.portrait-hero .hero-mark-fallback{width:60%;max-width:245px;height:auto;object-fit:contain;opacity:.92}
.portrait-hero .identity-card{z-index:4;bottom:26px;left:-35px;background:rgba(255,255,255,.91);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.9);box-shadow:0 18px 50px rgba(30,73,138,.15);padding:18px 22px;max-width:345px}
.portrait-hero .floating-tag{z-index:4;top:28px;right:-18px;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.94)}
.portrait-hero .identity-card strong{font-size:14px}
.about-profile-heading{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.about-profile-heading img{width:112px;height:128px;object-fit:cover;object-position:center 18%;border-radius:22px;box-shadow:0 12px 32px rgba(29,79,148,.16)}
@media(max-width:850px){.portrait-hero{min-height:420px;height:420px}.portrait-hero .identity-card{left:-12px}.portrait-hero .floating-tag{right:-10px}}
@media(max-width:600px){.portrait-hero{height:365px;min-height:365px;max-width:100%;margin:0 auto}.portrait-hero .identity-card{bottom:13px;left:8px;max-width:78%;padding:12px 14px}.portrait-hero .identity-card strong{font-size:12px}.portrait-hero .floating-tag{right:8px;top:12px;font-size:10px;padding:7px 9px}.portrait-hero .portrait-shape.has-portrait{width:94%}}
@media(prefers-reduced-motion:reduce){.portrait-hero{animation:none!important}}

/* v2.8.3.1: ensure original logo rules do not override uploaded portrait */
.portrait-hero .portrait-shape.has-portrait .hero-portrait-photo{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 16%;filter:none}
.portrait-hero .portrait-shape .hero-mark-fallback{display:block;width:60%;height:auto;object-fit:contain}
.about-profile-heading h2{margin-top:0;margin-bottom:0}
