.bhi-root{background:#060b16;color:#f8fafc;border-top:2px solid #c89b3c;padding:64px 0;font-family:inherit}
.bhi-root *{box-sizing:border-box}
.bhi-wrap{max-width:80rem;margin:0 auto;padding:0 16px}
.bhi-head{margin-bottom:32px}
.bhi-sub{color:#c89b3c;font-size:14px;letter-spacing:.04em;margin-bottom:6px}
.bhi-head h2{font-size:clamp(28px,5vw,44px);font-weight:700;color:#f8fafc;margin:0}
.bhi-en{display:none}html[lang="en"] .bhi-en{display:inline}html[lang="en"] .bhi-ar{display:none}
.bhi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:20px}
.bhi-sec{background:#0a1324;border:1px solid #1d293d;border-radius:18px;padding:22px;opacity:0;transform:translateY(16px);transition:opacity .6s,transform .6s}
.bhi-sec.bhi-in{opacity:1;transform:none}
.bhi-wide{grid-column:1/-1}
.bhi-sh{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.bhi-sh h3{margin:0;font-size:20px;font-weight:600;color:#f8fafc}
.bhi-n{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:9px;background:#c89b3c;color:#060b16;font-weight:700;font-size:13px}
.bhi-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}
.bhi-stat{background:#0c182e;border:1px solid #1d293d;border-top:2px solid #c89b3c;border-radius:14px;padding:14px;opacity:0;transform:translateY(10px)}
.bhi-in .bhi-stat{animation:bhi-rise .5s ease-out forwards;animation-delay:var(--d)}
.bhi-num{display:block;font-size:38px;line-height:1.1;font-weight:700;color:#e5c158;font-variant-numeric:tabular-nums}
.bhi-lab{margin-top:6px;font-size:14px;color:#cbd5e1;line-height:1.5}
.bhi-hot{background:#c89b3c;border-color:#e5c158}.bhi-hot .bhi-num,.bhi-hot .bhi-lab{color:#060b16}
.bhi-rows{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.bhi-rows li{display:flex;gap:14px;align-items:flex-start;background:#0c182e;border-radius:12px;padding:12px 14px;font-size:14px;color:#e2e8f0;line-height:1.6}
.bhi-y{color:#e5c158;font-weight:700;flex:0 0 46px}
.bhi-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.bhi-chip{padding:6px 12px;border-radius:999px;background:#0c182e;border:1px solid #314158;color:#f8fafc;font-size:13px;font-family:inherit}
.bhi-chipbtn{cursor:pointer}.bhi-chipbtn.bhi-sel{border-color:#e5c158;color:#e5c158}
.bhi-map{margin-top:16px}
.bhi-map svg{width:100%;height:auto;display:block;background:#060b16;border:1px solid #1d293d;border-radius:14px}
.bhi-land{fill:#1d293d;stroke:#060b16;stroke-width:.5}
.bhi-hl{fill:#c89b3c;stroke:#e5c158;stroke-width:1;opacity:0;transition:opacity .8s}
.bhi-in .bhi-hl{opacity:.85}
.bhi-trip{cursor:pointer;outline:none}.bhi-trip.bhi-sel .bhi-hl{fill:#e5c158}
.bhi-pin{fill:#e5c158;stroke:#060b16;stroke-width:2;opacity:0}
.bhi-in .bhi-pin{animation:bhi-rise .5s ease-out forwards;animation-delay:var(--d)}
.bhi-pulse{fill:none;stroke:#e5c158;stroke-width:1.5;opacity:0;transform-box:fill-box;transform-origin:center}
.bhi-trip.bhi-sel .bhi-pulse{animation:bhi-ping 1.6s ease-out infinite}
.bhi-mapcard{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-top:12px;padding:12px 16px;border:1px solid #c89b3c;border-radius:12px;background:#0c182e}
.bhi-mapcard b{color:#e5c158;font-size:18px}.bhi-mapcard span{color:#e2e8f0;font-size:14px}
.bhi-skills-h{margin:40px 0 14px}.bhi-skills-h h3{margin:0;font-size:24px;font-weight:700;color:#f8fafc}
.bhi-skills{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}
.bhi-skill{display:flex;align-items:center;gap:12px;padding:16px;border-radius:14px;background:#0c182e;border:1px solid #1d293d;border-inline-start:3px solid #c89b3c;color:#f8fafc;line-height:1.5;opacity:0;transform:translateY(12px);transition:border-color .25s,box-shadow .25s}
.bhi-skills.bhi-in .bhi-skill{animation:bhi-rise .5s ease-out forwards;animation-delay:var(--d)}
.bhi-skill:hover{border-color:#e5c158;box-shadow:0 0 22px rgba(229,193,88,.25)}
.bhi-sn{color:#e5c158;font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}
@keyframes bhi-rise{to{opacity:1;transform:none}}
@keyframes bhi-ping{0%{opacity:.9;transform:scale(.3)}100%{opacity:0;transform:scale(1.2)}}
@media (prefers-reduced-motion:reduce){.bhi-sec,.bhi-stat,.bhi-skill,.bhi-pin{opacity:1;transform:none;animation:none!important}.bhi-hl{opacity:.85}}
@media (max-width:640px){.bhi-root{padding:44px 0}.bhi-num{font-size:32px}.bhi-mapcard{flex-direction:column}}
.bhi-x{margin-top:8px;padding-top:8px;border-top:1px solid #1d293d;font-size:12.5px;line-height:1.6;color:#94a3b8}
.bhi-areas li b{color:#e5c158}
.bhi-areas{margin-bottom:4px}
.bhi-mapcard{display:flex;gap:16px;align-items:flex-start;justify-content:flex-start;margin-top:14px;padding:16px 18px;border:1px solid #c89b3c;border-radius:14px;background:#0c182e;animation:bhi-pop .35s ease-out}
.bhi-flag{flex:0 0 84px;width:84px;height:56px;border-radius:6px;overflow:hidden;border:1px solid rgba(255,255,255,.25);box-shadow:0 2px 10px rgba(0,0,0,.4)}
.bhi-flag svg{display:block;width:100%;height:100%}
.bhi-cbody{flex:1;min-width:0}
.bhi-cbody b{display:block;color:#e5c158;font-size:19px;margin-bottom:6px}
.bhi-cbody ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bhi-cbody li{display:flex;gap:10px;align-items:baseline;font-size:14px;line-height:1.6;color:#e2e8f0}
.bhi-dy{flex:0 0 auto;color:#c89b3c;font-weight:700;font-size:13px;min-width:86px}
.bhi-mapcard span{font-size:14px;color:#e2e8f0}
@keyframes bhi-pop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (max-width:640px){.bhi-mapcard{flex-direction:row;flex-wrap:wrap}.bhi-flag{flex-basis:64px;width:64px;height:43px}.bhi-cbody{flex-basis:calc(100% - 90px)}.bhi-cbody li{flex-direction:column;gap:2px}.bhi-dy{min-width:0}}
/* v9: hide the old highlights strip (its content is now in the numbers section) */
#hero + section:not([id]){display:none}
/* v9: hover colours on boxes */
.bhi-stat,.bhi-sec,.bhi-chip,.bhi-skill{transition:background-color .25s,border-color .25s,transform .25s,box-shadow .25s}
.bhi-stat{cursor:default}
.bhi-stat:hover,.bhi-stat:focus-visible{background:#15294d;border-color:#e5c158;transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.35);outline:none}
.bhi-stat:hover .bhi-num{color:#fff}
.bhi-hot:hover{background:#e5c158}
.bhi-sec:hover{border-color:rgba(229,193,88,.6)}
.bhi-chip:hover,.bhi-chipbtn:hover{background:#c89b3c;color:#060b16;border-color:#c89b3c}
section#biography .border.rounded-xl,section#biography .border.rounded-lg,section#career .border.rounded-xl,section#career .border.rounded-lg,section#education .border.rounded-xl,section#education .border.rounded-lg,section#contact .border.rounded-xl,section#contact .border.rounded-lg,section#contact .border.rounded-2xl{transition:background-color .25s,border-color .25s,box-shadow .25s,transform .25s}
section .bg-white.border.rounded-xl:hover,section .bg-white.border.rounded-lg:hover,section .bg-slate-50.border.rounded-xl:hover,section .bg-slate-50.border.rounded-lg:hover{background-color:#fdf6e3;border-color:#c89b3c;box-shadow:0 8px 22px rgba(200,155,60,.18);transform:translateY(-2px)}
section .bg-\[\#0c182e\].border:hover,section .bg-\[\#0a1324\].border:hover,section .bg-\[\#060b16\].border:hover{background-color:#15294d;border-color:#e5c158}
/* v9: progress bar + back to top */
#bhi-prog{position:fixed;top:0;left:0;right:0;height:3px;z-index:60;background:linear-gradient(90deg,#c89b3c,#e5c158);transform-origin:0 50%;transform:scaleX(0);pointer-events:none}
html[dir=rtl] #bhi-prog{transform-origin:100% 50%}
#bhi-up{position:fixed;bottom:22px;inset-inline-end:22px;width:44px;height:44px;border-radius:50%;border:1px solid #c89b3c;background:#0c182e;color:#e5c158;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:60;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .25s,transform .25s,background-color .2s,color .2s}
#bhi-up.on{opacity:1;pointer-events:auto;transform:none}
#bhi-up:hover{background:#e5c158;color:#060b16}
@media (prefers-reduced-motion:reduce){.bhi-stat:hover{transform:none}}
.bhi-grid{align-items:start}
/* v10: brief / detailed view */
html.bhi-brief .bhi-d{display:none!important}
#bhi-mode{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:61;display:flex;gap:2px;padding:4px;border:1px solid #c89b3c;border-radius:999px;background:rgba(6,11,22,.92);backdrop-filter:blur(6px);box-shadow:0 6px 22px rgba(0,0,0,.4)}
#bhi-mode button{border:0;background:transparent;color:#e2e8f0;font:600 13px/1 inherit;padding:9px 18px;border-radius:999px;cursor:pointer;transition:background-color .2s,color .2s}
#bhi-mode button:hover{background:rgba(229,193,88,.2)}
#bhi-mode button[aria-pressed=true]{background:#e5c158;color:#060b16}
@media (max-width:640px){#bhi-mode{bottom:16px}#bhi-mode button{padding:8px 14px}}
