/* Profile-only visual system: portfolio, activity and the planetary backdrop are untouched. */
#profilePanel{--profile-accent:#ff963e;--profile-text:#f1efec;--profile-muted:#9d9892;--profile-line:#ffffff12;--profile-surface:#101010;}
.founder-profile{color:var(--profile-text);padding:2px 8px 18px}
.founder-section{margin-top:42px;animation:profile-reveal .5s ease both;min-width:0}
.founder-section:first-child{margin-top:0}
.founder-hero{display:grid;grid-template-columns:200px minmax(0,1fr);gap:38px;align-items:center;padding:30px;border:1px solid #8a4a232f;border-radius:22px;background:radial-gradient(ellipse at 100% 0,#ff7a0010,transparent 68%),linear-gradient(130deg,#151413,#0c0c0c);overflow:hidden}
.founder-portrait{position:relative;width:200px;aspect-ratio:4/5;border-radius:17px;padding:5px;background:linear-gradient(145deg,#ff9c4644,#ffffff0a 60%,#ff9c4622);}
.founder-portrait img{width:100%;height:100%;object-fit:cover;border-radius:13px;display:block;background:#100e0b;filter:saturate(.92)}
.founder-eyebrow{font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--profile-accent);margin:0 0 18px;line-height:1.6}
.founder-identity h1{font-size:clamp(34px,5vw,52px);font-weight:800;letter-spacing:-.055em;line-height:1.1;margin:0;overflow-wrap:anywhere}
.founder-name-row{display:flex;align-items:center;gap:12px;min-width:0}
.founder-name-text{display:flex;align-items:center;gap:10px;min-width:0}
.founder-name-row h1{min-width:0;max-width:100%}
.founder-blue-check{display:block;width:42px;height:42px;flex-shrink:0}
.founder-company-badge{--founder-logo-size:40px;--founder-logo-scale:.8;--asset-logo-color:#ae6326;appearance:none;position:relative;display:block;width:var(--founder-logo-size);height:var(--founder-logo-size);flex-shrink:0;padding:0;border:0;border-radius:10px;background:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.founder-company-badge:focus-visible{outline:2px solid var(--profile-accent);outline-offset:5px}
.founder-company-tile{display:block;position:absolute;left:0;top:0;width:50px;height:50px;perspective:280px;transform:scale(var(--founder-logo-scale));transform-origin:0 0}
.founder-company-tile::after{content:"";position:absolute;left:7px;right:7px;bottom:-7px;height:7px;border-radius:50%;background:#0006;filter:blur(3px);pointer-events:none}
.founder-company-badge .asset-logo-spinner{animation-play-state:running}
.founder-company-badge .asset-logo-face{padding:0;background-color:#110d08;border-color:#b58754}
.founder-company-badge .asset-logo-face img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.28)}
.founder-company-badge[aria-pressed="true"] .asset-logo-spinner,.logo-page-hidden .founder-company-badge .asset-logo-spinner{animation-play-state:paused}
@media(hover:hover){.founder-company-badge:hover .asset-logo-spinner{animation-play-state:paused}}
.founder-role{font-size:13px;line-height:1.65;color:#c8c2ba;margin:12px 0 0;white-space:normal;overflow-wrap:anywhere}
.founder-role-part{display:inline-block;max-width:100%;vertical-align:top}
.founder-role-separator{color:#8b8175;margin-left:3px;margin-right:3px}
.founder-tagline{display:flex;align-items:center;gap:10px;color:var(--profile-accent);font-size:13px;font-weight:600;line-height:1.7;margin:23px 0 0}
.founder-tagline>span{width:21px;height:1px;background:var(--profile-accent);flex-shrink:0;opacity:.7}
.founder-bio{color:var(--profile-muted);font-size:13px;line-height:1.9;margin:14px 0 0;max-width:46ch;white-space:pre-wrap;overflow-wrap:anywhere}
.founder-section-heading{display:flex;align-items:center;gap:18px;margin-bottom:19px}
.founder-section-heading h2{font-size:11px;letter-spacing:.17em;text-transform:uppercase;font-weight:700;line-height:1.6;margin:0;flex-shrink:1;overflow-wrap:anywhere}
.founder-section-heading>span{flex:1;height:1px;background:linear-gradient(90deg,#ffffff1c,transparent);min-width:22px}
.founder-section-intro{color:var(--profile-muted);font-size:13px;line-height:1.8;margin:0 0 20px;white-space:pre-wrap;overflow-wrap:anywhere}
.founder-about{margin:0;max-width:66ch;color:#bdb8b1;font-size:clamp(16px,2.5vw,20px);line-height:1.8;font-weight:400;letter-spacing:-.02em;white-space:pre-wrap;overflow-wrap:anywhere}
.founder-grid{display:grid;gap:12px}
.founder-grid-focus{grid-template-columns:repeat(2,minmax(0,1fr))}
.founder-grid-building{grid-template-columns:repeat(3,minmax(0,1fr))}
.founder-grid-principles{grid-template-columns:repeat(4,minmax(0,1fr))}
.founder-card{background:linear-gradient(140deg,#151515,#0d0d0d);border:1px solid #ffffff13;border-radius:15px;padding:22px;min-width:0;transition:border-color .2s,background .2s,transform .2s}
.founder-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:21px}
.founder-icon{display:inline-flex;color:var(--profile-accent)}
.founder-icon svg{width:24px;height:24px;flex-shrink:0}
.founder-card h3{font-size:14px;font-weight:650;line-height:1.5;letter-spacing:-.015em;margin:0;overflow-wrap:anywhere}
.founder-card p{font-size:12px;line-height:1.85;color:var(--profile-muted);margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.founder-grid-building .founder-card{padding:20px}
.founder-project-line{height:1px;width:24px;background:#ff963e50}
.founder-number{color:#b98253;font-size:18px;line-height:1;font-weight:400;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.founder-grid-principles .founder-card{padding:18px 15px;background:#111110}
.founder-grid-principles .founder-icon svg{width:18px;height:18px;color:#77736e}
.founder-grid-principles h3{text-transform:uppercase;font-size:10px;letter-spacing:.11em}
.founder-grid-principles p{font-size:12px;line-height:1.7}
.founder-quote{position:relative;overflow:hidden;text-align:center;padding:38px 25px;border-block:1px solid #ff963e22;background:radial-gradient(ellipse at 50% 100%,#ff7a000b,transparent 75%)}
.founder-quote .founder-eyebrow{font-size:9px;color:#a39383;margin-bottom:15px}
.founder-quote-mark{display:block;color:var(--profile-accent);font:54px Georgia,serif;height:38px;opacity:.8}
.founder-quote blockquote{position:relative;margin:0 auto;font-size:clamp(24px,4vw,36px);font-weight:500;letter-spacing:-.035em;line-height:1.4;text-wrap:balance;max-width:26ch;white-space:pre-wrap;overflow-wrap:anywhere}
.founder-quote-rule{width:28px;height:2px;background:var(--profile-accent);margin:25px auto 0}
.founder-links{display:flex;flex-wrap:wrap;gap:10px}
.founder-links a{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:48px;padding:12px 18px;border:1px solid #ffffff20;border-radius:10px;text-decoration:none;font-size:12px;font-weight:600;line-height:1.7;color:#c8c1b9;background:#111;transition:background .2s,border-color .2s,color .2s;overflow-wrap:anywhere;max-width:100%}
.founder-links a span{color:var(--profile-accent);font-size:19px}
.profile-loading{font-size:13px;color:#aaa;padding:25px}
#profilePanel .profile-editor{margin:0 0 32px;padding:24px}
.profile-editor-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.profile-editor-badge{color:#ffab5c;font-size:9px;letter-spacing:.12em;border:1px solid #795026;border-radius:7px;padding:5px 8px}
.profile-edit-block{border:1px solid #ffffff17;border-radius:12px;margin:12px 0;background:#101010;min-width:0}
.profile-edit-block>summary{padding:16px;cursor:pointer;font-size:13px;line-height:1.6;color:#d6d0c9;list-style:none;display:flex;align-items:center;gap:10px}
.profile-edit-block>summary::-webkit-details-marker{display:none}
.profile-edit-block>summary::after{content:'+';margin-left:auto;color:#b28b66;font-size:17px}
.profile-edit-block[open]>summary::after{content:'−'}
.profile-edit-block[open]>summary{border-bottom:1px solid #ffffff12}
.profile-edit-body{padding:4px 16px 16px}
.profile-editor-subhead{margin:25px 0 16px}
.profile-editor-subhead h3{font-size:14px;margin:0 0 7px}
.profile-editor-subhead p{font-size:12px;color:#8e8e8e;line-height:1.7;margin:0}
.profile-section-order{font-size:11px;color:#ad8159;font-variant-numeric:tabular-nums}
.profile-section-label{overflow-wrap:anywhere;min-width:0}
.profile-section-state{font-size:10px;color:#817a72;margin-left:auto;white-space:nowrap}
.profile-section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.profile-section-toolbar>div{display:flex;gap:6px}
.profile-check{display:flex;align-items:center;gap:8px;font-size:12px;color:#bfb6ac}
#profilePanel .profile-check input{width:17px;height:17px;min-height:17px;accent-color:#ff963e}
.profile-card-editor{min-width:0;border:1px solid #ffffff17;border-radius:10px;padding:12px;margin:20px 0}
.profile-card-editor legend{font-size:11px;color:#a99480;padding:0 5px}
.profile-card-editor-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(100px,1fr);gap:12px}
.profile-card-editor-grid .field{min-width:0}
.profile-card-actions{display:flex;gap:6px;margin-top:10px}
.profile-card-actions .btn-delete{margin-left:auto}
.profile-add-card{margin-right:8px}
.profile-save-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:22px}
#profileDraftStatus{color:#b99875;font-size:11px}
#profilePanel .profile-editor textarea:disabled{opacity:.5}
@media(hover:hover){.founder-card:hover{border-color:#ff963e55;background:linear-gradient(140deg,#211a14,#101010);transform:translateY(-2px)}.founder-links a:hover{color:#ffb376;border-color:#ff963e66;background:#24190f}}
@keyframes profile-reveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.founder-profile{padding:0 2px 12px}.founder-hero{grid-template-columns:140px minmax(0,1fr);padding:24px;gap:24px}.founder-portrait{width:140px}.founder-identity h1{font-size:36px}.founder-role{font-size:12px}.founder-tagline{font-size:12px;margin-top:18px}.founder-bio{font-size:12px}.founder-grid-principles{grid-template-columns:repeat(2,minmax(0,1fr))}.founder-grid-building{grid-template-columns:1fr}.founder-grid-building .founder-card{padding:20px;display:grid;grid-template-columns:32px 1fr;column-gap:12px}.founder-grid-building .founder-card-top{grid-row:1/3;margin:0;align-self:start}.founder-grid-building .founder-project-line{display:none}.founder-grid-building p{grid-column:2;margin-top:6px}.founder-section{margin-top:32px}}
@media(max-width:440px){.founder-hero{grid-template-columns:1fr;padding:25px 22px;gap:24px}.founder-portrait{width:132px;aspect-ratio:1}.founder-identity h1{font-size:39px}.founder-eyebrow{margin-bottom:12px}.founder-bio{max-width:40ch}.founder-grid-focus{grid-template-columns:1fr}.founder-grid-focus .founder-card{padding:20px}.founder-card-top{margin-bottom:15px}.founder-about{font-size:17px}.founder-section-heading h2{font-size:10px}.founder-quote{padding:30px 14px}.founder-links{display:grid;grid-template-columns:1fr}.founder-links a{width:100%}#profilePanel .profile-editor{padding:15px}.profile-edit-block>summary{padding:13px 10px;gap:7px}.profile-section-state{font-size:9px}.profile-edit-body{padding:2px 10px 12px}.profile-card-editor-grid{grid-template-columns:1fr}.profile-save-bar .btn{flex:1}.profile-editor-badge{display:none}}
@media(prefers-reduced-motion:reduce){.founder-section{animation:none}.founder-card,.founder-links a{transition:none}.founder-card:hover{transform:none}}

@media(max-width:700px){.founder-name-row{gap:10px}.founder-name-text{gap:8px}.founder-blue-check{width:32px;height:32px}.founder-company-badge{--founder-logo-size:31px;--founder-logo-scale:.62}}
@media(max-width:360px){.founder-name-row h1{font-size:34px}.founder-blue-check{width:28px;height:28px}.founder-company-badge{--founder-logo-size:27px;--founder-logo-scale:.54}.founder-name-text{gap:7px}}

/* The approved Ringkas hero is a phone-only presentation of the saved profile. */
@media(max-width:600px){
 .founder-hero{position:relative;grid-template-columns:80px minmax(0,1fr);gap:16px;padding:29px 18px 24px;border-radius:19px;min-height:154px}
 .founder-portrait{width:80px;aspect-ratio:4/5;padding:3px;border-radius:12px}
 .founder-portrait img{border-radius:9px;filter:none}
 .founder-identity{min-width:0}
 .founder-identity>.founder-eyebrow{display:none}
 .founder-name-row{gap:0}
 .founder-name-text{gap:6px}
 .founder-name-row h1{font-size:25px;line-height:1.2;letter-spacing:-.04em}
 .founder-blue-check{width:18px;height:18px}
 .founder-role{font-size:12px;line-height:1.65;margin-top:8px}
 .founder-company-badge{--founder-logo-size:44px;--founder-logo-scale:.44;position:absolute;right:2px;top:2px;width:44px;height:44px}
 .founder-company-tile{left:11px;top:10px}
 .founder-company-tile::after{display:none}
 .founder-company-badge .asset-logo-spinner{will-change:transform}
 .founder-company-badge.logo-offscreen .asset-logo-spinner{animation-play-state:paused;will-change:auto}
 .founder-tagline{margin-top:12px}
 .founder-bio{margin-top:10px}
}
@media(max-width:360px){
 .founder-hero{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:29px 13px 24px;min-height:145px}
 .founder-portrait{width:72px}
 .founder-name-row h1{font-size:23px}
 .founder-role{font-size:11px}
}

/* Compact work profile. These rules apply only to the chosen profile layout. */
.profile-compact{padding:10px 12px 18px;--profile-muted:#b3aaa0;--profile-line:#2c2721}
.work-profile-hero{display:grid;grid-template-columns:132px minmax(0,1fr);gap:28px;align-items:center;margin-bottom:28px}
.work-profile-photo{width:132px;aspect-ratio:4/5;overflow:hidden;border:1px solid #6c5844;border-radius:12px;background:#191511}
.work-profile-photo img{display:block;width:100%;height:100%;object-fit:cover}
.work-profile-identity{min-width:0}
.work-profile-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:650;text-transform:uppercase;color:var(--profile-accent);margin:0 0 12px;overflow-wrap:anywhere}
.work-profile-identity h1{font-size:40px;line-height:1.1;letter-spacing:-.045em;font-weight:750;margin:0 0 12px;overflow-wrap:anywhere}
.work-profile-role{font-size:15px;line-height:1.6;color:var(--profile-text);max-width:29ch;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.work-profile-intro{font-size:13px;line-height:1.8;color:var(--profile-muted);margin:14px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.work-profile-about{padding-bottom:28px;margin-bottom:30px;border-bottom:1px solid var(--profile-line)}
.work-profile-about p{font-size:14px;line-height:1.9;color:var(--profile-muted);margin:0;max-width:78ch;white-space:pre-wrap;overflow-wrap:anywhere}
.work-profile-section{margin-top:28px}
.work-profile-section-label{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;color:var(--profile-muted)}
.work-profile-section-label h2{font-size:10px;letter-spacing:.15em;text-transform:uppercase;line-height:1.6;font-weight:650;margin:0}
.work-profile-section-label>span{font-size:11px;white-space:nowrap}
.work-profile-project{padding:26px;border:1px solid var(--profile-line);border-radius:17px;background:linear-gradient(130deg,#1b160f,#121110 65%)}
.work-profile-project-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.work-profile-project-identity{display:flex;align-items:center;gap:14px;min-width:0}
.work-profile-project-identity>div{min-width:0}
.work-profile-monogram{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border:1px solid #554026;border-radius:11px;background:#252015;color:var(--profile-accent);font-size:20px;font-weight:700}
.work-profile-project h3{font-size:24px;line-height:1.25;letter-spacing:-.03em;font-weight:700;margin:0 0 5px;overflow-wrap:anywhere}
.work-profile-project-header p{font-size:12px;line-height:1.6;margin:0;color:var(--profile-muted);white-space:pre-wrap;overflow-wrap:anywhere}
.work-profile-status{display:inline-flex;align-items:center;gap:6px;padding-top:5px;white-space:nowrap;color:var(--profile-accent);font-size:11px}
.work-profile-status>span{width:5px;height:5px;border-radius:50%;background:currentColor}
.work-profile-scope{font-size:13px;line-height:1.7;color:var(--profile-muted);margin:20px 0 0}
.work-profile-responsibilities{display:grid;gap:23px;list-style:none;margin:22px 0 0;padding:22px 0 0;border-top:1px solid var(--profile-line)}
.work-profile-responsibilities li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:13px;margin:0;padding:0}
.work-profile-number{font-size:11px;line-height:1.7;color:var(--profile-accent);font-variant-numeric:tabular-nums}
.work-profile-responsibilities h4{font-size:14px;line-height:1.5;font-weight:600;margin:0 0 5px;overflow-wrap:anywhere}
.work-profile-responsibilities p{font-size:13px;line-height:1.8;color:var(--profile-muted);margin:0;max-width:68ch;white-space:pre-wrap;overflow-wrap:anywhere}
.work-profile-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:20px;margin-top:30px;border-top:1px solid var(--profile-line);font-size:11px;line-height:1.6;color:var(--profile-muted);overflow-wrap:anywhere}
.work-profile-footer>span:last-child{color:var(--profile-accent)}
.profile-compact>.founder-section{animation:none}
@media(max-width:640px){
 .profile-compact{padding:4px 4px 12px}
 .work-profile-hero{grid-template-columns:92px minmax(0,1fr);gap:20px;margin-bottom:24px}
 .work-profile-photo{width:92px;border-radius:9px}
 .work-profile-identity h1{font-size:32px;margin-bottom:9px}
 .work-profile-eyebrow{font-size:9px;letter-spacing:.12em;margin-bottom:9px}
 .work-profile-role{font-size:12px;line-height:1.65}
 .work-profile-about{padding-bottom:24px;margin-bottom:24px}
 .work-profile-about p{font-size:13px;line-height:1.85}
 .work-profile-project{padding:20px 16px;border-radius:14px}
 .work-profile-project-header{gap:10px}
 .work-profile-project-identity{gap:10px}
 .work-profile-monogram{width:34px;height:34px;flex-basis:34px;font-size:17px;border-radius:9px}
 .work-profile-project h3{font-size:20px}
 .work-profile-project-header p{font-size:11px}
 .work-profile-status{font-size:10px}
 .work-profile-responsibilities{gap:20px}
 .work-profile-responsibilities li{grid-template-columns:22px minmax(0,1fr);gap:10px}
 .work-profile-responsibilities h4{font-size:13px}
 .work-profile-responsibilities p{font-size:12px}
 .work-profile-footer{font-size:10px;align-items:flex-start}
}
@media(max-width:360px){
 .work-profile-hero{grid-template-columns:76px minmax(0,1fr);gap:15px}
 .work-profile-photo{width:76px}
 .work-profile-identity h1{font-size:28px}
 .work-profile-project-header{flex-wrap:wrap}
 .work-profile-project h3{font-size:19px}
 .work-profile-section-label h2{font-size:9px;letter-spacing:.1em}
 .work-profile-footer{flex-direction:column;gap:6px}
}

/* Consistent yellow headings for the four visible profile sections. */
#profile-heading-about,
#profile-heading-work,
#profile-heading-focus,
#profile-heading-connect{color:#f6c75b}
