.supporters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
    justify-items: center;
}

.supporter-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    width: 100%;
    max-width: 720px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    /* Fixed card height for consistent layout (desktop). Expanded cards remove this.) */
    min-height: 200px;
    height: 200px;
    box-sizing: border-box;
}

.supporter-img img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.supporter-img .placeholder {
    width: 96px;
    height: 96px;
    background: #f3f3f3;
    border-radius: 6px;
}

.supporter-body {
    flex: 1;
    min-width: 0;
}

.supporter-name {
    font-weight: 600;
    margin-bottom: 6px;
}

.supporter-quote {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 8px;
    /* clamp long quotes to 3 lines, show ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.supporter-card.expanded .supporter-quote {
    /* expanded state shows the full quote */
    -webkit-line-clamp: unset;
    display: block;
    max-height: none;
}

.supporter-card.expanded {
    /* when expanded, allow the card to grow to fit content */
    height: auto;
    min-height: 0;
}

.supporter-link {
    color: #5c2983;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.supporter-link:hover {
    text-decoration: underline;
}

.supporter-actions {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #666;
}

.supporter-actions a+a::before {
    content: '  ';
    color: #999;
    padding: 0 6px;
}

.supporter-logo {
    width: 68px;
    height: 56px;
    object-fit: contain;
    display: inline-block;
    margin-left: 8px;
}

.quote-toggle {
    background: none;
    border: none;
    color: #5c2983;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.95rem;
    text-decoration: none;
    margin-left: 6px;
}

.quote-toggle:hover,
.supporter-link:hover {
    text-decoration: underline;
}


@media (max-width: 740px) {
    .supporters-grid {
        grid-template-columns: 1fr;
    }

    .supporter-card {
        max-width: 100%;
        height: auto;
        min-height: 0;
    }
}

/* Modal for full quote */
.supporter-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.supporter-modal {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 720px;
    width: 92%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.supporter-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.supporter-modal .modal-title {
    font-weight: 700;
}

.supporter-modal .modal-body {
    color: #333;
    font-size: 1rem;
    margin-bottom: 12px;
}

.supporter-modal .modal-close {
    background: none;
    border: 0;
    font-size: 18px;
    cursor: pointer
}

.modal-person {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
}

.modal-role {
    font-size: 0.95rem;
    font-weight: 400;
    color: #666;
}
.contributors-intro-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;                        
}

.contributors-intro-text {
    flex: 1;                           
    max-width: 700px;                  
}

.contributors-beaver {
    flex-shrink: 0;                   
    width: 150px;                    
    max-width: 260px;
}
/* --- Supporters CTA Section (Collabora Gradient Version) --- */

.supporters-cta {
    margin-top: 50px;
    padding: 40px 26px;
    text-align: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    color: #fff;

    /* Collabora-style gradient */
    background: linear-gradient(135deg, #5c2983 0%, #7040a2 35%, #8a4fc8 100%);
}

/* Soft circular decorative shapes */
.supporters-cta::before,
.supporters-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255,255,255,0.08);
}

.supporters-cta::before {
    width: 280px;
    height: 280px;
    top: -60px;
    left: -40px;
}

.supporters-cta::after {
    width: 220px;
    height: 220px;
    bottom: -50px;
    right: -30px;
    background: rgba(255,255,255,0.05);
}

/* Ensure content sits above decorative circles */
.supporters-cta > * {
    position: relative;
    z-index: 1;
}

.supporters-cta h3 {
    margin-bottom: 10px;
    font-size: 1.45rem;
    color: #fff;
}

.supporters-cta-desc {
    margin-bottom: 22px;
    font-size: 1.05rem;
    color: #f2eaff;
    line-height: 1.5;
}

/* Primary action button */
.supporters-cta-button {
    display: inline-block;
    padding: 12px 26px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;

    color: #5c2983;
    background: #fff;
    text-decoration: none;

    transition: transform 0.12s ease, background 0.12s ease;
}

.supporters-cta-button:hover,
.supporters-cta-button:focus {
    background: #f8f0ff;
    color: #4c1f6b;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 740px) {
    .supporters-cta {
        padding: 32px 20px;
    }

    .supporters-cta-button {
        width: 100%;
        padding: 14px;
    }

    .supporters-cta h3 {
        font-size: 1.35rem;
    }
}





