/* about-founder.css: styles for the about-founder page only. Moved out of the page
   so no page carries its own <style> block. */
/* Whisper and Cormorant Garamond come from css/fonts-founder.css (self-hosted). */

/* ============================================
   FOUNDER PAGE - A4 Paper Style
   ============================================ */

.founder-page {
    background: var(--paper-bg);
    min-height: 100vh;
    padding: var(--space-30) var(--space-5) var(--space-25);
    overflow-x: hidden; /* the tilted paper is a few px wider than a phone */
}

/* ========== PAPER CONTAINER ========== */
.founder-paper {
    max-width: 880px;
    margin: 0 auto;
    background: var(--white);
    padding: 70px 65px var(--space-20);
    box-shadow:
        0 1px 3px rgba(var(--black-rgb), 0.04),
        0 4px 12px rgba(var(--black-rgb), 0.06),
        0 0 0 1px rgba(var(--black-rgb), 0.02);
    border-radius: 3px;
    position: relative;
    transform: rotate(-0.8deg);
}

/* Subtle paper stack effect */
.founder-paper::before,
.founder-paper::after {
    content: '';
    position: absolute;
    background: var(--white);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(var(--black-rgb), 0.04);
}
.founder-paper::before {
    width: 99%;
    height: 100%;
    top: 5px;
    left: 0.5%;
    z-index: var(--z-below);
    transform: rotate(1.2deg);
}
.founder-paper::after {
    width: 98%;
    height: 100%;
    top: 10px;
    left: 1%;
    z-index: -2;
    transform: rotate(-0.8deg);
}

/* ========== CONTENT ========== */
.founder-content {
    font-size: 1.05rem;
    color: var(--paper-muted);
    line-height: 1.85;
}
.founder-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--paper-text);
    margin: var(--space-9) 0 var(--space-4);
}
.founder-content h2:first-child {
    margin-top: 0;
}
.founder-content p {
    margin-bottom: 18px;
    text-align: justify;
    hyphens: auto;
}
.founder-content p:last-child {
    margin-bottom: 0;
}
.founder-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.founder-content a:hover {
    border-bottom-color: var(--primary);
}
.founder-content .highlight {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--paper-text);
    margin: 30px 0;
    text-align: center;
}

/* ========== SIGNATURE ========== */
.founder-sign {
    margin-top: 50px;
    padding-top: var(--space-10);
    display: flex;
    align-items: center;
    gap: var(--space-6);
}
.founder-sign-avatar {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-round);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(var(--black-rgb), 0.08);
}
.founder-sign-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.founder-sign-details {
    flex: 1;
}
.founder-sign-name {
    font-family: 'Whisper', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--paper-text);
    margin-bottom: 6px;
    line-height: 1;
}
.founder-sign-role {
    font-size: 0.95rem;
    color: var(--paper-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 720px) {
    .founder-page {
        padding: var(--space-10) var(--space-4) var(--space-15);
    }
    .founder-paper {
        padding: var(--space-10) var(--space-7) 50px;
    }
    .founder-paper::before,
    .founder-paper::after {
        display: none;
    }
    .founder-content {
        font-size: 1rem;
    }
    .founder-content h2 {
        font-size: 1.2rem;
    }
    .founder-sign-avatar {
        width: 100px;
        height: 100px;
    }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    .founder-paper {
        transform: none;
    }
    .founder-paper::before {
        transform: none;
    }
    .founder-paper::after {
        transform: none;
    }
}
