/* About page, part 5: the founder's note (about.html). The pull quote on the left, the
   letter and signature on the right. */
.ab-founder {
    padding: 5rem 0 5.5rem;
    background: #FFFFFF;
}

@media (min-width: 900px) {
    .ab-founder {
        padding: 8rem 0;
    }
}

.ab-founder__inner {
    display: grid;
    gap: 2.5rem;
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .ab-founder__inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 900px) {
    .ab-founder__inner {
        grid-template-columns: 1fr 1.1fr;
        gap: 5rem;
        align-items: start;
    }

    /* The quote stays beside the letter as it is read. */
    .ab-founder__aside {
        position: sticky;
        top: 7rem;
    }
}

.ab-founder__quote {
    position: relative;
    margin: 0;
    padding-top: 3.25rem;
}

/* A large mint opening quote mark above the quote. */
.ab-founder__quote::before {
    content: "\201C";
    position: absolute;
    top: -0.75rem;
    left: -0.2rem;
    color: var(--kd-mint);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 6rem;
    line-height: 1;
}

.ab-founder__quote p {
    margin: 0;
    color: var(--ab-ink);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.025em;
}

.ab-founder__letter p {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    line-height: 1.75;
}

.ab-founder__sign {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--kd-line);
}

/* The founder's photo, round, beside the name. */
.ab-founder__mark {
    display: block;
    flex: none;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--kd-brand);
    object-fit: cover;
}

.ab-founder__name {
    position: relative;
    display: inline-block;
    color: var(--ab-ink);
    font-size: 1.15rem;
    font-weight: 700;
}

/* A mint line under the name, drawn in as the letter arrives. */
.ab-founder__name::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--kd-mint);
    transform-origin: left;
}

.ab-founder__role {
    display: block;
    margin-top: 0.35rem;
    color: var(--kd-muted);
    font-size: 0.95rem;
}

.about.is-js .ab-founder__letter[data-reveal] {
    transition-delay: 0.15s;
}

.about.is-js .ab-founder__name::after {
    transform: scaleX(0);
    transition: transform 0.8s var(--ab-ease) 0.9s;
}

.about.is-js .ab-founder__letter.is-in .ab-founder__name::after {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .about.is-js .ab-founder__name::after {
        transform: none;
        transition: none;
    }
}
