/* Founder contact cards: three layouts, one shared content model. */
.qt-founders{--fc-blue:#155A9F;--fc-orange:#E79E1C;--fc-border:#d9e2ed;--fc-muted:#4b5563;--fc-panel:#fff;background:#f3f5f7;color:#111827;scroll-margin-top:var(--qt-anchor-offset,220px)}
.qt-founders-heading{margin-bottom:42px;max-width:740px}
.qt-founders-heading h2{margin:22px 0 18px}
.qt-founders-heading p{font-size:18px;line-height:1.8}
.qt-founders-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:28px;align-items:start}
.qt-founder-card{position:relative;max-width:860px;width:100%;margin-inline:auto;border:1px solid var(--fc-border);border-radius:20px;overflow:hidden;background:var(--fc-panel);color:#111827;scroll-margin-top:var(--qt-anchor-offset,220px);box-shadow:0 14px 44px rgba(17,24,39,.05);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1),box-shadow .25s}
.qt-founder-card:target{outline:3px solid var(--fc-orange);outline-offset:5px}
.qt-founder-card:focus-visible{outline:3px solid var(--fc-orange);outline-offset:5px}
.qt-founder-card-header{display:flex;align-items:center;gap:26px;padding:32px;min-width:0}
.qt-founder-card-header>div{min-width:0}
.qt-founder-portrait{width:125px!important;height:125px!important;object-fit:cover;object-position:center 25%;border-radius:16px;border:1px solid rgba(255,255,255,.35);flex:none}
.qt-founder-card .qt-founder-brand{display:block;font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--fc-blue);text-align:right}
.qt-founder-card h3{font-size:clamp(24px,2.8vw,36px);font-weight:800;line-height:1.45;letter-spacing:-.03em;margin-block:8px 4px;overflow-wrap:anywhere}
.qt-founder-card-header p{font-size:16px;color:var(--fc-muted)}
.qt-founder-company{display:block;font-size:12px;margin-top:8px;color:var(--fc-muted);text-align:right;letter-spacing:.03em}
.qt-founder-actions{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border-block:1px solid var(--fc-border);background:#eaf1f8}
.qt-founder-actions a,.qt-founder-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:88px;padding:13px 8px;text-decoration:none;color:var(--fc-blue)!important;border:0;background:transparent;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer;transition:background .2s,color .2s}
.qt-founder-actions>*+*{border-inline-start:1px solid var(--fc-border)}
.qt-founder-actions a:hover{background:#dce9f6}
.qt-founder-actions button:disabled{opacity:.45;cursor:default}
.qt-founder-card svg,.qt-founder-tools svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
.qt-founder-details{padding:12px 30px}
.qt-founder-detail{display:flex;gap:20px;padding:20px 0;align-items:flex-start}
.qt-founder-detail+.qt-founder-detail{border-top:1px solid var(--fc-border)}
.qt-founder-detail>svg{margin-top:9px;color:var(--fc-blue)}
.qt-founder-detail>div{display:flex;flex-direction:column;min-width:0;gap:3px}
.qt-founder-detail-label{font-size:12px;font-weight:700;color:var(--fc-muted)}
.qt-founder-detail a,.qt-founder-detail>div>span:not(.qt-founder-detail-label){font-size:17px;color:inherit!important;overflow-wrap:anywhere;text-align:right;line-height:1.8}
.qt-founder-detail a:hover{text-decoration:underline;text-underline-offset:5px}
.qt-founder-detail small{font-size:14px;color:var(--fc-muted);line-height:1.8}
.qt-founder-card-footer{padding:12px 30px 24px}
.qt-founder-social{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.qt-founder-social a{display:flex;align-items:center;gap:8px;border:1px solid var(--fc-border);min-height:44px;padding:8px 12px;border-radius:30px;font-size:12px;font-weight:700;color:inherit!important;transition:background .2s,transform .2s}
.qt-founder-social a:hover{transform:translateY(-3px);background:rgba(231,158,28,.15)}
.qt-founder-social svg{width:18px;height:18px}
.qt-founder-tools{display:none;flex-wrap:wrap;gap:8px;border-top:1px solid var(--fc-border);padding-top:20px}
.qt-card-actions-ready .qt-founder-tools{display:flex}
.qt-founder-tools button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;flex:1;padding:10px 12px;border-radius:8px;border:1px solid var(--fc-border);background:transparent;color:inherit;font-family:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:background .2s,transform .2s;white-space:nowrap}
.qt-founder-tools button:hover{background:rgba(231,158,28,.14);transform:translateY(-2px)}
.qt-founder-tools button:active{transform:scale(.98)}
.qt-founder-tools button:disabled{opacity:.45;cursor:default;transform:none}
.qt-founder-card .qt-founder-status{min-height:0;font-size:13px;line-height:1.8;color:var(--fc-muted);margin:0}
.qt-founder-status:not(:empty){margin-top:15px!important}
.qt-founder-card button:focus-visible,.qt-founder-card a:focus-visible{outline:3px solid var(--fc-orange)!important;outline-offset:3px}
.qt-founders-noir{--fc-border:rgba(255,255,255,.17);--fc-muted:#cbd5e1;--fc-panel:#14273e;background:radial-gradient(circle at 10% 20%,rgba(21,90,159,.25),transparent 40%),#0b1423;color:#f3f5f7}
.qt-founders-noir .qt-founder-card{color:#f3f5f7;box-shadow:0 15px 50px rgba(0,0,0,.16)}
.qt-founders-noir .qt-founder-card-header{background:linear-gradient(115deg,#155A9F,#13253b 72%)}
.qt-founders-noir .qt-founder-brand{color:#fff}
.qt-founders-noir .qt-founder-detail>svg{color:#E79E1C}
.qt-founders-noir .qt-founder-actions{background:#102037}
.qt-founders-noir .qt-founder-actions a{color:#fff!important}
.qt-founders-noir .qt-founder-actions a:hover{background:rgba(21,90,159,.6)}
.qt-founders-signature .qt-founders-heading h2 em{color:#155A9F}
.qt-founders-signature .qt-next-kicker,.qt-founders-minimal .qt-next-kicker{color:#155A9F}
.qt-founders-signature .qt-next-kicker b,.qt-founders-minimal .qt-next-kicker b{border-color:#155A9F}
.qt-founders-minimal .qt-founders-heading h2 em{color:#155A9F}
.qt-founders-signature{background:radial-gradient(ellipse at 50% 35%,rgba(21,90,159,.06),transparent 65%),#F3F5F7}
.qt-founders-signature .qt-founders-heading{margin-inline:auto;text-align:center}
.qt-founders-signature .qt-founders-heading p{margin-inline:auto}
.qt-founders-signature .qt-founder-card{max-width:620px;box-shadow:0 20px 60px rgba(21,90,159,.1)}
.qt-founders-signature .qt-founder-card-header{position:relative;flex-direction:column;text-align:center;padding:38px 25px;background:linear-gradient(125deg,#155A9F,#111827);color:#fff}
.qt-founders-signature .qt-founder-card-header:before{content:"";position:absolute;inset:0;border-top:4px solid #E79E1C;pointer-events:none}
.qt-about .qt-founders-signature .qt-founder-card-header h3{color:#fff!important;-webkit-text-fill-color:#fff!important}
.qt-founders-signature .qt-founder-portrait{width:136px!important;height:136px!important;border-radius:50%;border:3px solid #E79E1C}
.qt-founders-signature .qt-founder-card-header>div{text-align:center}
.qt-founders-signature .qt-founder-brand{color:#fff;text-align:center}
.qt-founders-signature .qt-founder-card-header p,.qt-founders-signature .qt-founder-company{color:#e5e7eb;text-align:center}
.qt-founders-signature .qt-founder-tools button[data-card-action="save"]{background:#155A9F;color:#fff;border-color:#155A9F}
.qt-founders-signature .qt-founder-tools button[data-card-action="save"]:hover{background:#124e8b}
.qt-founders-signature .qt-founder-social{display:grid;grid-template-columns:repeat(4,1fr)}
.qt-founders-signature .qt-founder-social a{justify-content:center;min-width:0;padding-inline:10px}
.qt-founders-signature .qt-founder-detail a[href^="tel:"]{font-size:21px;font-weight:400;letter-spacing:.02em}
@media(max-width:520px){.qt-founders-signature .qt-founder-social{grid-template-columns:repeat(2,1fr)}.qt-founders-signature .qt-founders-heading{margin-bottom:32px}.qt-founders-signature .qt-founder-card-header{padding-block:32px;gap:20px}}
.qt-founders-minimal{background:#eaf0f6}
.qt-founders-minimal .qt-founders-grid{grid-template-columns:1fr}
.qt-founders-minimal .qt-founder-card{display:grid;grid-template-columns:.85fr 1.15fr;max-width:1120px;border-radius:12px;box-shadow:none;border-top:4px solid #E79E1C}
.qt-founders-minimal .qt-founder-card-header{grid-row:1/4;flex-direction:column;justify-content:center;text-align:center;background:#155A9F;color:#fff;padding:40px 25px}
.qt-founders-minimal .qt-founder-card-header>div{text-align:center}
.qt-founders-minimal .qt-founder-portrait{width:180px!important;height:210px!important;border-radius:12px}
.qt-founders-minimal .qt-founder-brand{color:#fff;text-align:center}
.qt-founders-minimal .qt-founder-card-header p,.qt-founders-minimal .qt-founder-company{color:#e5e7eb;text-align:center}
.qt-founders-minimal .qt-founder-actions{border-top:0}
.qt-founders-minimal .qt-founder-card-footer{padding-bottom:24px}
.qt-noir-next.qt-motion-ready .qt-founder-card[data-reveal]:not(.is-visible){transform:translateY(14px);opacity:0}
.qt-founders-grid>.qt-founder-card:nth-child(2){transition-delay:70ms}
.qt-founders-grid>.qt-founder-card:nth-child(3){transition-delay:140ms}
.qt-profile-dialog{font-family:Bahij,Cairo,system-ui,sans-serif;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:18px;padding:28px;width:min(440px,calc(100% - 32px));max-height:calc(100svh - 48px);overflow:auto;text-align:right}
.qt-profile-dialog::backdrop{background:rgba(5,12,24,.75)}
.qt-profile-dialog h3{font-size:24px;line-height:1.6;margin-bottom:10px}
.qt-profile-dialog p{font-size:14px;line-height:1.8;color:#4b5563}
.qt-profile-dialog .qt-dialog-close{position:absolute;top:10px;left:10px;width:44px;height:44px;font-family:inherit;font-size:24px;background:#f3f5f7;border:0;border-radius:50%;cursor:pointer}
.qt-profile-dialog .qt-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.qt-profile-dialog .qt-dialog-actions button,.qt-profile-dialog a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 14px;background:#155A9F;color:#fff;border:0;border-radius:6px;font-family:inherit;font-size:14px;cursor:pointer}
.qt-profile-dialog .qt-dialog-actions button:focus-visible,.qt-profile-dialog .qt-dialog-close:focus-visible{outline:3px solid #E79E1C;outline-offset:3px}
.qt-profile-qr{width:240px;max-width:100%;margin:20px auto;background:#fff}
.qt-profile-qr svg{display:block;width:100%;height:auto}
.qt-profile-url{direction:ltr;text-align:left;overflow-wrap:anywhere;font-size:12px!important}
.qt-founders-preview-bar{font-family:Cairo,system-ui,sans-serif;padding:18px 24px;background:#f3f5f7;color:#111827;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.qt-founders-preview-bar a{padding:10px 15px;min-height:44px;border:1px solid #cbd5e1;border-radius:6px;color:#155A9F;text-decoration:none;font-weight:700;font-size:14px}
.qt-founders-preview-bar a[aria-current="page"]{background:#155A9F;color:white}
@media(max-width:800px){.qt-founders-minimal .qt-founder-card{grid-template-columns:1fr}.qt-founders-minimal .qt-founder-card-header{grid-row:auto;flex-direction:row;text-align:right;justify-content:flex-start}.qt-founders-minimal .qt-founder-card-header>div{text-align:right}.qt-founders-minimal .qt-founder-brand,.qt-founders-minimal .qt-founder-company{text-align:right}.qt-founders-minimal .qt-founder-portrait{width:110px!important;height:140px!important}}
@media(max-width:520px){.qt-founder-card-header{padding:25px 20px;gap:16px;flex-direction:column;text-align:center}.qt-founder-card-header>div{text-align:center}.qt-founder-card .qt-founder-brand,.qt-founder-company{text-align:center}.qt-founder-card h3{font-size:26px}.qt-founder-details{padding-inline:20px}.qt-founder-detail{gap:14px;padding-block:18px}.qt-founder-detail a,.qt-founder-detail>div>span:not(.qt-founder-detail-label){font-size:16px}.qt-founder-card-footer{padding-inline:20px}.qt-card-actions-ready .qt-founder-tools{display:grid;grid-template-columns:1fr 1fr}.qt-founder-tools button:last-child{grid-column:1/-1}.qt-founder-social{gap:8px}.qt-founder-social a{padding:8px 10px}.qt-founder-actions a,.qt-founder-actions button{font-size:13px;min-height:82px}.qt-founders-minimal .qt-founder-card-header{flex-direction:column}.qt-founders-minimal .qt-founder-card-header>div,.qt-founders-minimal .qt-founder-brand,.qt-founders-minimal .qt-founder-company{text-align:center}.qt-founders-minimal .qt-founder-portrait{width:150px!important;height:180px!important}}
@media(prefers-reduced-motion:reduce){.qt-founders *, .qt-founders *:before,.qt-founders *:after{animation:none!important;transition:none!important}.qt-noir-next.qt-motion-ready .qt-founder-card[data-reveal]:not(.is-visible){opacity:1!important;transform:none!important}}
