/* ==========================================================================
   Human Page — Warmer editorial style
   ========================================================================== */

/* --- Page base --- */
.human-page {
    background: #fdfbf9;
}

/* --- Navigation --- */
.page-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 2rem;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.human-page .page-nav {
    background: rgba(253, 251, 249, 0.92);
}

.page-nav__link {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    transition: all 0.2s ease;
}

.page-nav__link:hover {
    color: var(--color-text);
    background: rgba(0, 0, 0, 0.04);
}

.page-nav__link--active {
    color: var(--color-text);
    background: rgba(0, 0, 0, 0.06);
}

/* --- Hero --- */
.human-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(160deg, #fdfbf9 0%, #f7f0e8 50%, #fdf5ef 100%);
}

.human-hero__name {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--color-text);
    animation: fadeInUp 1s var(--ease-gapminder) forwards;
}

.human-hero__tagline {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--color-text-muted);
    margin-top: 1rem;
    font-style: italic;
    animation: fadeInUp 1s var(--ease-gapminder) 0.3s both;
}

/* --- Sections --- */
.human-section {
    padding: 5rem 2rem;
}

.human-section--alt {
    background: #f9f6f2;
}

.human-section__content {
    max-width: 800px;
    margin: 0 auto;
}

.human-section__title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

/* --- Cards --- */
.human-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    line-height: 1.8;
}

.human-card p + p {
    margin-top: 1rem;
}

.human-card--highlight {
    background: linear-gradient(135deg, #fff8f0, #fff5f5);
    border-left: 4px solid #e8a87c;
}

.human-card--quote {
    text-align: center;
    padding: 3rem 2rem;
}

.human-card--quote blockquote {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.human-card__aside {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.human-card__emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

/* --- Card grids --- */
.human-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.human-card-grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.human-card--person,
.human-card--hobby,
.human-card--project,
.human-card--influence {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.human-card--person:hover,
.human-card--hobby:hover,
.human-card--project:hover,
.human-card--influence:hover {
    transform: translateY(-3px);
}

.human-card--person h3,
.human-card--hobby h3,
.human-card--project h3,
.human-card--influence h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.human-card--person p,
.human-card--hobby p,
.human-card--project p,
.human-card--influence p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- Footer --- */
.human-footer {
    padding: 3rem 2rem;
    background: var(--color-text);
    color: white;
    text-align: center;
}

.human-footer__content {
    max-width: 800px;
    margin: 0 auto;
}

.human-footer__content p {
    margin-bottom: 0.5rem;
}

.human-footer__credit {
    font-size: 0.85rem;
    opacity: 0.7;
}

.human-footer__credit a {
    color: #e8a87c;
    text-decoration: none;
}

.human-footer__credit a:hover {
    text-decoration: underline;
}

/* --- Scroll animations --- */
.human-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.human-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .human-section {
        padding: 3rem 1.5rem;
    }

    .human-section__title {
        font-size: 1.5rem;
    }

    .human-card-grid {
        grid-template-columns: 1fr;
    }

    .page-nav {
        gap: 1rem;
        padding: 0.75rem 1rem;
    }

    .page-nav__link {
        font-size: 0.8rem;
    }
}
