/* R22.5 — Founder identity / entity layer */
.founder-profile-page{background:#f6f0e6;color:#071827;overflow-x:clip}
.founder-profile-page .site-header{position:relative;z-index:20}
.founder-profile-hero{position:relative;overflow:hidden;background:
radial-gradient(circle at 10% 10%,rgba(215,180,93,.18),transparent 28%),
linear-gradient(135deg,#061522 0%,#0a2236 58%,#0d3048 100%);color:#fff;padding:86px 0 74px}
.founder-profile-hero:before{content:"";position:absolute;inset:0;background-image:
linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
background-size:42px 42px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent)}
.founder-profile-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.72fr);gap:72px;align-items:center}
.founder-profile-copy{max-width:760px}
.founder-profile-kicker{display:inline-flex;align-items:center;gap:10px;color:#e3c36f;font-weight:900;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase}
.founder-profile-kicker:before{content:"";width:34px;height:1px;background:#d7b45d}
.founder-profile-title{font-size:clamp(2.9rem,6vw,5.5rem);line-height:1.08;margin:18px 0 14px;color:#fff;letter-spacing:-.025em}
.founder-profile-role{display:block;color:#d9e2e8;font-size:clamp(1.08rem,2vw,1.42rem);font-weight:700;margin-bottom:24px}
.founder-profile-lead{max-width:700px;color:#c6d1d8;font-size:1.05rem;line-height:2.05;margin:0}
.founder-profile-lead strong{color:#fff}
.profile-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.profile-badges span{border:1px solid rgba(215,180,93,.35);background:rgba(255,255,255,.045);border-radius:999px;padding:8px 13px;color:#e9eef1;font-size:.84rem}
.profile-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.profile-actions a{min-height:48px}

.profile-portrait-shell{position:relative;max-width:460px;margin-inline:auto}
.profile-portrait-frame{position:relative;border:1px solid rgba(215,180,93,.45);border-radius:30px;padding:12px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));box-shadow:0 38px 90px rgba(0,0,0,.3)}
.profile-portrait-frame:before{content:"";position:absolute;inset:18px -18px -18px 18px;border:1px solid rgba(215,180,93,.18);border-radius:30px;z-index:-1}
.profile-portrait-media{position:relative;overflow:hidden;border-radius:22px;aspect-ratio:4/5;background:#0b2437}
.profile-portrait-media img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.profile-portrait-shade{position:absolute;inset:auto 0 0;height:34%;background:linear-gradient(transparent,rgba(4,17,27,.84))}
.profile-portrait-caption{position:absolute;right:22px;left:22px;bottom:19px;display:flex;align-items:end;justify-content:space-between;gap:14px}
.profile-portrait-caption strong{display:block;color:#fff;font-size:1.1rem}.profile-portrait-caption span{display:block;color:#d4dfe5;font-size:.82rem;margin-top:3px}
.profile-monogram{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#d7b45d;color:#071827;font-weight:950;letter-spacing:.03em}
.profile-official-chip{position:absolute;left:-24px;top:34px;background:#fbf4e7;border:1px solid #dfc99a;color:#071827;padding:12px 15px;border-radius:16px;box-shadow:0 18px 40px rgba(0,0,0,.18);max-width:190px}
.profile-official-chip small{display:block;color:#8b6a29;font-weight:900;margin-bottom:3px}.profile-official-chip b{font-size:.9rem;line-height:1.65}
.profile-credentials{background:#fff;border-bottom:1px solid #e7dcc8}
.profile-credential-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.profile-credential{padding:28px 30px;border-inline-start:1px solid #ece3d5}
.profile-credential:first-child{border-inline-start:0}
.profile-credential small{display:block;color:#9a7732;font-weight:900;margin-bottom:7px}.profile-credential b{display:block;color:#071827;font-size:1.08rem}.profile-credential span{display:block;color:#68747c;font-size:.88rem;margin-top:5px}
.profile-story{padding:88px 0;background:#f6f0e6}
.profile-story-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:70px;align-items:start}
.profile-story-copy h2,.profile-proof h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.35;margin:10px 0 20px;color:#071827}
.profile-story-copy p{font-size:1rem;line-height:2.05;color:#53616b;margin:0 0 18px}

.profile-principles{display:grid;gap:13px}
.profile-principle{border:1px solid #e2d4bb;background:#fffaf1;border-radius:20px;padding:21px 22px;box-shadow:0 14px 34px rgba(7,24,39,.045)}
.profile-principle span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#071827;color:#d7b45d;font-size:.78rem;font-weight:950}
.profile-principle h3{margin:12px 0 5px;color:#071827;font-size:1.03rem}.profile-principle p{margin:0;color:#68747c;font-size:.91rem;line-height:1.85}
.profile-proof{padding:82px 0;background:#071827;color:#fff}
.profile-proof h2{color:#fff}.profile-proof .eyebrow{color:#e2c16e}
.profile-proof-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.7fr);gap:54px;align-items:center}
.profile-proof-copy p{color:#c6d0d7;line-height:2;font-size:1rem;max-width:710px}
.profile-official-card{background:linear-gradient(145deg,#fffaf1,#f5ead7);border:1px solid #ddc898;border-radius:24px;padding:28px;color:#071827;box-shadow:0 24px 60px rgba(0,0,0,.22)}
.profile-official-card .seal-row{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.profile-official-card .seal{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#071827;color:#d7b45d;font-weight:950}
.profile-official-card strong{display:block;font-size:1.12rem}.profile-official-card small{display:block;color:#7a6c55;margin-top:3px}
.profile-official-card p{color:#5d6670;line-height:1.9;margin:0 0 18px}
.profile-official-link{display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;color:#071827;font-weight:900;border-top:1px solid #dfd0b6;padding-top:16px}
.profile-official-link span:last-child{direction:ltr;color:#9a7732}
.profile-ethos{padding:76px 0;background:#fff}
.profile-ethos-box{display:grid;grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);gap:54px;align-items:center;border:1px solid #e7dcc8;border-radius:26px;padding:34px 38px;background:#fbf8f2}
.profile-ethos-box .mark{font-size:4rem;line-height:1;color:#d7b45d;font-family:Georgia,serif}
.profile-ethos-box blockquote{margin:0;color:#071827;font-size:clamp(1.25rem,2.3vw,1.8rem);line-height:1.8;font-weight:800}
.profile-ethos-box cite{display:block;margin-top:13px;color:#6b747b;font-style:normal;font-size:.9rem}

/* Subtle founder byline on the real home page */
.trust-row-v2{position:relative}
.founder-home-byline{margin:14px 0 0;color:#6b747b;font-size:.88rem;line-height:1.8}
.founder-home-byline a{color:#071827;font-weight:900;text-decoration:none;border-bottom:1px solid rgba(154,119,50,.45)}
.founder-home-byline a:hover{color:#9a7732;border-bottom-color:#9a7732}
.footer-cred a,.founder-identity a{color:inherit;text-decoration:none}
.founder-identity-link{display:inline-flex;margin-top:10px;color:#8c6a28!important;font-size:.82rem;font-weight:900;border-bottom:1px solid rgba(140,106,40,.35)}

@media(max-width:980px){
  .founder-profile-grid,.profile-story-grid,.profile-proof-grid,.profile-ethos-box{grid-template-columns:1fr}
  .founder-profile-grid{gap:46px}.profile-portrait-shell{width:min(100%,430px)}
  .profile-credential-grid{grid-template-columns:1fr 1fr 1fr}
}
@media(max-width:640px){
  .founder-profile-hero{padding:58px 0 50px}
  .founder-profile-grid{gap:36px}
  .founder-profile-title{font-size:clamp(2.55rem,13vw,3.7rem)}
  .founder-profile-lead{font-size:.96rem;line-height:1.95}
  .profile-actions{display:grid;grid-template-columns:1fr}.profile-actions .btn{width:100%}
  .profile-official-chip{position:static;margin-top:12px;max-width:none}
  .profile-credential-grid{grid-template-columns:1fr}
  .profile-credential{border-inline-start:0;border-top:1px solid #ece3d5;padding:20px 6px}
  .profile-credential:first-child{border-top:0}
  .profile-story,.profile-proof,.profile-ethos{padding:58px 0}
  .profile-story-grid,.profile-proof-grid{gap:34px}
  .profile-ethos-box{padding:26px 22px;gap:18px}
  .profile-portrait-caption{right:15px;left:15px;bottom:15px}
}
@media(prefers-reduced-motion:reduce){
  .founder-profile-page *, .founder-profile-page *:before,.founder-profile-page *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

.profile-latin-name{display:block;direction:ltr;text-align:right;color:#91a4af;font-size:.8rem;font-weight:700;letter-spacing:.08em;margin:-13px 0 22px}

/* Production polish: identity chip never overlaps the portrait */
.profile-official-chip{position:relative!important;left:auto!important;top:auto!important;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 14px 0;max-width:none!important;background:#fbf4e7;border:1px solid #dfc99a;color:#071827;padding:13px 16px;border-radius:16px;box-shadow:0 14px 34px rgba(0,0,0,.14)}
.profile-official-chip b{display:block}
.profile-official-chip>span{white-space:nowrap;border:1px solid #d8bf87;border-radius:999px;padding:6px 10px;color:#7c5d21;font-size:.78rem;font-weight:950}
@media(max-width:640px){.profile-official-chip{margin:13px 0 0;align-items:flex-start;gap:10px;padding:12px 13px}.profile-official-chip>span{font-size:.74rem;padding:5px 8px}.profile-portrait-frame:before{display:none}.profile-portrait-shell{max-width:100%}}

.profile-official-card p small{display:block;margin-top:8px;color:#8b6a29;font-size:.78rem;font-weight:850;letter-spacing:.01em}
