/* =====================================================
   TranslateXYZ — Founder Pages (/about/{founder}/)
   Contains: SHARE+AI BAR + founder hero/profile/portfolio/blog/other-founder
   ===================================================== */

/* ===========================================
   SHARE + AI BAR
   Layout: share group on left · AI group pushed right via margin-left:auto
   =========================================== */
.share-ai {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-5);
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-5);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
}
.share-ai__group {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}
.share-ai__group--ai { margin-left: auto; }
.share-ai__label {
    font-size: 11px;
    font-weight: var(--fw-bold);
    color: var(--text-on-light-muted);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
}
.share-ai__buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Default pill-style button (used by AI buttons) */
.share-ai__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-light);
    background: var(--bg-light);
    color: var(--text-on-light);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--t-fast);
}
.share-ai__btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.share-ai__btn:hover {
    border-color: var(--green-500);
    color: var(--green-700);
    background: var(--green-50);
    transform: translateY(-1px);
}

/* Icon-only circular buttons (share group) */
.share-ai__btn--icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
}
.share-ai__btn--icon svg { width: 14px; height: 14px; }
.share-ai__btn--copy.is-copied {
    background: var(--green-500);
    border-color: var(--green-500);
    color: #fff;
}

/* AI button — slightly larger icons + colored hover per provider */
.share-ai__btn--ai { padding: 7px 14px 7px 10px; }
.share-ai__ai-icon { width: 16px !important; height: 16px !important; }

/* Per-brand accent on hover (subtle) */
.share-ai__btn--x:hover         { border-color: #000; color: #000; background: var(--bg-light-subtle); }
.share-ai__btn--linkedin:hover  { border-color: #0A66C2; color: #0A66C2; background: rgba(10,102,194,0.06); }
.share-ai__btn--facebook:hover  { border-color: #1877F2; color: #1877F2; background: rgba(24,119,242,0.06); }


/* ===========================================
   FOUNDER PROFILE PAGE — dark hero + inline socials + portfolio + blog
   =========================================== */
.founder-page-header.founder-hero--dark {
    padding: var(--sp-10) 0 var(--sp-12);
}
.founder-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--sp-9);
    align-items: start;
}

/* Photo card with green glow ring */
.founder-hero__visual { min-width: 0; }
.founder-hero__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--r-xl);
    border: 1px solid rgba(48,178,48,0.30);
    box-shadow:
        0 0 0 1px rgba(48,178,48,0.08),
        0 24px 60px rgba(0,0,0,0.5),
        0 0 80px rgba(48,178,48,0.18);
    display: block;
}

/* Right column */
.founder-hero__content { padding-top: 0; min-width: 0; }
.founder-hero__content .breadcrumb { margin-bottom: var(--sp-5); }
.founder-hero h1 {
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: var(--fw-extra);
    color: var(--text-on-dark-strong);
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: var(--sp-2) 0 var(--sp-3);
}
.founder-hero__role {
    display: inline-block;
    font-size: var(--fs-sm);
    color: var(--green-300);
    font-weight: var(--fw-semibold);
    background: rgba(48,178,48,0.12);
    border: 1px solid rgba(48,178,48,0.30);
    border-radius: var(--r-pill);
    padding: 5px 12px;
    margin-bottom: var(--sp-5);
}
.founder-hero__lead {
    font-size: var(--fs-md);
    color: var(--text-on-dark);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-6);
}

/* Inline social link list inside the dark hero */
.founder-hero__socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-3);
}
.founder-hero__socials-label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    color: var(--text-on-dark-muted);
}
.founder-hero__socials-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.founder-hero__socials-list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--text-on-dark);
    text-decoration: none;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.founder-hero__socials-list a:hover {
    background: rgba(48,178,48,0.18);
    border-color: var(--green-400);
    color: #fff;
    transform: translateY(-1px);
}
.founder-hero__socials-list svg { width: 14px; height: 14px; }

/* Body content (story) */
.founder-body h2 {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-extra);
    color: var(--text-on-light-strong);
    letter-spacing: var(--ls-tighter);
    margin: var(--sp-7) 0 var(--sp-3);
    line-height: 1.2;
}
.founder-body h2:first-child { margin-top: 0; }
.founder-body p {
    font-size: var(--fs-md);
    color: var(--text-on-light);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-4);
}

/* ----- Plugin portfolio cards ----- */
.founder-portfolio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}
.founder-portfolio__card {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: var(--sp-6);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    text-decoration: none;
    color: inherit;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    position: relative;
}
.founder-portfolio__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
    border-color: var(--green-300);
}
.founder-portfolio__card--current {
    background: linear-gradient(180deg, var(--green-50) 0%, var(--bg-light) 100%);
    border-color: var(--green-300);
    box-shadow: 0 0 0 1px rgba(48,178,48,0.10), 0 8px 24px rgba(15,30,15,0.05);
}
.founder-portfolio__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
}
.founder-portfolio__icon {
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    background: var(--green-50);
    border: 1px solid var(--green-200);
    color: var(--green-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.founder-portfolio__icon svg { width: 26px; height: 26px; }
.founder-portfolio__current {
    font-size: 10px;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    color: var(--green-700);
    background: var(--green-100);
    border: 1px solid var(--green-200);
    border-radius: var(--r-pill);
    padding: 4px 10px;
}
.founder-portfolio__name {
    font-size: var(--fs-lg);
    font-weight: var(--fw-extra);
    color: var(--text-on-light-strong);
    margin: 0;
    letter-spacing: var(--ls-tight);
}
.founder-portfolio__installs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--green-700);
    background: var(--green-50);
    border: 1px solid var(--green-200);
    border-radius: var(--r-pill);
    padding: 4px 10px;
}
.founder-portfolio__installs svg { width: 8px; height: 8px; color: var(--green-500); }
.founder-portfolio__desc {
    font-size: var(--fs-sm);
    color: var(--text-on-light);
    line-height: var(--lh-relaxed);
    margin: 0;
    flex: 1;
}
.founder-portfolio__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--green-700);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    margin-top: var(--sp-2);
}
.founder-portfolio__link svg {
    width: 12px; height: 12px;
    transition: transform var(--t-fast);
}
.founder-portfolio__card:hover .founder-portfolio__link svg {
    transform: translate(2px, -2px);
}

/* ----- Blog post cards (Satinder only) ----- */
.founder-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
    margin-bottom: var(--sp-6);
}
.founder-blog__card {
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.founder-blog__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
    border-color: var(--green-300);
}
.founder-blog__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-light-subtle);
}
.founder-blog__image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.founder-blog__body {
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    flex: 1;
}
.founder-blog__cat {
    align-self: flex-start;
    font-size: 10px;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    color: var(--green-700);
    background: var(--green-50);
    border: 1px solid var(--green-200);
    border-radius: var(--r-pill);
    padding: 3px 8px;
}
.founder-blog__title {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--text-on-light-strong);
    line-height: 1.3;
    margin: 0;
}
.founder-blog__excerpt {
    font-size: var(--fs-sm);
    color: var(--text-on-light);
    line-height: var(--lh-snug);
    margin: 0;
    flex: 1;
}
.founder-blog__date {
    font-size: var(--fs-xs);
    color: var(--text-on-light-muted);
    margin-top: var(--sp-2);
}
.founder-blog__cta {
    text-align: center;
    margin-top: var(--sp-3);
}

/* Other founder cross-link */
.other-founder {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    padding: var(--sp-6) var(--sp-7);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    text-decoration: none;
    color: inherit;
    transition: all var(--t-fast);
}
.other-founder:hover {
    border-color: var(--green-500);
    transform: translateY(-3px);
    box-shadow: var(--sh-lg);
}
.other-founder__photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.other-founder__label {
    font-size: 11px;
    font-weight: var(--fw-bold);
    color: var(--text-on-light-muted);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-bottom: 4px;
}
.other-founder__name {
    font-size: var(--fs-lg);
    font-weight: var(--fw-extra);
    color: var(--text-on-light-strong);
    margin-bottom: 2px;
}
.other-founder__role {
    font-size: var(--fs-sm);
    color: var(--text-on-light-muted);
}
.other-founder__arrow {
    margin-left: auto;
    color: var(--green-700);
    transition: transform var(--t-fast);
}
.other-founder:hover .other-founder__arrow { transform: translateX(4px); }


/* ===========================================
   RESPONSIVE — founder pages
   =========================================== */
@media (max-width: 1024px) {
    .founder-hero { grid-template-columns: 1fr; gap: var(--sp-6); }
    .founder-hero__visual { max-width: 240px; }
    .founder-portfolio { grid-template-columns: repeat(2, 1fr); }
    .founder-blog { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .share-ai { flex-direction: column; align-items: stretch; gap: var(--sp-4); padding: var(--sp-4); }
    .share-ai__group { justify-content: flex-start; }
    .share-ai__group--ai { margin-left: 0; }
    .other-founder { flex-direction: column; text-align: center; }
    .other-founder__arrow { margin: 0; }
    .founder-portfolio { grid-template-columns: 1fr; }
    .founder-blog { grid-template-columns: 1fr; }
}
