/*
About page (layouts/about/list.html), styled after https://www.estatcamp.com/:
black sections, large titles mixing light and bold weights, red accent marks.
Builds on the components in static/css/home.css.
*/

.pa-about .td-main {
    background: #000;
}

/* Typography */

.pa-eyebrow {
    margin-bottom: .5rem;
    color: var(--pa-red);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.pa-display {
    margin: 0;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.pa-display b {
    font-weight: 700;
}

.pa-display--dark {
    color: #111;
}

.pa-display-sub {
    margin: .5rem 0 0;
    color: rgba(255, 255, 255, .85);
    font-size: 1.4rem;
    font-weight: 300;
}

.pa-display-sub--muted {
    color: #8a8a8a;
    font-weight: 700;
}

.pa-title {
    margin-bottom: 2.5rem;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.pa-title small {
    display: block;
    margin-top: .35rem;
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: none;
}

.pa-title small b {
    font-weight: 700;
}

.pa-title--dark {
    color: #111;
}

/* Red mark before a title, as on estatcamp.com */
.pa-mark {
    position: relative;
    padding-left: 1.6rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.pa-mark::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 1rem;
    height: .45rem;
    background: var(--pa-red);
}

.pa-mark b {
    font-weight: 700;
}

.pa-mark--lg {
    font-size: 1.75rem;
    font-weight: 300;
}

@media (min-width: 992px) {
    .pa-display {
        font-size: 4.5rem;
    }

    .pa-title {
        font-size: 3.4rem;
    }

    .pa-title small {
        font-size: 1.9rem;
    }
}

/* Hero */

.pa-about-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 70vh;
    padding: 8rem 0 4rem;
    background-color: #000;
    background-size: cover;
    background-position: center;
}

.pa-about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .85) 100%);
}

.pa-about-hero > .container {
    position: relative;
}

/* Light sections (intro, EstatCamp) */

.pa-about-intro {
    padding: 5rem 0 0;
    background: #e3e3e3;
    color: #333;
}

.pa-about-intro__text {
    margin-top: 2.5rem;
    font-size: 1.05rem;
}

.pa-about-photo {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin: 2rem 0 -8rem;
    border-bottom: 6px solid var(--pa-red);
}

.pa-about-maintainer {
    padding-bottom: 5rem;
}

/* Dark sections */

.pa-about-dark {
    padding: 5rem 0;
    background: #000;
    color: rgba(255, 255, 255, .75);
}

.pa-about-dark__text {
    color: rgba(255, 255, 255, .7);
}

.pa-about-stats {
    padding-top: 11rem;
}

.pa-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
}

.pa-stat {
    padding-top: 1rem;
    border-top: 2px solid var(--pa-red);
}

.pa-stat dt {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.1;
}

.pa-stat dd {
    margin: .25rem 0 0;
    color: rgba(255, 255, 255, .6);
}

.pa-company {
    height: 100%;
    padding: 2rem 1.5rem;
    background: #111;
    border-bottom: 4px solid var(--pa-red);
}

.pa-company__tagline {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pa-company__link {
    color: var(--pa-red);
    font-weight: 600;
}

.pa-company__link:hover {
    color: #fff;
}

.pa-about-services {
    padding-top: 1rem;
}

.pa-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3 16rem;
    column-gap: 2rem;
}

.pa-checklist li {
    position: relative;
    break-inside: avoid;
    margin-bottom: .75rem;
    padding-left: 1.25rem;
    color: rgba(255, 255, 255, .85);
}

.pa-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: .5rem;
    height: .5rem;
    background: var(--pa-red);
}

.pa-about-clients {
    padding-top: 1rem;
}

.pa-about-clients .pa-logos {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}

.pa-about-clients .pa-logos li {
    aspect-ratio: 1;
    border: 0;
    border-radius: 0;
    background: #8f8f8f;
}

.pa-about-clients .pa-logos img {
    filter: grayscale(1) brightness(.35);
    opacity: 1;
}

.pa-about-clients .pa-logos li:hover {
    background: #fff;
}

.pa-about-clients .pa-logos li:hover img {
    filter: none;
}

/* Contact */

.pa-about-contact {
    padding: 5rem 0;
    background: #fff;
    color: #333;
}

.pa-about-contact .pa-title small {
    color: #555;
}

.pa-about-contact__company {
    font-weight: 700;
}

.pa-about-contact .pa-info__list a {
    color: #333;
    text-decoration: underline;
}

.pa-btn--dark {
    background: #111;
    color: #fff;
}

.pa-btn--dark:hover,
.pa-btn--dark:focus {
    background: #075e54;
    color: #fff;
}

/* Responsive */

@media (max-width: 991.98px) {
    .pa-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa-about-clients .pa-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .pa-about-photo {
        margin-bottom: -4rem;
    }

    .pa-about-stats {
        padding-top: 7rem;
    }

    .pa-stat dt {
        font-size: 2rem;
    }
}

/* Docsy footer, matched to the black sections */

.pa-about footer.bg-dark {
    flex-shrink: 0;
    background: #000 !important;
    border-top: 1px solid #222;
}
