#team .founder-expertise{margin:30px 0;padding:24px;border:1px solid #ffffff30;border-radius:18px;background:#07366c;color:#e4efff}
#team .founder-expertise-role{font-size:11px;font-weight:700;color:#ffd90c;margin:0 0 9px}
#team .founder-expertise h3{font-size:clamp(21px,1.7vw,28px);line-height:1.25;color:#fff;margin:0 0 18px}
#team .founder-facts{padding-left:17px;margin:0;display:grid;gap:11px}
#team .founder-facts-toggle{display:none}
@media(max-width:600px){
 #team .founder-facts-toggle{display:block;min-height:44px;padding:0;border:0;background:transparent;color:var(--yellow);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
 #team .founder-facts-toggle[aria-expanded="false"]+.founder-facts{display:none}
}
#team .founder-facts li{font-size:12px;line-height:1.7;padding-left:3px}
#team .founder-facts li::marker{color:#ffd90c}
#team .founder-facts strong{color:#fff}
#team .founder-doc-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 16px}
#team .founder-doc-card{min-width:0;display:flex;flex-direction:column;padding:8px;border:1px solid #ffffff35;border-radius:10px;background:#f4f8ff;color:#06275a;text-align:left;cursor:pointer;font:inherit}
#team .founder-doc-card img{width:100%;height:105px;object-fit:contain;background:#fff;display:block;border-radius:4px}
#team .founder-doc-card span{font-size:10px;font-weight:700;line-height:1.5;padding-top:8px}
#team .founder-all-documents{font-size:12px;min-height:44px;padding:12px 17px;white-space:normal}
#team .founder-doc-note{font-size:10px;line-height:1.6;margin:12px 0;color:#b9d0eb}
#team .founder-doc-index{font-size:11px;line-height:1.7}
#team .founder-doc-index summary{cursor:pointer;color:#ffd90c}
#team .founder-doc-index h4{font-size:12px;color:#fff;margin:15px 0 5px}
#team .founder-doc-index ul{padding-left:18px}
#team .founder-doc-index a{color:#e4efff;text-decoration:underline;text-underline-offset:3px}
.founder-gallery{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;margin:0;padding:24px;border:0;border-radius:0;background:transparent;overflow:hidden;outline:none}
.founder-gallery[open]{display:flex;align-items:center;justify-content:center}
.founder-gallery::backdrop{background:#001128df;backdrop-filter:blur(5px)}
.founder-gallery-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.founder-gallery button{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:54px;border:0;border-radius:9px;background:#02275eaa;color:white;font:42px/1 Arial,sans-serif;cursor:pointer}
.founder-gallery [data-prev]{left:32px}.founder-gallery [data-next]{right:32px}
.founder-gallery button:hover{background:#02275ee6;color:#ffd90c}
.founder-gallery button:focus-visible{outline:2px solid #ffd90c;outline-offset:3px}
@media(max-width:600px){#team .founder-expertise{padding:18px}#team .founder-doc-previews{gap:6px}#team .founder-doc-card{padding:5px}#team .founder-doc-card img{height:80px}#team .founder-doc-card span{font-size:9px}.founder-gallery{padding:12px}.founder-gallery [data-prev]{left:14px}.founder-gallery [data-next]{right:14px}.founder-gallery button{width:36px;height:48px;font-size:36px}}
/* Principles offset follows the existing two-column breakpoint. */
#team .academy-founder-column{min-width:0}
#team .academy-founder-principles{margin-bottom:32px}

@media(max-width:800px){#team .academy-founder-principles{margin-top:0}}
/* Shared row keeps the founder photograph and expertise aligned. */
#team .academy-intro{align-items:start}
#team .academy-founder-principles{margin-top:0}
#team .academy-founder-row{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.15fr;gap:80px;align-items:start}
#team .academy-founder-row .academy-founder{justify-self:start;margin:0;width:100%}
#team .academy-founder-row .founder-expertise{margin:0;min-width:0}
@media(max-width:1100px){#team .academy-founder-row{gap:40px}}
@media(max-width:800px){#team .academy-founder-row{grid-template-columns:minmax(0,1fr);gap:30px}#team .academy-founder-row .academy-founder{justify-self:center}}

@media(min-width:801px){#team .academy-founder-principles{margin-top:-30px}}
/* Widen expertise toward the unchanged founder photograph. */
@media(min-width:801px){#team .academy-founder-row{grid-template-columns:minmax(0,490px) minmax(0,1fr);gap:32px}#team .academy-founder-row .founder-facts li{font-size:14px;line-height:1.7}#team .academy-founder-row .founder-expertise-role{font-size:12px}}
#team .academy-founder-row .founder-expertise-role{font-size:20px}
@media(max-width:700px){#team .academy-founder-row .founder-expertise-role{font-size:15px}#team #founder-expertise-title{font-size:16px}}
