/* ═══════════════════════════════════════════════════════════
   Raghu Achar founder chip — appears in every page's top-right
   Injected by /founder.js
   ═══════════════════════════════════════════════════════════ */

.ra-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 16px 4px 4px;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9ee 100%);
    border: 1px solid #fde68a;
    border-radius: 40px;
    text-decoration: none;
    color: #b45309;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.ra-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245,158,11,0.2);
    border-color: #f59e0b;
}

.ra-chip img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: block;
}

.ra-chip-txt {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ra-chip-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #b45309;
    letter-spacing: 0.2px;
    line-height: 1;
}

.ra-chip-role {
    font-family: 'Noto Sans Kannada', 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    color: #d97706;
    opacity: 0.85;
    line-height: 1;
    letter-spacing: 0.2px;
}

/* Marketing/landing hero variant — bigger presence */
.ra-hero {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 20px 6px 6px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 50px;
    color: #fcd34d;
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.ra-hero:hover {
    background: rgba(245,158,11,0.12);
    transform: translateY(-1px);
}
.ra-hero img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    border: 2px solid rgba(245,158,11,0.4);
    display: block;
}
.ra-hero .ra-chip-name { color: #fff; font-size: 0.88rem; }
.ra-hero .ra-chip-role { color: #fcd34d; opacity: 0.9; font-size: 0.68rem; }

/* Fallback fixed position when no header anchor is found */
.ra-fixed {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 200;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ═══════════════════════════════════════════════════════════
   Footer variant — bigger "meet the founder" card that
   anchors the bottom of every page.
   ═══════════════════════════════════════════════════════════ */
.ra-footer-wrap {
    margin: 32px auto 0;
    padding: 24px 24px 0;
    max-width: 1200px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.ra-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9ee 100%);
    border: 1px solid #fde68a;
    border-radius: 20px;
    text-decoration: none;
    color: #78350f;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    max-width: 720px;
    margin: 0 auto;
}
.ra-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245,158,11,0.18);
    border-color: #f59e0b;
}
.ra-footer img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 25%;
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: block;
}
.ra-footer-body { flex: 1; min-width: 0; }
.ra-footer-eyebrow {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 4px;
}
.ra-footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: #78350f;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}
.ra-footer-kn {
    font-family: 'Noto Sans Kannada', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 6px;
}
.ra-footer-role {
    font-size: 0.82rem;
    color: #78350f;
    opacity: 0.85;
    line-height: 1.5;
}
.ra-footer-role strong { font-weight: 700; }

/* Dark-footer variant — for pages with a dark <footer> like the landing page */
.ra-footer-dark {
    background: rgba(255,255,255,0.04);
    border-color: rgba(245,158,11,0.25);
    color: rgba(255,255,255,0.85);
}
.ra-footer-dark:hover {
    background: rgba(245,158,11,0.08);
    border-color: rgba(245,158,11,0.5);
}
.ra-footer-dark img { border-color: rgba(245,158,11,0.4); }
.ra-footer-dark .ra-footer-eyebrow { color: #fcd34d; }
.ra-footer-dark .ra-footer-name { color: #fff; }
.ra-footer-dark .ra-footer-kn { color: #fcd34d; }
.ra-footer-dark .ra-footer-role { color: rgba(255,255,255,0.6); }
.ra-footer-dark.ra-footer-wrap { border-top-color: rgba(255,255,255,0.06); }

/* Mobile — hide the text, show just the avatar */
@media (max-width: 700px) {
    .ra-chip { padding: 3px; border-radius: 50%; }
    .ra-chip img { width: 36px; height: 36px; }
    .ra-chip-txt { display: none; }
    .ra-hero { top: 16px; right: 16px; padding: 3px; }
    .ra-hero .ra-chip-txt { display: none; }
    .ra-hero img { width: 40px; height: 40px; }
    .ra-footer { padding: 18px 20px; gap: 14px; text-align: left; }
    .ra-footer img { width: 60px; height: 60px; }
    .ra-footer-name { font-size: 1.1rem; }
    .ra-footer-kn { font-size: 0.82rem; }
    .ra-footer-role { font-size: 0.75rem; }
    .ra-footer-wrap { padding: 20px 12px 0; margin-top: 20px; }
}
