/* Quran Impact Connect: shared brand typography and responsive information cards. */
.connect-page{max-width:1200px;box-sizing:border-box;padding:48px 36px 100px;font-family:"IBM Plex Sans",Arial,sans-serif;color:#171923}
.connect-intro{max-width:800px;margin-bottom:32px}.connect-intro>p:first-child{font-size:13px;margin:0 0 16px;color:#756b81}.connect-page h1{font-size:clamp(32px,4vw,46px);margin:0 0 12px;letter-spacing:-.025em}.connect-intro>p:last-child{font:16px/1.8 "IBM Plex Sans",Arial,sans-serif;color:#626676;margin:0}
.connect-page section{box-sizing:border-box;border:1px solid #e6e7ee;border-radius:20px;padding:30px;background:#fff;scroll-margin-top:120px}
.connect-page section.connect-founder{display:flex;align-items:flex-start;gap:28px;background:linear-gradient(120deg,#f7f8fc,#f1edfb);padding:36px;margin:0 0 24px}
.founder-avatar{width:120px;height:120px;flex:0 0 120px;border-radius:50%;border:5px solid #fff;box-shadow:0 4px 18px #4934bd0d;object-fit:cover}.founder-copy{flex:1;min-width:0}.connect-page .connect-eyebrow{font-size:11px;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;color:#4934bd;margin:0 0 8px}.connect-page .connect-founder h2{font-size:32px;margin:0 0 4px}.connect-page .founder-role{font-size:14px;font-weight:500;color:#4934bd;margin:0 0 12px}.connect-page section p{font:15px/1.8 "IBM Plex Sans",Arial,sans-serif;color:#626676;margin:0 0 12px;max-width:none}.connect-page section p:last-child{margin-bottom:0}
.connect-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.connect-info-card{display:flex;flex-direction:column;align-items:flex-start}.connect-page .connect-info-card h2{font-size:26px;letter-spacing:-.02em;margin:0 0 14px}.connect-page .connect-info-card h3{font-family:"IBM Plex Sans",Arial,sans-serif;font-size:14px;font-weight:500;margin:12px 0 10px}.connect-page a{color:#4934bd}.connect-page .connect-text-cta{font:500 14px/1.6 "IBM Plex Sans",Arial,sans-serif;text-decoration:none;margin-top:auto;padding-top:8px}.connect-text-cta:hover{text-decoration:underline}.founder-details{margin-top:20px}.connect-page .connect-cta{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:11px 16px;border:1px solid #ffffff52;border-radius:10px;background:linear-gradient(135deg,#5d46d2eb,#412cb1e0);box-shadow:inset 0 1px 0 #ffffff45,0 3px 10px #3e28931a;color:#fff;font:400 13px/1.45 "IBM Plex Sans",Arial,sans-serif;cursor:pointer}.connect-cta::-webkit-details-marker{display:none}.connect-page .connect-cta:hover{background:linear-gradient(135deg,#543cc7f5,#3823a1f0);border-color:#ffffff66;box-shadow:inset 0 1px 0 #ffffff50,0 5px 14px #3e289326}.connect-cta:focus-visible,.connect-page a:focus-visible{outline:3px solid #4934bd;outline-offset:4px}.founder-details-copy{margin-top:20px;padding-top:18px;border-top:1px solid #ded8ef}.founder-details-copy h3{font-family:"Noto Serif",Georgia,serif;font-size:22px;margin:0 0 8px}
@media(max-width:700px){.connect-page{padding:30px 20px 70px}.connect-card-grid{grid-template-columns:1fr;gap:16px}.connect-page section{padding:24px;border-radius:16px}.connect-page section.connect-founder{padding:26px 24px;flex-direction:column;gap:18px}.founder-avatar{width:96px;height:96px;flex-basis:96px}.connect-page .connect-founder h2{font-size:29px}.connect-intro{margin-bottom:24px}}

/* Founder identity on the left; supporting copy and action on the right. */
.connect-page section.connect-founder{align-items:center}
.founder-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,1fr);align-items:center;gap:32px}
.founder-actions{text-align:right;min-width:0}.connect-page .founder-actions>p{margin:0 0 16px}.founder-actions .founder-details{margin-top:0}.founder-details-copy{text-align:left}.founder-avatar{background:transparent;border:0;box-shadow:none}
.connect-page .founder-actions .connect-cta:hover{transform:none;background:linear-gradient(135deg,#543cc7f5,#3823a1f0);border-color:#ffffff66;box-shadow:inset 0 1px 0 #ffffff50,0 5px 14px #3e289326}
@media(max-width:900px){.founder-copy{grid-template-columns:1fr;gap:18px}.founder-actions{text-align:left}}
@media(max-width:700px){.connect-page section.connect-founder{align-items:flex-start;gap:20px}.founder-copy{display:grid;width:100%;gap:18px}.founder-identity,.founder-actions{min-width:0}.founder-avatar{width:112px;height:112px;flex-basis:112px}.connect-page .founder-role{margin-bottom:0}.connect-page .connect-info-card{min-width:0}.connect-page section p,.connect-page section a{overflow-wrap:anywhere}.founder-actions .connect-cta{min-height:44px;box-sizing:border-box}.connect-card-grid{width:100%}}

/* Founder identity and supporting action share one aligned desktop row. */
@media(min-width:701px){
.connect-page section.connect-founder{display:grid;grid-template-columns:120px minmax(220px,1fr) minmax(260px,1fr);align-items:center;column-gap:28px;row-gap:0}
.connect-founder .founder-avatar{grid-column:1;grid-row:1;align-self:center}
.connect-founder .founder-copy{display:contents}
.connect-founder .founder-identity{grid-column:2;grid-row:1;align-self:center}
.connect-founder .founder-actions{grid-column:3;grid-row:1;align-self:center;justify-self:end;width:100%;margin-top:0;text-align:right}
.connect-founder .founder-actions .founder-details-copy{text-align:left}
}
@media(min-width:701px) and (max-width:900px){
.connect-page section.connect-founder{grid-template-columns:88px minmax(150px,1fr) minmax(220px,1fr);column-gap:18px;padding:28px}
.connect-founder .founder-avatar{width:88px;height:88px;flex-basis:88px}
.connect-page .connect-founder h2{font-size:27px}
}
/* Small founder label with a gently moving zigzag underline. */
.connect-page .founder-identity .connect-eyebrow{position:relative;display:inline-block;max-width:100%;font-size:9px;line-height:1.6;letter-spacing:.09em;margin-bottom:12px;padding-bottom:6px}
.founder-identity .connect-eyebrow::after{content:"";position:absolute;inset:auto 0 0;height:4px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4' viewBox='0 0 16 4'%3E%3Cpath d='M-4 3L0 1L4 3L8 1L12 3L16 1L20 3' fill='none' stroke='%234934bd' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:repeat-x;background-size:16px 4px;opacity:.6;animation:founder-zigzag 2.8s linear infinite}
@keyframes founder-zigzag{from{background-position:0 0}to{background-position:16px 0}}
@media(prefers-reduced-motion:reduce){.founder-identity .connect-eyebrow::after{animation:none}}

/* Clear CTA hover feedback; no movement for reduced-motion preferences. */
.connect-page .founder-actions .connect-cta{transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;transform-origin:right center}
.connect-page .founder-actions .connect-cta:hover{transform:translateY(-2px);filter:brightness(1.07);background:linear-gradient(135deg,#543cc7f5,#3823a1f0);border-color:#ffffff66;box-shadow:inset 0 1px 0 #ffffff50,0 7px 18px #3e289333}
.connect-page .founder-actions .connect-cta:active{transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.connect-page .founder-actions .connect-cta{transition:none}.connect-page .founder-actions .connect-cta:hover{transform:none}}

.connect-page a.connect-cta{text-decoration:none;color:#fff}
