/* Public profile display, scoped under #profile so it never clashes with the app UI */
#profile{display:none}
#profile .phead{position:sticky;top:0;z-index:60;background:var(--navy);height:60px;display:flex;align-items:center}
#profile .phead .pwrap{display:flex;align-items:center;justify-content:space-between;width:100%}
#profile .brand{font-family:var(--serif);font-weight:700;font-size:19px;letter-spacing:.5px;color:#fff}
#profile .brand b{color:var(--gold-soft);font-weight:700}
#profile .topnav{display:flex;gap:26px;font-size:13.5px;font-weight:500}
#profile .topnav a{color:#c3cddd}
#profile .topnav a:hover{color:#fff}
#profile .topnav a.ext{color:var(--gold-soft)}
#profile .topnav a.ext:hover{color:#fff}
@media(max-width:820px){#profile .topnav{gap:14px;font-size:12px;flex-wrap:wrap;justify-content:flex-end}#profile .brand{font-size:16px}}
#profile #bio,#profile #experience,#profile #gallery,#profile #insights,#profile #contact{scroll-margin-top:76px}
#profile .banner{position:relative;height:420px;background:var(--navy);overflow:hidden}
#profile .banner>img{position:absolute;top:0;right:0;height:100%;width:58%;object-fit:cover;object-position:center 20%;filter:grayscale(100%)}
#profile .banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--navy) 34%,rgba(20,41,74,.7) 48%,rgba(20,41,74,.1) 70%,transparent 84%)}
#profile .binner{position:relative;height:100%;display:flex;align-items:center;z-index:2;max-width:1120px;margin:0 auto;padding:0 32px}
#profile .hcard{background:#fff;padding:32px 36px;max-width:520px;border-top:4px solid var(--gold);box-shadow:0 30px 60px -34px rgba(0,0,0,.5)}
#profile .eyebrow{font-size:12px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--gold)}
#profile .hcard h1{font-family:var(--serif);font-size:clamp(32px,4.4vw,48px);color:var(--navy);line-height:1;margin:10px 0 8px;font-weight:700}
#profile .hcard .role{font-size:15px;font-weight:500}
#profile .hcard .cc{margin-top:16px;font-size:14.5px;line-height:1.9}
#profile .hcard .cc b{color:var(--navy);width:18px;display:inline-block}
#profile .hcard .cta{margin-top:16px;display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:760px){#profile .banner{height:auto}#profile .banner>img{position:relative;width:100%;height:240px}#profile .banner::after{display:none}#profile .hcard{max-width:none;box-shadow:none;padding:24px}}
#profile .pwrap{max-width:1120px;margin:0 auto;padding:0 32px}
#profile .body{display:grid;grid-template-columns:1.6fr 1fr;gap:56px;padding:48px 0}
@media(max-width:860px){#profile .body{grid-template-columns:1fr;gap:8px}}
#profile h2.h{font-family:var(--serif);font-size:26px;color:var(--navy);margin:26px 0 12px;font-weight:700}
#profile h2.h:first-child{margin-top:0}
#profile .prose p{font-size:16.5px;color:#3b3f47;margin-bottom:12px;white-space:pre-line}
#profile .psub{font-size:12px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase;color:var(--gold);margin:24px 0 8px}
#profile .plist{list-style:none}
#profile .plist li{padding:11px 0;border-bottom:1px solid var(--line);font-size:15.5px;display:flex;gap:12px}
#profile .plist li::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--gold);margin-top:9px}
#profile .ptags{display:flex;flex-wrap:wrap;gap:8px}
#profile .ptag{font-size:13.5px;color:var(--navy);background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:7px 13px}
#profile .side .box{border-bottom:1px solid var(--line);padding:16px 0}
#profile .side .box h3{font-family:var(--serif);font-size:18px;color:var(--navy);margin-bottom:8px;font-weight:700}
#profile .side .kv{font-size:15px;padding:6px 0;border-bottom:1px dashed var(--line)}
#profile .side .kv:last-child{border-bottom:0}
#profile .gband{background:var(--paper);border-top:1px solid var(--line);padding:44px 0}
#profile .gband .eyebrow{margin-bottom:6px}
#profile .gband h2{font-family:var(--serif);font-size:26px;color:var(--navy);margin-bottom:18px;font-weight:700}
#profile .ggrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
@media(max-width:820px){#profile .ggrid{grid-template-columns:repeat(2,1fr)}}
#profile .gtile{aspect-ratio:4/3;border-radius:8px;overflow:hidden;border:1px solid var(--line);background:var(--navy);position:relative;cursor:pointer}
#profile .gtile img{width:100%;height:100%;object-fit:cover}
#profile .gtile .cap{position:absolute;left:0;right:0;bottom:0;padding:9px 11px;font-size:11.5px;color:#e7ecf4;background:linear-gradient(transparent,rgba(15,31,56,.82))}
#profile .pcontact{background:var(--navy);color:#fff;text-align:center;padding:56px 32px}
#profile .pcontact h2{font-family:var(--serif);font-size:30px}
#profile .pcontact .d{margin:14px 0;color:#cdd6e4;line-height:2}
#profile .pcontact .d a{color:var(--gold-soft);font-weight:600}
#profile .pcontact .btns{margin-top:10px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
#profile .pcontact .btn{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;padding:12px 20px;border-radius:6px;background:#fff;color:var(--navy)}
#profile .pcontact .btn.o{background:transparent;color:#fff;border:1px solid #5b6f92}
#profile .pcontact .btn.o:hover{border-color:var(--gold-soft)}
#profile .pcontact .btn.wa{background:#25D366;color:#fff}
#profile .pcontact .btn.wa:hover{background:#1ebe5b}
#profile .pfoot{padding:24px;text-align:center;font-size:12px;color:var(--muted)}
#profile .iband{background:#fff;border-top:1px solid var(--line);padding:44px 0}
#profile .iband .eyebrow{margin-bottom:6px}
#profile .iband h2{font-family:var(--serif);font-size:26px;color:var(--navy);margin-bottom:18px;font-weight:700}
#profile .icards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:820px){#profile .icards{grid-template-columns:1fr}}
#profile .icard{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--paper)}
#profile .icard .bd{height:5px;background:linear-gradient(90deg,var(--navy),var(--gold))}
#profile .icard .in{padding:18px}
#profile .icard .k{font-size:11px;letter-spacing:1.3px;text-transform:uppercase;color:var(--gold);font-weight:600}
#profile .icard h3{font-family:var(--serif);font-size:17px;color:var(--navy);font-weight:600;margin:8px 0 6px;line-height:1.25}
#profile .icard p{font-size:13.5px;color:var(--muted)}
#profile .adminlink{position:fixed;right:16px;bottom:16px;background:var(--navy);color:#fff;padding:9px 15px;border-radius:8px;font-size:13px;font-weight:600;z-index:60;box-shadow:0 10px 24px -12px rgba(0,0,0,.5)}
.lb{position:fixed;inset:0;background:rgba(10,15,25,.9);display:none;align-items:center;justify-content:center;z-index:200;padding:24px}
.lb.open{display:flex}.lb img{max-width:100%;max-height:86vh;border-radius:8px}
.lb .x{position:absolute;top:18px;right:26px;color:#fff;font-size:32px;cursor:pointer}
.pcenter{max-width:560px;margin:16vh auto;text-align:center;color:var(--muted);font-family:var(--serif);font-size:22px}
