/* ============================================
   CONTAGIOUS JOY — ABOUT US STYLES
   ============================================ */

/* ============================================
   MISSION & VISION
   ============================================ */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 56px;
}

.mission-vision .mv-block {
    padding: 32px;
    border-radius: 12px;
    background: var(--bg);
}

.mission-vision .mv-block--mission {
    border-left: 4px solid var(--primary);
}

.mission-vision .mv-block--vision {
    border-left: 4px solid var(--secondary);
}

.mission-vision .mv-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.mission-vision .mv-block--mission h3 {
    color: var(--primary);
}

.mission-vision .mv-block--vision h3 {
    color: var(--secondary);
}

.mission-vision .mv-block p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================
   FOUNDER'S LETTER
   ============================================ */
.founder-letter {
    background: var(--bg);
    border-radius: 16px;
    padding: 40px 44px;
    margin-bottom: 56px;
    box-shadow: inset 0 2px 8px rgba(44, 35, 33, 0.04);
}

.founder-letter h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 24px;
    text-align: center;
}

.founder-letter p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 16px;
}

.founder-letter p:last-child {
    margin-bottom: 0;
}

.founder-letter .founder-sign-off {
    margin-top: 24px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--primary);
}

/* ============================================
   HISTORY TIMELINE
   ============================================ */
.timeline-section {
    margin-bottom: 56px;
}

.timeline-section h2 {
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 32px;
}

.timeline-wrapper {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

/* Fade masks on edges */
.timeline-wrapper::before,
.timeline-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}

.timeline-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--surface), transparent);
}

.timeline-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--surface), transparent);
}

.timeline {
    display: flex;
    align-items: flex-start;
    position: relative;
    min-width: max-content;
    padding: 0 48px;
}

/* Connecting line */
.timeline::before {
    content: '';
    position: absolute;
    top: 68px;
    left: 48px;
    right: 48px;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    padding: 0 8px;
    position: relative;
}

.timeline-year {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 12px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 2px var(--border);
    margin-bottom: 14px;
    z-index: 1;
    flex-shrink: 0;
}

.timeline-dot--primary { background: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.timeline-dot--secondary { background: var(--secondary); box-shadow: 0 0 0 2px var(--secondary); }
.timeline-dot--accent { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }

.timeline-desc {
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
    max-width: 130px;
    line-height: 1.4;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    margin-bottom: 56px;
}

.testimonials h2 {
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 32px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 32px 28px 28px;
    position: relative;
}

.testimonial-card .quote-mark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.25;
    position: absolute;
    top: 16px;
    left: 24px;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
    padding-top: 16px;
    font-style: italic;
}

.testimonial-card .attribution {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
}

.testimonial-card .attribution span {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ============================================
   ABOUT PAGE RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .founder-letter {
        padding: 32px 28px;
    }
}

@media (max-width: 768px) {
    .founder-letter {
        padding: 28px 20px;
    }

    .founder-letter h2 {
        font-size: 1.6rem;
    }
}
