body {
    font-family: "new-kansas", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #eae7de;
    color: #186231;
    line-height: 1.6;
}

.pink {
    color: #dd4e8e;
}

p,
.bio-item {
    filter: url(#distort-p);
}

h1,
.pull-quote,
.multi-quote-text {
    filter: url(#distort-quote);
}

h1 {
    font-size: 60px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 6rem auto 2rem;
    text-align: center;
    max-width: 800px;
}

p {
    margin-bottom: 1.5rem;
    font-size: 22px;
    line-height: 1.75;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.pull-quote {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.4;
    margin: 4rem 0;
    padding: 1rem 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #dd4e8e;
}

blockquote {
    max-width: 720px;
    margin: 3rem auto;
    padding: 2rem 3rem;
    border-radius: 18px;
    border: #dd4e8e solid 3px;
    color: #dd4e8e;
    filter: url(#distort-p);
}

blockquote p {
    font-size: 28px;
    font-style: italic;
    margin-bottom: 1rem;
    max-width: 720px;
    filter: url(#distort-p);
}

blockquote cite {
    display: block;
    font-size: 20px;
    font-style: normal;
    max-width: 720px;
    text-align: right;
    filter: url(#distort-p);
}

.bios {
    margin-top: 5rem;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    justify-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.bio-item {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    max-width: 280px;
    text-align: left;
}

.bio-item a {
    color: #186231;
    text-decoration: underline;
}

.bio-item a:hover {
    text-decoration: none;
}

/* Lazy Load Fade Up */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Multi-Quote Section */
.multi-quote-section {
    height: 400vh;
    /* 4 items * 100vh approx */
    position: relative;
    margin: 4rem 0;
}

.multi-quote-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.multi-quote-text {
    font-size: 40px;
    /* Matches pull-quote */
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.multi-quote-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Multi-Quote with Background Image */
.multi-quote-with-bg .multi-quote-sticky {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: sticky;
    top: 0;
}

.multi-quote-with-bg .multi-quote-sticky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/gardening06-big.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-out;
    z-index: -1;
}

.multi-quote-with-bg.bg-visible .multi-quote-sticky::before {
    opacity: 1;
}

.multi-quote-with-bg .multi-quote-text {
    color: #dd4e8e;
    background-color: #eae7de;
    border-radius: 10px;
    padding: 12px 28px;
    margin: 20px;
    width: auto;
}

.images {
    width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {

    p,
    .bio-item {
        filter: url(#distort-p-mobile);
    }

    h1,
    .pull-quote,
    .multi-quote-text {
        filter: url(#distort-quote-mobile);
    }

    h1 {
        font-size: 36px;
        margin: 3rem auto 2rem;
    }

    p {
        font-size: 18px;
        padding: 0 1rem;
    }

    .pull-quote,
    .multi-quote-text {
        font-size: 28px;
        padding: 0 1rem;
    }

    .bios {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bio-item {
        margin-bottom: 1rem;
        font-size: 1rem;
        max-width: none;
        padding: 0 1rem;
    }

    blockquote {
        margin: 2rem 1rem;
        padding: 1rem 1rem;
    }

    blockquote p {
        font-size: 18px;
        filter: url(#distort-p-mobile);
    }

    blockquote cite {
        font-size: 14px;
        filter: url(#distort-p-mobile);
    }
}

