body {
    background-color: #cfbfbf;
}


/* ---- Bio Page Hero ---- */
#bio-hero {
    position: sticky;
    top: 0;
    width: 100vw;
    overflow: hidden;
    line-height: 0;
    z-index: 0;
}

#bio-hero-img {
    width: 100%;
    display: block;
    object-fit: cover;
    animation: bio-img-focus 1.4s ease-out both;
}

#bio-hero-text {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 38%;
    line-height: normal;
}

#bio-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 7vw, 7rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
    margin: 0 0 2rem 0;
    color: #1a2744;
    text-shadow: 0 2px 24px rgba(255, 255, 255, 0.4);
}

.bio-name-line {
    display: block;
    animation: bio-hero-fade-up 0.55s ease-out both;
}

.bio-name-line:nth-child(1) { animation-delay: 0.35s; }
.bio-name-line:nth-child(2) { animation-delay: 0.75s; }
.bio-name-line:nth-child(3) { animation-delay: 1.15s; }

#bio-blurb {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.04em;
    color: #1a2744;
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.35);
    margin: 0;
    animation: bio-hero-fade-up 0.65s ease-out both;
    animation-delay: 1.65s;
}

/* ---- Bio Content Section ---- */
#bio-content {
    position: relative;
    z-index: 1;
    background-color: #cfbfbf;
    padding: 6rem 0 8rem;
    display: flex;
    justify-content: center;
}

#bio-text-wrapper {
    width: 65%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.25rem;
}

#bio-text-wrapper .bio-paragraph {
    align-self: stretch;
}

#bio-text-wrapper #bio-button {
    display: inline-block;
    text-decoration: none;
    align-self: center;
    margin-top: 1rem;
}

.bio-paragraph {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.04em;
    color: #654242;
    margin: 0;
    text-indent: 2em;
}

.bio-paragraph em {
    font-style: italic;
}

/* Falstaff photo with caption */
#bio-falstaff-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
    margin: 1rem 0;
}

#bio-falstaff-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

#bio-falstaff-caption {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
    margin: 0;
    line-height: 1.6;
    text-align: right;
}

/* ---- Bio Hero Load Animations ---- */
@keyframes bio-img-focus {
    from {
        filter: blur(20px);
        opacity: 0.5;
    }
    to {
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes bio-hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Mobile Hero ---- */
@media (max-width: 767px) {
    #bio-hero {
        height: 100vh;
        background-image: url('assets/headshots/_MG_5031-edited.png');
        background-size: cover;
        background-position: center top;
        display: flex;
        align-items: flex-end;
        z-index: 0;
    }

    #bio-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.35) 50%,
            rgba(0, 0, 0, 0.72) 100%
        );
        z-index: 1;
    }

    #bio-hero-img {
        display: none;
    }

    #bio-hero-text {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        z-index: 2;
        padding: 0 1.75rem 3.5rem;
        box-sizing: border-box;
    }

    #bio-name {
        color: #fff;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
        font-size: clamp(3rem, 14vw, 5rem);
        margin: 0 0 1.25rem 0;
    }

    .bio-name-line {
        color: #a8c8e8;
    }

    #bio-blurb {
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
        font-size: clamp(0.88rem, 3.6vw, 1rem);
        line-height: 1.75;
    }

    #bio-blurb b {
        color: #a8c8e8;
    }

    #bio-content {
        padding: 3rem 0 5rem;
    }

    #bio-text-wrapper {
        width: 88%;
        gap: 1.5rem;
    }

    #bio-falstaff-img {
        width: 100%;
    }
}
